“add feature layer” fails,
“add feature layer” fails,
I tried to add a service with the “add feature layer” but get the message below:
/customer/servlet/servlet.FileDownload?file=00P6000000eltt8EAA
/customer/servlet/servlet.FileDownload?file=00P6000000elzTZEAY
What might be the issue here? I have a already a service that is published with “feature access” capability
Thank you
Best
Jamal
-
Hi Jamal
is that a publicly accessible feature layer that I can try accessing? Not an error message that I have come up against.
Have you seen this post: http://forums.arcgis.com/threads/52223-quot-Unable-to-Start-service-quot-(-quot-No-Layer-or-Table-was-initialized-quot-) ?
Regards
Ralph
0 -
Thanks Ralph,
It appears that the issue is “esriCarto.GraphicFeatureServer”. I can’t see any solution for this error. What is weird that I’m used to “add feature layer” this way and never had this problem!
What should I check to get this issue resolved? Permissions and graphics are fine and thus nothing helpful in the post you have provided.
What other issues should I consider?
0 -
Hi again Ralph,
I can confirm now that this issue is related to the Geocortex but not to the ArcGIS Server.
I added the service with the “feature access” capability enabled to the “ArcGIS Viewer for Silverlight” and it works fine with no issues.
How this issue can be solved in the Geocortex?
/customer/servlet/servlet.FileDownload?file=00P6000000elzf0EAA
0 -
Hi Jamal,
To troubleshoot this, a very useful tool is Fiddler ( http://www.fiddler2.com/) . You’ll have to configure it as a proxy for Essentials Manager so you can see the request Manager does to the ArcGIS REST endpoint for the feature service. The following KB article outlines the steps: https://support.geocortex.com/use-fiddler-as-a-proxy.
Also, check Essentials manager SYSTEM log files: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\App_Data\Logs
If your service is public please, post the URL here on the forum.
-Alejandro
0 -
Thanks Alejandro for the help,
What is really confusing that this “add feature layer” worked fine before with same environment settings.
Does “add feature layer” requires separate license?
I don’t expect that fiddler will say anything. The service is working fine in the “ArcGIS Viewer for Silverlight”. The problem is related to the Gecortex.
0 -
Hi Jamal
I believe that Alejandro is hoping that Fiddler will show a 402 response message or something similar to help debug what is going on.
Have you found anything in the Geocortex system logs as yet?
Regards
Ralph
0 -
Hi Jamal,
Adding a feature layer does not require a separate license and also we haven't seen that particular error before.
Fiddler is one of the best tools to troubleshoot this since you can see exactly the request that Manager makes to the ArcGIS server and the response it gets. The logs will also be important in order to see where the issue could be.
-Alejandro
0 -
Many thanks Ralph and Alejandro for the prompt help and support.
Please, fins attached what logs and fiddler say.
logs:
(https://support.geocortex.com/Data/Sites/1/userfiles/4998/logs_addfeaturelayererror.zip) /Data/Sites/1/userfiles/4998/logs_addfeaturelayererror.zip
Fiddler:
/customer/servlet/servlet.FileDownload?file=00P6000000e88ZUEAY
0 -
Hi Jamal,
Thanks for the logs. We would also need to see what happens when using fiddler as a proxy for Essentials Manager. See the following KB for instructions: https://support.geocortex.com/use-fiddler-as-a-proxy. This will allow us to see the actual request that Manager does. Please, upload the whole capture here.
-Alejandro
0 -
Thank you Alejandro for the prompt help,
Please, find below the saz file
(https://support.geocortex.com/Data/Sites/1/userfiles/4998/addfeaturelayererror.zip) /Data/Sites/1/userfiles/4998/addfeaturelayererror.zip
/customer/servlet/servlet.FileDownload?file=00P6000000elu4fEAA
0 -
Hi Jamal,
This error message is coming back from ArcGIS Server when Essentials requests the list of layers that belong to the feature server. We think that it could be occurring when ArcGIS Server is trying to get the underlying data from your SDE database. If you are using Windows Authentication to connect to the database in this service, it likely won't work from Essentials because neither Essentials nor REST Manager run as the logged in user - they run as the identities of the EssentialsAppPool and the EssentialsAdministrationAppPool respectively. This would explain why you are able to use this service without trouble in the ArcGIS Viewer - as it is able to pass through the credentials of the logged in user all the way through to the geodatabase.
To use this service successfully in Geocortex, the connection to the SDE database must use a hard-coded database user instead of Windows Authentication.
If you are not using Windows Authentication, could you try checking the ArcGIS Server logs to see if there is any additional information about a failed request from Essentials?
Could you also send us a Fiddler capture of the service running successfully in the ArcGIS Silverlight Viewer?
Thanks,
Victoria0 -
Thanks Victoria,
There has been no issue in the ArcGIS Server as I could stick the same service in the ArcGIS viewer for Silverlight (I have already indicated this in my previous posts in this thread). As for the authentication, it is database authentication. I have attached screenshots for fiddler and saz file.
To solve this issue, I deleted all the services and republished them and then the Geocortex worked fine. It was really hard experience to have this error.
What do you think?
0
Please sign in to leave a comment.
Comments
12 comments