Hi Helen, I followed your steps. But after I made the code changes, I started seeing the prompt for the provisional layers.
The Provisional layer is the editable layer. The application will connect through the GIS proxy to get the username and password to go and generate a token for the session and allows the application/editor to make and save changes to the layer.
Instead of making a request with the proxy, the application seemed to be going directly to ArcGIS server and that is when the prompt would appear.
Do you any idea of what causes the login dialog prompt?
Many thanks.
- Yang
Wondering if anyone ever came up with any other solutions for this problem? Or successfully encrypted sections or all of the proxy.config?
Define "proxyUser" and "prxyPwd" with the username and password in the appSettings in web.config. Then modify the proxy.ashx file - set usrName=ConfigurationManager.AppSettings["proxyUser"] and usrPwd=ConfigurationManager.AppSettings["proxyPwd"]; Then replace in proxy.ashx wherever there is username and password with the usrName and usrPwd.
Hi Rouf,
I know it's a couple of years since your question, but did you ever come across a solution for directly encrypting the proxy.config file?
In your work-around with the Web.config, did you need to write additional code in the proxy.ashx to read from web.config?
Regards,
Andrew
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.