Quantcast
Channel: Forums - ArcGIS for Server - General
Viewing all 1579 articles
Browse latest View live

ArcMap and Server Different Results - Network Analyst REST API

$
0
0
Hey all,

I'm having a bit of trouble with having ArcMap and my ArcGIS Server returning different results for routing. It's almost as if the hierarchy flag isn't being understood. I am using Fiddler to ensure that all my data matches up with the ArcMap request but I cannot figure out the problem. The only way I can get the data to match is by turning the hierarchy flag off in both ArcGIS Server and ArcMap. When I turn the flag on in both, ArcMap gives me 605KM and ArcGIS Server gives me 1178KM.

Could it also be a u-turn allowance issue? Here is a matrix below:

HTML Code:

<table border="1">
<tr>
<th>Hierarchy</th>
<th>U-Turn Restriction</th>
<th>ArcMap Result</th>
<th>ArcGIS Server Result</th>
</tr>
<tr>
  <td>True</td>
  <td>Allowed (esriNFSBAllowBacktrack)</td>
  <td>605.1km</td>
  <td>1187.2km</td>
</tr>
<tr>
  <td>True</td>
  <td>Not Allowed (esriNFSBNoBacktrack)</td>
  <td>1214.7km</td>
  <td>1213.7km</td>
</tr>
<tr>
  <td>False</td>
  <td>Allowed (esriNFSBAllowBacktrack)</td>
  <td>598.2km</td>
  <td>598.2km</td>
</tr>
<tr>
  <td>False</td>
  <td>Not Allowed (esriNFSBNoBacktrack)</td>
  <td>1214.7km</td>
  <td>598.2km</td>
</tr>
</table>

Any explanations about that? I am at a complete loss. It should be noted that I'm using the WPF Toolkit, not the WPF Runtime... not sure if there's a difference other than the one I have doesn't cost money.

License on Geodatabase has expired - how to renew??

$
0
0
Getting this error when connecting to our Geodatabase:
"Failed to connect to database.
No ArcGIS server license found. Contact your geodatabase administrator to update license."

Image: http://ctrlv.in/166716



I can generate license files and we have a license server for concurrent licencing... not sure what I need to do to go about updating the Enterprise Geodatabase licenses... any help would be much appreciated!

SDS for IIS or Java?

$
0
0
Hello!

In our company we've an ArcGIS for Server 10.1 Installation on a Windows 7 (64bit) machine. Our Oracle database (64bit) runs on a Red Hat Linux Server (64bit).

The goal is to use SDS for editing non-SDE tables stored at the database. My question is, which SDS (IIS or Java) do I've to install?

Thanks,
Dennis

WMS service - lines trouble

SOE is "not a valid extension type for MapServer"

$
0
0
I'm able to publish another soe to the basemap_wells mapservice, but LegendCullerSOE give me problems ... here's what the log says:

Quote:

Unable to read the service '{0}' from the configuration store. {1} basemap_wells.MapServer 'LegendCullerSOE' is not a valid extension type for 'MapServer'.
http://localhost:6080/arcgis/admin/s...ells.MapServer shows that the SOE is enabled and that it supports Rest.

In my constructor LegendCullerSOE(), I log a message, but that never shows in the log file.

The soe file is present in config-store/extns/LegendCullerSOE.soe.

Any suggestions, or even wild guesses, are appreciated.

Are you running web adf applciaitons in 10.1?

$
0
0
Hi all

Are you running web ADF legacy applications in AcGIS 10.1?

Can you edit in 10.1 with web ADF?

what's the way to migrate user identity store (AGS built-in store) to new server

$
0
0
Hi,
We have 100+ users on our current AGS built-in store need to transfer to a new AGS on another server. What's the best way doing it?

My thought would be first get a list of all user names, roles, and passwords, then use Arcpy and AGS Administrator API to batch upload the info to the new server.

Unfortunately we don't have a full list of every users and passwords :( so need a way to export the current user names, roles, and passwords from AGS. The AGS Administrator API export user names and roles, but didn't mention passwords. Is that right? Or I missed some pages. Any advice wound be appreciated! Thanks.

