Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Experts,

I have a web application built in VS2008. I have full version of VS2008. So I clicked on publish website on vS2008 build menu. I got success message at the bottom. Now I want to direct that location to IIS7.5. I added a website on pointed the location as the published location. When I browse I get below.
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	Unknown
Handler	Not yet determined
Error Code	0x8007000d
Config Error	
Config File	\\?\C:\MFI web\web.config
Requested URL	http://192.168.2.83:80/
Physical Path	
Logon Method	Not yet determined
Logon User	Not yet determined


Please do say Google it. I tried everything and ended up with no solution.
Can anyone help me with this?
Posted
Comments
sudevsu 17-Mar-15 10:24am    
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

This is new Error I get now.
ZurdoDev 17-Mar-15 10:28am    
I don't know what publishing from VS actually does.

All I do is build the app, copy to where IIS is and setup a site for it.
sudevsu 17-Mar-15 10:49am    
Exactly even I am not sure. but I just followed my colleagues word and I did.
I usually add a websitein IIS and point to the location after building as you said.
Richard Deeming 17-Mar-15 10:42am    
Try connecting to the server via Remote Desktop, and open the site on the server. You'll typically get a much more detailed error response when IIS determines that you're accessing the site from the same computer.
sudevsu 17-Mar-15 10:46am    
you know what I did. I did as below
Launch Command Prompt - Start - cmd.exe
cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727
aspnet_regiis -ir
just to check if it will solve my problem or not. I did. But weird thing in here is all the images in website are like broken file icon. For some reason My manager removed Images folder from project and placed in VS2008 in documents folder. I pasted it back and it works. This is really huge website, Just User controls alone are more than 150. I couldn't count normal ASPX pages.

1 solution

Phewww...
CSS
Launch Command Prompt - Start - cmd.exe
 cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727
 aspnet_regiis -ir


This solved my problem. I just tried it from here http://www.bitshop.com/Blogs/tabid/95/EntryId/110/-Net-wont-run-HTTP-Error-404-17-Not-Found.aspx[^]

Finally it worked after 3 hrs of searching.
 
Share this answer
 
Comments
ZurdoDev 17-Mar-15 10:53am    
Glad to hear you got it working. I haven't had to use aspnet_regiis in many years.

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