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

Feature Service error when uploading

$
0
0
I am working on adding a feature service to a javascript mapping application. I have determined that it has to do with the feature service, as the javascript seems to be doing what it should.

The error i get in the javasscript console in chrome is below. When attempting to use the apply edit form in the feature service age the same error occurs:"Unable to complete operation."
Code:

Error {code: 400, message: "Unable to complete operation.", details: Array[0], log: undefined}
_ssl: undefined
arguments: undefined
code: 400
details: Array[0]
get stack: function () { [native code] }
log: undefined
message: "Unable to complete operation."
set stack: function () { [native code] }
type: undefined
__proto__: d
 serverapi.arcgisonline.com:15
_48f serverapi.arcgisonline.com:15
(anonymous function) serverapi.arcgisonline.com:15
_1e1 serverapi.arcgisonline.com:15
_1df serverapi.arcgisonline.com:15
resolve.callback serverapi.arcgisonline.com:15
_1e1 serverapi.arcgisonline.com:15
_1df serverapi.arcgisonline.com:15
resolve.callback serverapi.arcgisonline.com:15
_1e1 serverapi.arcgisonline.com:15
_1df serverapi.arcgisonline.com:15
resolve.callback serverapi.arcgisonline.com:15
_1e1 serverapi.arcgisonline.com:15
_1df serverapi.arcgisonline.com:15
resolve.callback serverapi.arcgisonline.com:15
rDfd.then.otherwise._49d.error serverapi.arcgisonline.com:15
_4b9 serverapi.arcgisonline.com:15
_4b3 serverapi.arcgisonline.com:15
resolve serverapi.arcgisonline.com:15
_4c0 serverapi.arcgisonline.com:15
_4b9 serverapi.arcgisonline.com:15
_4b3 serverapi.arcgisonline.com:15
resolve serverapi.arcgisonline.com:15
_4c0 serverapi.arcgisonline.com:15
_4b9 serverapi.arcgisonline.com:15
_4b3 serverapi.arcgisonline.com:15
resolve serverapi.arcgisonline.com:15
_4c0 serverapi.arcgisonline.com:15
_4b9 serverapi.arcgisonline.com:15
_4b3 serverapi.arcgisonline.com:15
resolve serverapi.arcgisonline.com:15
_3dd serverapi.arcgisonline.com:15
_3e9 serverapi.arcgisonline.com:15


When I go to upload the service I noticed some warnings:
Code:

SEVERITY        STATUS        CODE        DESCRIPTION        NAME        TYPE        DATA FRAME
Medium        Unresolved        10030        Layer's data source is ArcSDE not accessed via a direct connection (4 items)                       
Medium        Unresolved        10030        Layer's data source is ArcSDE not accessed via a direct connection        line features        Layer        Layers
Medium        Unresolved        10030        Layer's data source is ArcSDE not accessed via a direct connection        point_features        Layer        Layers
Medium        Unresolved        10030        Layer's data source is ArcSDE not accessed via a direct connection        polygon features        Layer        Layers
Medium        Unresolved        10030        Layer's data source is ArcSDE not accessed via a direct connection        problem area labels        Layer        Layers
Medium        Resolved In Map Service Definition        10009        Enabling the option to convert layer transparency to color transparency may improve performance        polygon features        Layer        Layers
Low        Unresolved        24059        Missing Tags in Item Description        Layers        Data Frame        Layers
Low        Unresolved        24058        Missing Summary in Item Description        Layers        Data Frame        Layers

My question would be: could these be related?

change required non alpha numeric characters

$
0
0
I have an installation of ArcServer 10.1 SP1 on windows. I've successfully changed the security store to a custom sql server store as per instructions on help docs. I can even create users and roles using either the rest/admin interface or through arcgis/manager. However, by default (as noted in documentation), I'm required to have at least one "non-alphanumeric character" which I'm familiar with in .net *.config files.

My problem: I can't seem to change this anywhere. I thought the machine.config or web.config file (under web adaptor app in iis) settings would change this, but to no avail.

