Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I had the web site running for some years serving ASP .NET content.
I have upgraded the server and have not been able to get ASP working again.
Things I tried:

New server 2022
IIS configured with .NET 4.8 and ASP.NET 4.8
Created a mime type in IIS (application/aspx)
Server accesses the web page but downloads the page in Explorer.


I have read hundreds of web posts but cannot "see" the solution.

Please help

What I have tried:

Built a new computer with windows 10 and ISS, .NET 4.8 and ASP.NET 4.8
Created a mime type in IIS (application/aspx)
Server accesses the web page but displays the page in Explorer rather than execute.
Posted
Comments
Richard Deeming 18-Jan-23 5:08am    
You don't need to configure a MIME type for aspx; you only need that for files you want to download.

It sounds like you either haven't enabled the ASP.NET feature on your new server, or you're using an AppPool set to "no managed code".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900