IIS - Stragen 401.3 Error
Asked By Robert Keay
20-Nov-09 12:15 PM
I posted this in the silverlight section earlier but On reflection I think it really belongs here:
I
have a Silverlight application that needs to access a WCF web service
(hosted in IIS 6.0) located on a different domain, so I create the
ClientAccessPolicy.xml and stick it in the service's web site root.
What I then get is 401.3 errors when the silverlight application tries to access it.
Now
here comes the funny bit, having gone over all the NTFS and IIS
permissions I could think of , without success, I discovered that I
could access it if I changed the extension to .svc (but not if I
changed it to .html, .txt, .abc).
I could also access it if I moved
it to another web site on the same server, which has as far as I can
see has identical permisioning.
Is there another source of permisioning, based on file extensions, hidden away somewhere?
Of course not if it is .html, .txt, or anything else IIS chooses to process differently
There is no real reason not to have it as .svc. Can you elaborate on why you felt the need to change this?
Reply
Changing the file extension was just an experiment to see if that was the problem.
The file needs to have the .xml extension because Silverlight will always look for a file called ClientAccessPolicy.xml.
So my question really is how do I persuade IIS to serve this file, with the required name.
I meant your service url
not the ClientAccessPolicy.xml file. Leave your service endpoint url as
the default of .svc. Silverlight does not have any specific requirement
to look for urls to WCF services. It will attempt to connect to whatever
the url endpoint is.
404 error when dowloading DLL files from IIS 6.0? IIS Windows 2003 Server Standard SP1 IIS 6.0 ASP.NET 1.1 My ASP.NET page uses a client-side .NET as a .NET assembly which is located in the virtual directory root. This worked on IIS 5.0 / Win 2000 server, bit IIS 6.0 refuses to serve the DLL file to the client (404 file not found error). I saw multiple posts that say that IIS 6.0 does not allow downloading files of unknown MIME types. I followed the steps
Securing Silverlight IIS I have Silverlight application which needs to make call to WCF service in the hosted aspx web site. To make the website secure I have used "Basic" authentication on IIS virtual web site settings. However, whenever my Silverlight app makes call to the WCF service, it gets security error. If I make my WCF service "None" then it complains that IIS web site is not configured to support "Anonymous" authentication. And if I allow "Anonymous" then my web site becomes inscure! Please suggest IIS ASP Discussions Silverlight (1) IIS (1) WCF (1) Emailaddress (1) Inscure (1) Dots (1) Dec
Host a silverlight 4 application with Mysql database in iis 5.1? Host a silverlight 4 application with Mysql database in iis 5.1? But it showing the following error? Database not connected? Unhandled error in silverlight applicationan exception occuredduring the operation, making the result invalid.Check inner execeptions? hi, I found clears everything up. Hope this will help you All MIME types needed to support hosting Silverlight applications are implemented by default in Windows Server 2008 IIS 7.0 and Windows Vista
Troubleshooting WCF deployment issues of Silverlight Site on IIS This explains how to troubleshoot the deployment issues of WCF access after deploying the Silverlight sites on IIS There are many instances when users might face access issues of WCF while deploying the Silverlight site on ISS. This is one of the common errors you receive most of the CommunicationException System.ServiceModel.CommunicationException was unhandled by user code Message = "The remote server returned an error: NotFound." Here are the steps and tips to troubleshoot these kind of issues: 1) Configure could use fiddler tool to capture the network traffic and analyse. Related FAQs Difference of Silverlight 1.0 version with other later versions This explains the difference between the different versions of the Silverlight Troubleshooting WCF deployment issues of Silverlight Site on IIS ( 230 Views ) View Santhosh N's
Silverlight Webpart: Could not download the silverlight applicato I have developed simple hello World Silverlight Application in silverlight 4 and tried to deploy into Sharepoint Site. But it showing following error. Could not download the silverlight applicaton or the silverlight plugin did not load. I followed following steps: 1.Created Simple Hello world Silverlight Program . And it is run good in localhost. 2. My .xap size is less than