开发者

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

  1. Make sure in inetmgr under Web Services Extension that the required frameworks are unblocked.
  2. Enable tracing to watch the messages
  3. Enable exception details in faults
  4. Make sure you are running the website under correct framework (under website properties)
  5. In web.config, clear and add handler svc-Integrated-4.0
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