Question: How can I change this setting ("minRequiredNonalphanumericCharacters") and/or other settings like minimum password length, in the said version of arcgis for server?

Any help is greatly appreciated.

Does the option "Feature Access" requires the database to be SDE?

$
0
0
Does the option "Feature Access" requires the database to be SDE?

I’m not sure if the option that enables performing editing over the web requires the database to be SDE (not file or personal)

Attachment 21478, Attachment 21479

Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_105.jpg‎
Views:	N/A
Size:	189.6 KB
ID:	21478   Click image for larger version

Name:	Clip_106.jpg‎
Views:	N/A
Size:	185.1 KB
ID:	21479  

'featureserver' not found

$
0
0
I am getting these error messages in my arcgis 10.1 sp1 log file, these layers are not feature map services, I have another map service that is a feature service, any ideas?;

SEVERE

Feb 6, 2013 11:13:52 AM

Unable to process request. Error handling service request : java.io.IOException: Server object extension 'featureserver' not found.

Rest



SEVERE

Feb 6, 2013 11:13:52 AM

Instance of service 'WasteLiveLayers.MapServer' failed to process a request.

Server



SEVERE

Feb 6, 2013 11:13:52 AM

Unable to process request. Error handling service request : java.io.IOException: Server object extension 'featureserver' not found.

Rest



SEVERE

Feb 6, 2013 11:13:52 AM

Instance of service 'IdentifySearch.MapServer' failed to process a request.

Server

Optimization Question: More services vs more layers?

$
0
0
Hi,
I've been trying to figure out - is there a performance trade-off between services and layers? For instance, all other things being equal (and the decision not affecting any business or mapping applications), would it be better to have less web services and more layers per web service, or more web services and less layers per web service? Or would it be equal performance wise?

Thanks!

Jay

Upgrading geodatabases and locators from 10.04 to 10.1

$
0
0
Hi,

I recently upgraded from 10.04 to 10.1. Now I am trying to find documentation on upgrading geodatabases and the locators. Is an upgrade needed for geodatabases and locators? Or is it just a matter of rebuilding the locators? Any info is helpful, thanks.

Thanks,

Beth

ArcGIS REST Services Directory - QueryTask - Join/Relates - Fully Qualified Names

$
0
0
[ArcGIS Server 10.1 SP1 (Windows) / ArcGIS Desktop 10.1 SP1]

Hi all,

In ArcMap i made a map that joins a feature class of points to two standalone tables that contain the detailed information about each point and i published as a map service.

When i make in the ArcGIS REST Services Directory a Identify or a Find to the map service all works fine but....when i make a Query the result comes always with the fully qualified names for the fields (ex: GMAG.GMAGCREATOR.equipamentosCartaSocial_WGS84.Equipamento) not with the fields alias.

Can someone have an idea?

Thanks in advance,

António Sérgio

Accelerating map cache creation by using file geodatabases

$
0
0
Hello.
I am trying to accelerate map cache creation (and decrease Oracle/server load) by following esri's blog / best practices listed here:

http://blogs.esri.com/esri/arcgis/20.../#comment-4038

Specifically, I am trying to use the recommendation to copy file gdbs to each server in the caching cluster.

I copied a file gdb to an identical location on each of 9 servers. I have the "publish" version of the mxd on one of the 9 servers and I attempt to publish it. I can successfully get through the analyze step, I have a validated data store, it succeeds in creating the staging file (according to the GP Results), but it fails on the upload service definition step, claiming that each of my 15 data layers in my mxd are "invalid".

I worked with esri tech support on the issue, but they were not really aware of this best practice, and struggled with the difference between "Publisher Folder Path" and "Server Folder Path" on the Data Store. The only thing we could get to work was to share the folder that housed the file gdb, map the shared resource in ArcCatalog, and build the data store using the share name. However, I don't think this is what the best practice intended. Instead of 9 servers pointing at an Oracle gdb, I now have 9 servers pointed at a single file gdb on one of the servers. Not ideal.

Has anyone implemented this "best practice" and/or is there more detailed documentation on the steps? Esri Tech Support is not aware of any and claim that it is only a blog, so they don't have any detailed information on how to support it.

Thanks,
Will

Editing on the web using “ArcGIS Web ADF”,

$
0
0
Editing on the web using “ArcGIS Web ADF”,

It tied to add the “editor” task while working on the “ArcGIS Web ADF”

Attachment 21522, Attachment 21523, Attachment 21524


but I got the message below:

“This task requires an ArcGIS Server Local Service that is based on a map document (MXD). Please add an ArcGIS Server Local Service that is based on a map document (MXD) on the previous step before configuring the task.”

Attachment 21525


What might be the issue?

What is weird is that I used the same service in the “ArcGIS viewer for flex” and I could edit on the web!

Attachment 21526


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_113.jpg‎
Views:	N/A
Size:	122.6 KB
ID:	21522   Click image for larger version

Name:	Clip_114.jpg‎
Views:	N/A
Size:	137.3 KB
ID:	21523   Click image for larger version

Name:	Clip_115.jpg‎
Views:	N/A
Size:	80.5 KB
ID:	21524   Click image for larger version

Name:	Clip_116.jpg‎
Views:	N/A
Size:	154.5 KB
ID:	21525   Click image for larger version

Name:	Clip_117.jpg‎
Views:	N/A
Size:	104.5 KB
ID:	21526  

"esriags" applicationName for sql server membership provider

$
0
0
Where do I change this applicationName value which defaults to "esriags"? Im trying to use SQL server membership as security store. Thanks

Script works in ArcMap, won't publish to ArcServer

ArcGIS REST Services Directory using an SOE

$
0
0
I have an SOE which extends the ArcGIS Server map services. The SOE itself works well, i.e. I can call the various functions with no problem. The issue I have is using the ArcGIS Services Directory in order to explore my SOE.

In particular, I have Child Resources off my root resource which are not collections but do have child resources. The resource is sort of like a folder which contains other folders. Here is an portion of the schema:

