简体   繁体   中英

Newly installed IIS. Aspx page not getting displayed

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.

(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.

在服务器管理器中,添加角色和功能,有 Web 服务器 (IIS) 角色部分,您可以在那里找到应用程序开发选项,您可以在其中启用 ASP.NET 和 .NET 可扩展性选项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM