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.
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.
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.
(Copied from answer body)
Found the fix. The "ASP.NET v2.0." was prohibited in web service extensions. Steps to fix(in my case):
Web Service Extensions
" in the nav pane ASP.NET v2.0.*
" and status is shown next to it.Allowed
". Hope this helps someone. Also, you look at this other post giving other possible reasons for the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With