{
"name": "NE",
"isCollection": false,
"resources": [{
"name": "Inventory",
"isCollection": false,
"operations": [{
// Text omitted
}

When I click on Inventory in the REST Services Directory what the code returns is a response which is application/json where the content is "{}". What the browser then does is to issue the following prompt "Do you want to open or save Inventory.json (2 bytes) from localhost?". The browser I am using is IE 10 on Windows 8 x64.

What am I doing wrong? I believe that this code used to work in version 10 but I am currently running 10.1 SP1.

Granting permissions to the “ArcGIS Server Account” user on data stored in client...

$
0
0
Granting permissions to the “ArcGIS Server Account” user on data stored in client machine,

As the ArcGIS server is installed on the server machine (named p2) then the account “ArcGIS Server Account” user is created automatically on that machine.

While working on the client machine (named p1) and having the data stored on it then how to give permissions to the “ArcGIS Server Account” user (which is a user on the server machine) knowing that the network type is “home network” (no domain is set).

Attachment 21575

In this case, there is no way to grant the “ArcGIS Server Account” user (which is a user on the server machine) permissions on the client machine

Attachment 21576, Attachment 21577


How might this issue be resolved?


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_128.jpg‎
Views:	N/A
Size:	107.5 KB
ID:	21575   Click image for larger version

Name:	Clip_129.jpg‎
Views:	N/A
Size:	92.9 KB
ID:	21576   Click image for larger version

Name:	Clip_130.jpg‎
Views:	N/A
Size:	108.9 KB
ID:	21577  

Replication With Desktop 10.1 and Server 10.0

$
0
0
Hi. We've had a client use our addin to check out geodatabase replicas using Server 10.0 and it works great. The client then installed Desktop 10.1. They can still check out the replica and edit the checkout geodatabase, but attempting to check in gives us a "Error Processing Server Request". I'm guessing Server 10.0 can't read a geodatabase modified in Desktop 10.1. Does anyone know if this is correct?

Thanks,

Chris Saylor
Lebanon, OR

REST Find Task Does Not Always Find With Empty Search Fields

$
0
0
On the REST endpoint I open up the "Find" operation for a MapServer service. I put in the "Search Text" of "6" and for "Layers" specify "4". I hit "Find (GET)" and receive "No results found". I know this layer has a feature with a 6 in some of the fields, so I then add one of the field names to "Search Fields"... It finds all three features I was expecting then. According to the documentation, if "Search Fields" is blank it will search all. Now this is not always the case though, If I remove the "Search Fields" and search for text such as "BP" then it finds that in some of the string fields.

Is this a known bug? Something to do with searching Double fields? Any workarounds short of adding all the fields to the "Search Fields" list?

Thanks a lot!

Failed to connect to database

$
0
0
So after updating my license file i now get this error when trying to access my database.
Failed to connect to database. No arcgis server license file found. contact your admin.

i have tried creating a geodatabase using all of my connection info and i get an Error.
Error connecting to database as geodatabase admin.

I can connect to the database outside of arcgis.

arcgis server 10.1.1
windows server 2012
IIS 8
postgresql 9.1

everything was working prior to updating of license file

any thoughts

Ports used to publish map services to ArcGIS Server

$
0
0
I'm trying to find out which ports ArcGIS Desktop uses to publish map services to an instance of ArcGIS Server. I need to cross multiple networks to access a forward-facing server, and I need to open up the ports to allow communication between the server and I. Does anybody know?

Thanks.

No spatial index on sde view

$
0
0
10.1 sde sql server geometry type

I have a feature class that has a spatial index. I create an sde view on that fc using sde command line.
i then modify that sql to join in a few business tables.
sde view displays fine in catalog and in arcmap.
I go to create an ags map service on the mxd with the view in it and i get a warning that there is no spatial index on the sde view.

sde describe_long on the base table shows spatial index present
sde describe_long on the sde view shows spatial index present

what is going on?
I have updated dbms stats. no luck.

HTTP Referrer Token not working for secured services in Server 10.1SP1

$
0
0
So I have tried to generate a token at http://<myserver>:6080/arcgis/admin/generateToken, using the HTTP Referrer parameter, passing it the REST endpoint http://<myserver>:6080/arcgis/rest/services/<myfolder>/<myservice>/MapServer and setting the Expiration field to 30. This REST endpoint is only accessible with the same credentials I used when generating the token.

Immediately after getting the token, I tried to test my token by using a web browser and entering
http://<myserver>:6080/arcgis/rest/services/<myfolder>/<myservice>/MapServer?f=json&token=<mytoken>
The response I get back is {"error":{"code":498,"message":"Invalid Token","details":[]}}

However, I was able to get this to work using the Request IP parameter when generating the token. The problem is I would like other folks to access my service with the token.

Any advice?

Thanks, Jay

Creating and publishing a model to select parcels,

$
0
0
Creating and publishing a model to select parcels,

I wanted to create and publish a model that selects parcels based on the ID of the parcel, the ID of their block and the name of their community (attached). The model is supposed then to zoom to the selected parcels

1. How the model can be developed so that the end user can enjoy

Attachment 21636, Attachment 21637

a. Having a drop-down list for the values
b. Auto complete search
c. The model is able to zoom to the selected feature

The more generic model is better! To give the user the chance to choose the feature class and then to choose fields required to be search along with their values. Is that possible?

2. I published the model but sounds that the target feature is not selected

Attachment 21638

What might be the issue?


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_157.jpg‎
Views:	N/A
Size:	382.3 KB
ID:	21636   Click image for larger version

Name:	Clip_156.jpg‎
Views:	N/A
Size:	175.1 KB
ID:	21637   Click image for larger version

Name:	Clip_158.jpg‎
Views:	N/A
Size:	151.7 KB
ID:	21638  
Attached Files
Viewing all 1297 articles
Browse latest View live


Latest Images