File attachment failed. Invalid Token
I'm curious if anyone else has gotten the "File attachment failed. Invalid Token" Alert while editing a password protected feature class in HTML5? We are getting it 2-3 times a day, and it's really frustrating to our people trying to edit via the web. Does anyone have thoughts on (solutions for) this?
Thanks!
~Becky
-
You may have to configure the token service URL within the proxy.config file
0 -
Thanks for the response. Do you have any further direction on what I might need to do to configure it further?
Thanks,
Becky
0 -
I got that exact message before...
It was because our Server REST URL wasn't in our proxy.config file
I went to the HTML5Viewer folder on our wwwroot folder & copy pasted a new <serverURL just with our Server REST URL in it.
This is what it looked like before I added our server... We placed ours on line 14
<?xml version="1.0" encoding="utf-8" ?>
<!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
mustMatch: true to only proxy to sites listed, false to proxy to any site -->
<ProxyConfig mustMatch="true">
<serverUrls>
<!-- serverUrl options:
url = location of the server, either specific URL or stem
matchAll = true to forward any request beginning with the url
token = (optional) token to include for secured service
dynamicToken = if true, gets token dynamically with username and
password stored in web.config file's appSettings section.
-->
<serverUrl url="http://agsdemo.geocortex.com/arcgis/rest"
matchAll="true"></serverUrl>
<serverUrl url="http://gedemo.geocortex.com/geocortex/essentials"
matchAll="true"></serverUrl>
<serverUrl url="http://sampleserver1.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://sampleserver2.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://sampleserver3.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://server.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://services.arcgisonline.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
<serverUrl url="http://orthogonal.esri.com/arcgis/rest/services/"
matchAll="true"></serverUrl>
</serverUrls>
</ProxyConfig>0 -
Thank you for the indepth explanation Alex! I've inserted our REST url where you specified. Now I'll just wait and see if we get reports of it erroring out again, and I'll post back.
Thanks again!
~Becky
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare