Newly installed IIS. Aspx page not getting displayed

流过昼夜 提交于 2019-12-05 20:09:31

问题


I have just installed a IIS on a win 2003 server and trying to setup an asp.net website.

I have run the "aspnet_regiis" tool as well as made sure asp.net role is enabled.

When i browse a plain from withing my asp.net virtual directory, i am able to view it. but, the server won't serve an aspx page.

What should i be checking next?

Appreciate your suggestions.

UPDATE:

Found the fix. The "ASP.NET v2.0." was prohibited in web service extensions. Steps to fix(in my case):
- Open IIS manager
- Click on "Web Service Extensions" in the nav pane
- On the right you will view "ASP.NET v2.0.*" and status is shown next to it. - Status was "Prohibited" in my case. I changed it to "Allowed". Boom. it worked!

Hope this helps someone. Also, you look at this other post giving other possible reasons for the issue.


回答1:


(Copied from answer body)

Found the fix. The "ASP.NET v2.0." was prohibited in web service extensions. Steps to fix(in my case):

  • Open IIS manager
  • Click on "Web Service Extensions" in the nav pane
  • On the right you will view "ASP.NET v2.0.*" and status is shown next to it.
  • Status was "Prohibited" in my case. I changed it to "Allowed".
  • Boom. it worked!

Hope this helps someone. Also, you look at this other post giving other possible reasons for the issue.



来源:https://stackoverflow.com/questions/1552409/newly-installed-iis-aspx-page-not-getting-displayed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!