AGS 10.1 Publishing geoprocessing service that references data on sde connection

$
0
0
I'm publishing a geoprocessing service (python script), which constains a connection to an SDE database.
I have declared (imported .sde file) in Arcgis server manager and checked "Same as publisher database connection".
I then publish the service.
Is this the correct way of publishing script + data from arcsde on 10.1 Server ?

I run into the following problem.
The script publishes fine and works on the server, accessing the arcsde data as planned.
However, when I try to publish the same script again under another name (the idea is to make changes to it), the script doesn't work. I checked the connection to the data in the python script on the server and see that it is absent (as on screen capture). On the first publishing, I had : g_ESRI_variable_1 = os.path.join(arcpy.env.packageWorkspace, u'mySdeFileName.sde')

Why is this ? What am I doing wrong ?
Attached Thumbnails
Click image for larger version

Name:	empty g_ESRI_dataVar.jpg‎
Views:	N/A
Size:	112.6 KB
ID:	22396  

Map Cache Error

$
0
0
I have a scheduled task (executing a python script) that runs at night. It updates our base map' cache. Recently, I have been getting the following error:

Code:

WAITFailed to cache extent: 782923.307292 1389101.085069 790032.248264 1396210.026042 at scale 250 ;Failed.
Field is not editable.
The index was either too large or too small.
Failed to execute (Manage Map Cache Tiles).
Failed.
Failed to execute (ManageMapServerCacheTiles).

Not real sure what would be causing this. I am using a shapefile for the cache extent. It has worked in the past, but now it kicks out an error...

Problem registering database in ArcGIS Server

$
0
0
Hello,

I am trying to register my enterprise geodatabase with the GIS server. It's working OK when I register it but it's still showing up as a warning after I analyze it again. It always shows a green check after validation but fails in analyze. Please help.

How do I restart ArcGIS Server?

$
0
0
If I have a multimachine site, what is the best way to restart arcgis server?

Is it harmful to go into the Windows Service manager and restart the ArcGIS Server service there?

Would I need to do this on all machines in the Site?

Anti-Aliasing issue

$
0
0
Hello all,

I have a problem with anti-aliasing with two services.

My first service is a esri.layers.ArcGISDynamicMapServiceLayer composed of polygons (no fill color but with an outline-width of 3).

My second service is a esri.layers.ArcGISTiledMapServiceLayer (aerial imagery).


Both services have the anti-aliasing parameters set to "best" and text anti-aliasing set to "force".

When i activated both of them (my aerial imagery is under my polygons), it seems the anti-aliasing is not working well on the polygons and the text. So there always be a small sketchy white line.

But, when I de-activate the aerial pictures, the anti-aliasing is perfect.

You can try and see it by yourself here : http://cartotest.jpcadrin.ca/Carto/

Can you help me to resolve this problem please?

Thank you very much.

3 QUESTIONS ON FLEX

$
0
0
Dear All,

I'm using ArcGIS Server 10.01 with Flex as the design for our Application.

My 3 questions :

i) "Zoom to scale" - when I type 1: 10,000 or 5,000 or whatever else, it zooms to a different scale everytime. Is there a fix for this?

ii)I would like to save permanently whatever points or markings which I'd done on the view i.e. everytime I open the application, they will always be there. Is this possible?

iii)How do I make a print layout that can be saved as pdf?

Your early assistance are very much appreciated. TQ

Secured services not visible in services directory

$
0
0
Hello,
I have created an application using the Flex application builder. I am now trying to get things set up so the application can access secured services. I have set up a User and Role using the ArcGIS Server built-in store. I then secured the two services which will be used in the application via ArcGIS Server Manager. My plan now is to implement access by including the token in the map request by setting the token property of the service in the config.xml file. However, when I login to the Services Directory page with the user I created, the secured services are not visible. Other non-secured services are visible, but not the secured ones I need to generate a token for. What could be the reason these secured services are not visible?

The function ID is out of range

$
0
0
Hello,

I'm having a problem with labeling parcels which are stored in a feature class inside a feature dataset on an 9.3 sde database, on MS SQL 2008 R2.

Whenever I zoom to the extent that the labels are set to appear, I get the following error:

Attachment 22499

The parcels themselves were created in ArcGIS Desktop 10.1, but we still have ArcSDE 9.3 installed in my organization.

The problem only occurs on that specific feature class. At first I managed to make it disappear by disabeling the maplex engine, but the problem returned after few times I opened and closed the MXD document.

Can anyone think of a solution?

Thanks,

Ariel.
Attached Thumbnails
Click image for larger version

Name:	error.jpg‎
Views:	N/A
Size:	20.6 KB
ID:	22499  

Multiple repetitive ArcSOC crashes on boot every day

$
0
0
When I start my PC every day I get an ArcSOC crash for every service I have on my server (the Visual Studio do you want to attach a debugger dialog pops up for each one). The log has nothing useful in it and just says the process for the service has crashed:

Attachment 22507

I'm running a Windows 7 x64 Professional SP1 with ArcGIS Server 10.1.

After the crashes everything then works OK, I can use the services without problems until I next boot up.
Attached Thumbnails
Click image for larger version

Name:	ArcGIS Crash.png‎
Views:	N/A
Size:	158.2 KB
ID:	22507  

ArcGIS Server Traffic

$
0
0
I am administering ArcGIS Server (AGS) and I am trying to compare my AGS traffic to other organizations.

I am running AGS on Windows 2008 R2 which is also where IIS resides, so all service and application traffic is logged on this single server. The log files for this system are found at \\"Server Name"\c$\inetpub\logs\LogFiles\W3SCV1.

We have about 7 public gis-based web applications and 15 public services originating from this server.

The log files have consistently been between 20-25,000 KB in size per day. This does not seem to be a heavy load on the server (I was expecting heavier web traffic).

Can anyone share their log file size, as well as whether they are using a multi-SOC deployment, so I can compare my environment to gauge how far from server overload I am with this single server environment?

Any feedback is greatly appreciated. Thank you.

publishing rastercache in new wms

$
0
0
hi

i wan't to publish a wms based on a mxd containing dozens of layers. as the map only makes any sense, when all layers are shown in the correct order, i need to make shure, that the requested wms-image actually contains all available layers. by simply publishing the mxd as wms, the user would be able to choose which layers he wants in his image...

by using arcgis server 10.0 you could easily add en existing arcgis tiled service to a mxd and publish that mxd as wms. esri refers to this as a "cascading" service. in arcgis 10.1, you're no longer allowed to publish a mxd containing layers based on arcgis services.

it seems to be possible to publish the rastercache of an existing mapservice. but establishing a connection the the resulting wms allways ends up in an error...

so, what am i supposed to do??

best regards

george

Attempt to read or write protected memory issue

$
0
0
Hi,

I have a geoprocessing task that uses pyodbc to query a database. The tool works fine when run on the local desktop, but when deployed on the server, it fails the second time round i.e. it works the first time, but when it is run again it crashes. Running again then works, but running again crashes etc. The server logs reveal the task ‘crashes’, whilst .dmp files reveal an attempt to read or write to protected memory.

I then included in the code explicit delete for variables and even a gc.collect() call, and the latter seems to have the effect of making the crash occur every 3rd run as opposed to every 2nd.

I have applied SP1 (ArcGIS 10.1), however, this has only had a marginal improvement in that instead of an error being thrown up each 2nd/3rd run, it now just hangs until you cancel it, re-run it and the pattern continues.

Any insights into how to work around this would be great.

Nick

Manage Map Server Tiles - Area of Interest

$
0
0
I'm trying to re-cache a small area using a polygon as an input to the Area of Interest parameter in the Manage Map Server Tiles tool...but it doesn't seem to be working correctly. Instead of just re-caching that small area, it seems to be trying to re-cache the entire cache. Is this a known issue or has anyone else ran into this? Thanks!
Viewing all 1579 articles
Browse latest View live