Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to host my aplication in local IIS but it is diplaying the following error in the browser.

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration 
data for the page is invalid.
 
Detailed Error Information 
Module IIS Web Core 
Notification BeginRequest 
Handler Not yet determined 
Error Code 0x80070021 
Config Error This configuration section cannot be used at this path.
This happens when the section is locked at a parent level. Locking is
either by default (overrideModeDefault="Deny"), or set
explicitly by a location tag with overrideMode="Deny" or the 
legacy allowOverride="false".  
Config File \\?\C:\inetpub\wwwroot\Test1\web.config 

Requested URL http://localhost:80/Test1 
Physical Path C:\inetpub\wwwroot\Test1 
Logon Method Not yet determined 
Logon User Not yet determined 
Config Source
   84:         </modules>
   85:         <handlers>
   86:             <remove name="WebServiceHandlerFactory-Integrated"/>




I have gone through the following sites. But doesn't gave me any solution.

http://forums.iis.net/t/1155232.aspx
http://learn.iis.net/page.aspx/262/configuring-iis-for-silverlight-applications/
http://dotnetefectivecoding.blogspot.com/2009/08/publish-silverlight-3-on-iis-70-75.html

Some one please provide solutiono for me.
Posted
Updated 18-Feb-10 11:53am
v2

1 solution

Ashwin,

The error seems that you published your Silverlight application in a folder inside the IIS_ROOT with the web.config file but didn't mark the folder as application.

To use the web.config your virtual directory must be marked as Virtual Application inside IIS.

To do this, open IIS & on the "Test1" folder properties make it as a Virtual Application. Be sure that you have added the three MIME Types in IIS to host Silverlight. The MIME types are: XAML, XAP and XBAP. Google about Silverlight MIME type and you will get a bunch of notes.

If this information helps you then don't forget to rate it & mark as answer. Let me know, if you need any other help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900