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

Feautre service problem

$
0
0
Hello, i have the following problem. When i publish a map service without feature service everything works fine. But when i enable the feature service i get the following error.
Code:

Unable to Start service. Error (Configuration [service name] can not be started. Server Object instance creation failed on machine [my pc] ).
I know it has someting to do with the perissinons but i don't know what.
Before i added the permissions for the ArcGISSOM and SOC user to the ArcSDE database from arccatalog it showed me that the features inside the map could not start but now i get the above error. Do i have to change something i the SQL Server(i have sql server 2012)? Both ArcGISSOM and SOC users have administrative privileges.

ArcGIS Server and geoprocessing/geocoding script

$
0
0
I'm looking for feedback on how to set up a auto generated script for AGS. My project is that I have lots of database tables that will be copied into Oracle SDE overnight. I then want to geocode these tables and make them into a secure service.

Any tips?

Thanks in advance for your input.

Unidentified Error Failed to execute (ReportCacheStatus)

$
0
0
ArcGIS Server, on Windows Server 2003 SP3 x64, I've published a service from Arcmap. The data appears to have uploaded to the server okay, but pointing a browser at the map service shows a blank page (excepting the "ArcGIS JavaScript API" header and the zoom control).

When using ArcGIS Server Manager to look at the Cache Status I'm told "Error executing tool.: ERROR 999999: Error executing function. Unidentified Error Failed to execute (ReportCacheStatus)."

Under Manage Services >> {selection} >> Edit >> Caching the following are enabled:

Use tiles from cache (e:\arcgissserver\directories\arcgiscache)
- Dynamically from the data tried also, same error)

Create tiles on demand (have tried disabled as well)
Allow clients to cache locally
.


How do I troubleshoot this?



Here's the most recent log, set to Fine:
Level Time Message Source
INFO Jan 30, 2013 1:03:59 PM Instance of service 'System/ReportingTools' has been created successfully. Server
FINE Jan 30, 2013 1:03:59 PM REST request successfully processed. Response size is 200 characters. System/ReportingTools.GPServer
SEVERE Jan 30, 2013 1:03:59 PM Error executing tool.: ERROR 999999: Error executing function. Unidentified Error Failed to execute (ReportCacheStatus). System/ReportingTools.GPServer
INFO Jan 30, 2013 1:03:59 PM Failed to authorize request. Soap
INFO Jan 30, 2013 1:03:59 PM Failed to authorize request. Soap
FINE Jan 30, 2013 1:03:59 PM REST request received. Request size is 173 characters. System/ReportingTools.GPServer
INFO Jan 30, 2013 1:03:55 PM Creating instance of service 'System/ReportingTools.GPServer'. Server
INFO Jan 30, 2013 1:03:54 PM Instance of service 'System/ReportingTools' has been created successfully. Server
INFO Jan 30, 2013 1:03:54 PM Geoprocessing service instance is successfully constructed. System/ReportingTools.GPServer
INFO Jan 30, 2013 1:03:52 PM Creating instance of service 'System/ReportingTools.GPServer'. Server
INFO Jan 30, 2013 1:03:51 PM Recycling is configured for service System.ReportingTools.GPServer. Recycling will start at 1/31/13 12:00 AM and repeat every 24 hours. Server
INFO Jan 30, 2013 1:03:51 PM Request user: admin, Service: System/System/ReportingTools/GPServer Rest
INFO Jan 30, 2013 1:03:49 PM Request user: admin, Service: extents1000k/MapServer Rest
FINE Jan 30, 2013 1:01:58 PM checking for expired items in E:\arcgisserver\directories\arcgissystem\arcgisuploads Admin
FINE Jan 30, 2013 1:01:58 PM checking for expired items in E:\arcgisserver\directories\arcgisoutput Admin
FINE Jan 30, 2013 1:01:58 PM checking for expired items in E:\arcgisserver\directories\arcgisjobs Admin

