Is there a way to configure ASP.NET in IIS7?
I know this must be a stupid question, but in IIS7 I see an icon for ASP. Is this configuration for Classic ASP?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
IIS 7 is very different from previous versions, especially with regards to ASP.NET.
In previous versions, the ASP.NET runtime was a separate DLL and separate process, whereas in IIS7 the ASP.NET runtime has been integrated into the core IIS server.
IIS7 does also include support for “classic” ASP, so the icon you see simply called “ASP” will be for “classic” ASP configuration. There should be a separate section for ASP.NET configuration.
Note that all IIS7 and ASP.NET config is now done via .config files (like your machine.config and web.config in ASP.NET).
The following links should provide further information:
Method 2
Check if ASP.Net feature is enabled. Here is a description of how to verify it.
Method 3
Have you installed ASP.NET in IIS7? It might not be installed by default.
Method 4
What exactly do you want to configure?
In IIS manager there’s an entire section for ASP.NET.
Method 5
Fast Way to Deploy IIS7 with .net capabilities
- Install IIS 7.0
- Setup Website in IIS / Add New Website e.g Default can do
- Select default page e.g c:mywebfolder, adjust path for default site.
- Assign IP or run in Localhost
- Open command prompt
c:windowsmicrosoft.netframeworkv4.0.30319aspnet_iisreg.exe -i
This will start installing preferred compilar for .aspx (v2 or v4) - Restart webservice in IIS
- Congratz!!! Open your browser and watch the Aspx Web Server is Ready for Run!!
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0