I cannot change the target .NET Framework in IIS 6

The ability to target a different version of the .Net Framework is disabled in the specific test system we are using in the current project.

I have tried the following with no success:

  • Killing all W3WP.EXE processes
  • Restarting IIS
  • Remote debugging has been removed from the window.

Just hoping for some pointers.

+1


source to share


4 answers


Try re Register ASP.NET in IIS .



+3


source


I think this will happen if you install iis after installing .net. Just use aspnet_regiis.exe as described earlier.



+1


source


Are you sure you are asking the right question?

There is no new version of the .NET Runtime for targeting. If you have a 3.0 or 3.5 Framework, your IIS will still display 2.0 as a runtime, because 3.0 and 3.5 differ only in the Framework classes and the compiler from the 2.0 application!

Only 1.X and 2.0 structures should appear in the IIS configuration.

Edit: Switching targets only happens when you compile your application. Because versions 2.0, 3.0, and 3.5 run in the same .NET Runtime Environment 2.0 (VM). You still need to install additional frameworks because their API is different, but they all execute in the same set of intermediate language instructions.

+1


source


You have ASP.net Serveice (Allowed) in IIS

Anyway, you can use some vbscript to change the .net version.

0


source







All Articles