Privileges - Granted for records created by other users in the same feature class?

$
0
0
I need to have an application (it could be web editing using ArcGIS or a web application, whatever works) where users of my agency can edit layers of a feature service pulling data from a SDE Enterprise geodatabase. However I need to have the users to be able to see or edit records created by other users - in the same feature class , but not all users can see everybody's records. So let's say there is user A1, A2, A3 and A4. A1 can see and edit records created in the feature class "Points" by A2 and A4, but A3 can only edit his own records. A2 can edit and see records of A3 and A1, but not A4. How could this be done? Is there a way to configure security so there are privileges granted for different users for records created by other users in the same feature class, and not only privileges granted only for the specific user's records in the feature class?

Thank you for any help!

Search Service won't index everything

$
0
0
I have set up a search service on my server to index our SDE that has over 800 datasets stored in it. I can add the SDE connection information to the search service but it will only index a handful of those datasets and then just stop. The last time I set it up it indexed the first 42 datasets and then stopped and would not reindex anything. Then I completely killed that service and created a new one and this time it stops indexing after 11 datasets.

Has anyone else seen this issue or have any suggestions on how to fix this?

Thanks,

Jacob

Cannot publish a Map Service without AGS forcing a data upload

$
0
0
I have registered an SDE geodatabase with ArcGIS Server.

I have an MXD that refers to the same geodatabase and so proceed to "share as" in ArcMap

I fixed the "Analyze"-detected problems so all that are left are warnings.

I click publish, spins its gears, until it asks me what data to upload. WTF, I don't want to upload any data, just publish my flippin' MXD after 3 days of horsing around...

Where in any dialog do you EXPLICITLY connect your MXD to a published datastore? And if you can't do that, how does it ACTUALLY do it behind the scenes then? Is it comparing Oracle alias name? .sde connection file names?

Beyond frustrating.

Brad

How do you correctly disable data uploading when publishing a Map Service?

$
0
0
If found this in the help file:

Quote:

To disable data from being copied to the server, follow the instuctions below.

Steps:
1. Open the Administrator Directory and log in with a user that has administrative permissions to your site. The Administrator Directory is typically available at http://<server name>:6080/arcgis/admin.
2.Click data > config > update.
3.On the Update Datastore Configuration page, enter the following string into the Datastore Configuration Properties dialog box:

{"blockDataCopy": true}

4.Click Update.
HOWEVER--

There is no config/update path under arcgis/admin/data--or anywhere in the admin pages that I can find. SO there is no "update" option, and no Datastore Configuration Properties dialog box to be found. Hence nowhere to put {"blockDataCopy":true}

What file does this get stored in on the server and can I just notepad it in order to get past this trainwreck of a week?

Brad

Publishing GP Model - Server will not forget about my D drive.

$
0
0
Hello all,

I have been attempting to publish services from a local ArcGIS desktop environment to a remote ArcGIS Server site. The server has no desktop installed, and has a different drive letter used for storing date than on my local machine (D:\Data on the local machine, E:\Data on the remote machine).

Most of my data are stored in two enterprise geodatabases. In the data folder (on both machines), I have two SDE connection files...one for each enterprise GDB. I have registered the enterprise geodatabases on the server, and also registered a folder that refers to the D:\Data location on the local/publisher machine and the E:\Data folder on the server. These all validate fine.

I can publish maps that rely on data in the enterprise geodatabases. No problem.

When I try to publish some geoprocessing models, it initially seems to work fine. The service editor's analyzer reports no issues related to unregistered data sources, and the services are successfully published to the server without having to package any data. But then I run into issues where the models rely on feature classes stored in the enterprise geodatabases. If I publish just one model to a new gp server, it might work fine. I'll then delete the gp service, and publish two or more models as tasks in a single gp server (including a model that may have worked previously). Once I start doing that, I'll start to get errors such as the following:

Code:

