IIS 7.5 finds the local web site but can't load it
I am having this strange problem: I have just developed a WCF service (on VS2008) and created a website (ASP.net) to use that service. When I launch the website from VS2008, it works fine and I get the "You have created a service method", but if I try to open that service using IIS then it is not able to load the website at all. I get a message that "website found, waiting for reply", but the br开发者_开发百科owser is not able to load the service at all.
Any help will be greatly appreciated!
There was problem with my IIS 7.5, in that ASP.NET was not registered for IIS. The following article was helpful: http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx
I used aspnet_"regiis -i" command and the websites started loading. Thanks for all the help guys!
A few troubleshooting items
- Make sure in inetmgr under Web Services Extension that the required frameworks are unblocked.
- Enable tracing to watch the messages
- Enable exception details in faults
- Make sure you are running the website under correct framework (under website properties)
- In web.config, clear and add handler svc-Integrated-4.0
精彩评论