Umhandled Error in Silverlight Application Code 4004 - Unauthorized access

586
2
11-08-2010 08:56 AM
LuisAcedo
New Contributor
I have created a silverlight 4 GIS application. When I run this application in our dev environment I have no error what so ever. But When I run the application in our test environment I get the error Code 4004.
The only different between Test and dev is that the map services is secure, so I add the following users: gisadmin, gisusers, Guess, IIS-Guest, Domain01 - Everyone.
Also, I have check IIS and I remove check window authentication for ArcGIS/rest and ArcGIS/services (and all subfolder under ArcGIS).
I also have my clientaccess file which works for dev and test for cross domain. This file is completely open for all http or uri.
I believe the problem is getting access to the map services, but I do not know what other local user or Domain user I need to add.
Any suggestion?
Thanks
Luis Acedo
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Can you share the StackTrace?  Also try to use Fiddler while running your SL app in your test machine. http://www.fiddler2.com/Fiddler2/version.asp The more information you can share with us, the better.  Thanks 🙂
0 Kudos
DarinaTchountcheva
Occasional Contributor II
Luis,

You don't mention anything about proxy page. If you haven't set up one here is some info what you need to do:

http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/?Secure_services.htm

Good Luck!
0 Kudos