proxy.config problem

471
2
04-14-2010 12:19 PM
AaronCropper
New Contributor
I have downloaded the Proxy.ashx and proxy.config that are available here: http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/secure_services.htm

When I add this to my Silverlight web application in Visual Studio 2008 Professional I am getting error saying the 'proxyConfig' element is not declared inside of the proxy.config. 'proxyConfig' is the root element and is not being recognized. Any ideas how to fix this?
0 Kudos
2 Replies
AaronCropper
New Contributor
The problem I was having by adding the proxy.ashx/config files to VS was solved by adding these to the wwwroot directory of my web server and then referencing this as the proxyurl.  For example:

ProxyURL="http://www.myserver.com/proxy.ashx"
0 Kudos
BrentStevener
New Contributor II
I get the same error in the Visual Studio designer, but it in no way affects the application (as far as I can see). The app still runs fine as expected, even locally using the built in ASP.NET development server within Visual Studio.
0 Kudos