Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Newly installed IIS. Aspx page not getting displayed

Tags:

asp.net

iis-6

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.

like image 863
pencilslate Avatar asked Oct 12 '09 02:10

pencilslate


People also ask

How do I view ASPX browser?

You can use Firefox, Chrome, Edge, or any browser. All you have to do is, right-click on the . aspx file, click on Open with, and select Chrome (your browser). If you can't find your desired browser, click on Choose another app and locate your specified browser from the Program file.

How can I see ASP net in IIS?

In Control Panel, click Programs, and then click Turn Windows features on or off. In the Windows Features dialog box, click Internet Information Services to install the default features. Expand the Application Development Features node and click ASP.NET 4.5 to add the features that support ASP.NET.


1 Answers

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

like image 69
2 revs Avatar answered Sep 21 '22 12:09

2 revs