Error executing tool.: The value does not exist. ERROR 000732: Erase Features: Dataset D:\Data\connection1.sde\db1.DBO.FDS\db1.DBO.lines does not exist or is not supported
I can't explain why sometimes publishing one model will work...the same model will fail with the above error after it is republished. Even if I go back and republish the one model that worked previously, it will continue to fail. I have tried this using a variety of models that use feature classes in the enterprise geodatabases, and get the same type of error, regardless of the specific model, feature class, or operation being performed.

To work around this, I have tried a variety of approaches. All of the following produced the same result (Server always looked for the connection files in D:\Data):

- Option 1: I tried to map a network drive D on the server that points to the data folder on E. ArcGIS server doesn't seem to recognize the mapped network drive location.
- Option 2: Create a fileshare \\localhost\Data on both machines (pointing to D:\Data on the client, and E:\Data on the server), then registered \\localhost\Data as a data store on the server. Once this was done, I opened/executed/published the same models from the fileshare location.
- Option 3: Reassign the letter for the D: drive on my local machine to E:, ensure folders are registered appropriately on the server. Re-publish everything again.
- Option 3b: Recreate the toolbox/models from scratch in E:\Data on my local machine, publish again.
- Option 4: Move everything to C:\Data on both machines, register data stores, repeat publishing.
- Option 4b: Repeat Option 3b, but with everything created in the C:\Data location, repeat publishing.

I have also tried turning on/off the option for models to use relative path references - this seems to have no impact.

It seems to me that if the D:\Data path doesn't exist on either machine, I should not be able to run the tools at all, let alone publish them, if they still relied on resources in that location.

Can anyone suggest what might possibly be causing references to the D path to stick around?

Final workaround: Shrink the E: drive on the server a little bit, format the empty space, assign the D: drive letter to the empty space, and create a Data folder containing copies of the connection files in this folder. The models will now work. But this solution seems less than ideal.

Where is the Web Map menu in Server Manager of ArcGis 10.1

$
0
0
Server Manager of ArcGis 10.0 have menu "Web Map" that create Web Map Page but I don' see it in ArcGis 10.1. Where it it ? or something instead ?

LINUX - Export Web Map Task PDF missing fonts

$
0
0
Hi,

I wanted to use printing service included with AGS 10.1 (SP1 on linux) to export map layout to PDF, I used standard ESRI templates for printing. The problem is output PDF file does not display Title and other layout text with the right font. The PDF property shows only ESRIAMFMElectric as included font which makes the pdf rather unreadable...
Labels/annos display well on the map dataframe (fonts are ok in the mapservice)

Did I miss something during the installation ? Should I put some windows fonts somewhere on the server for PDF export ?

Thank you

Direct Connect parameters for registering SDE database?

$
0
0
I am able to register our ArcSDE database on our ArcGIS Server by using the Create ArcSDE Connection File tool. But that appears (I think) to be an SDE connection. When I copy over a direct connection .sde file instead to the shareddata folder on the ArcGIS Server and import that file when registering, I get the "data item is inaccessible" error.

here's what the direct connection properties look like
Attachment 21324

I know this direct connection works on the 10.1 client but what are the parameters in the connection properties to make it work for registering an SDE database?

The ArcGIS Server 10.1 (with 64-bit Oracle) and ArcSDE and the 10.1 client are all on separate machines.

Additionally, ArcSDE is 10.0. Is that allowed (10.1 Server connecting to a 10.0 database)?
Attached Thumbnails
Click image for larger version

Name:	dc.PNG‎
Views:	N/A
Size:	13.7 KB
ID:	21324  

Changes in security of ArcGIS Server from version 9.3 to 10.1

$
0
0
I am aware that the concept of of Token Service ( authentication mechanism) and Role based Access Control (RBAC) ( management of permissions ) are introduced at 9.3 version.

I like to have a matrix to show me what changes are applied to these concepts from 9.3 to 10.1?

Several map serices share one cache set? doable or not?

$
0
0
Hi, my friends,

