Click here to Skip to main content
16,012,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
when i map my asp.net web site on my system on iis it works fine but when i map an html website on my system iis it give error ....
"HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
"

why this ?
Posted

 
Share this answer
 
Assuming you are running a .Net 4 site, the machine.config will already have defined the scriptResourceHandler. Remove this section from the web.config and you should be fine.
 
Share this answer
 
Comments
GDdixit 16-Jan-14 1:34am    
waht u saying bro my asp.net application working properly , and problem occour when i host an html site on local IIS .. it gives error as i told in problem , and there is no config in html , to which i will remove ............ ?

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