I have one question about caching: is it doable that several map services are all pointing to the same cache set?

For example, there is a cache map service named as MapService1. Another cached map service named as MapService2 is created. Can MapService2 use the same cache set as MapService1?

Thanks in advance,

Problem with getting an SOE to work ( Dynamic Segmentation Utility SOE Rest )

$
0
0
I'm trying to get this SOE working on my server.
http://www.arcgis.com/home/item.html...2c937ca9169507

I've managed to load it into the Site->Extentions without any problems. But when we go to publish a service with the capability enabled, we get the following error:

service failed to start
Secured.road_routes.MapServer:
SERVER2.myurl
ClassFactory cannot supply requested class

What class could it be looking for and what do I need to do to make it work? I've looked through the documenation and can't see anything that sticks out.

Publishing CAD files,

$
0
0
Publishing CAD files,

I’m not sure if there is a way to publish CAD files.

Attachment 21387

Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_36.jpg‎
Views:	N/A
Size:	458.4 KB
ID:	21387  

Python to .NET or COM interop library

$
0
0
Does Python delivered with ArcGIS 10.1 for Server includes any library that will allow my Python script to call either .NET or COM library.

I have a .NET library that has to be called from within the labeling expression. Because ArcGIS 10.1 for Server supports only Python for scripting labeling expression, I need to find a way to call my .NET library from Python.

Symbology Field Delimiter

$
0
0
I have a layer symbolized using 3 fields, the default delimiter was a comma and when I try to publish this as a service I get a warning that prevents the publishing saying that I need to change the delimiter. When I do this, it removes all the previous, laboriously created symbology.

Is there anyway to change the delimiter without loosing the symbology in the process?

UploadServiceDefinition fails: "ERROR: unable to connect to publishing tool"

$
0
0
I created a 5 line python script tool:

Code:

import arcpy
import sys

input_value = arcpy.GetParameterAsText(0)
output_message = "Hello World " + input_value

arcpy.SetParameterAsText(1, output_message )

I ran it and got a result.
I right-clicked/shared the result and said "publish as a service", selected the server, filled in the required description fields
I pushed publish and receive: "ERROR: unable to connect to publishing tool. Verify the service is up and running"

I checked, and the service is indeed up and running and there are no log files on the server to indicate that any attempt was made to do anything.

Any help is greatly appreciated!

Brad

Table to Table Joins or Relates Not Publishing

$
0
0
ArcGIS Server & Desktop 10.1 SP1

If I publish a map with table to table joins or relates, the tables loose there joins and/or relates when published. A simple example is get 2 tables on a blank map (you will have to add a feature class also to publish), do a table to table join or relate and publish it as a map service with only mapping capabilities and default settings. SDE is in data store and no data gets copied.

A feature class to table join or relate publishes just fine. My tables sit in a SDE and the fields being joined are indexed.

I didn't have this problem in 10.0 and when upgrading it broke parts of my code. I know I can do a view but this seems to be a bug or breaking change in 10.1 SP1. I skipped over the 10.1 release so I don't know if it happened there.

Edit: Another thing I just found out. If you join or relate a table to a feature class, that also does not work.

Rob

Finding coordinates of tiles

$
0
0
I'm looking to represent the most viewed tiles from my ArcGIS Server service, which I can get from my logfiles, in a map. Something along the lines of some of the examples found here http://content.stamen.com/log_maps.

However, I am not sure how to get either the origin or centroid of a given tile. This page helps conceptually http://www.maptiler.org/google-maps-...ds-projection/, but there are some differences that would probably require a considerable amount of rewrite of the python file.

1. My cached service is in state plane feet, not web mercator
2. ESRI doesn't use Google, TMS, or Quadtree indexing of tiles (although they are similar to TMS?)
3. I believe the origin of the cache is relative to the map extent at time of publishing, but I'm not sure

Anyone know of a way to do this?

Matt
Viewing all 1579 articles
Browse latest View live