installing multiple versions of .net
-
hi, in my system i have .NET 1.1 & .NET 2.0.i hosted a website also.so when i browse the site which version will invoke. and that application is built on .net 1.1. what could be the problems updating .net1.1 to .net 2.0. thanks & regards naveen.
-
hi, in my system i have .NET 1.1 & .NET 2.0.i hosted a website also.so when i browse the site which version will invoke. and that application is built on .net 1.1. what could be the problems updating .net1.1 to .net 2.0. thanks & regards naveen.
If you go to your website properties under IIS, you see that with the installation of .NET 2.0 a new tab was added named: "ASP.NET". There you can select your .NET version. Furthermore .NET 2.0 is fully compatible with 1.1 and 1.0, so .NET 1.1 code can be compiled and run without problems under .NET 2.0 Gidon
-
If you go to your website properties under IIS, you see that with the installation of .NET 2.0 a new tab was added named: "ASP.NET". There you can select your .NET version. Furthermore .NET 2.0 is fully compatible with 1.1 and 1.0, so .NET 1.1 code can be compiled and run without problems under .NET 2.0 Gidon
hi, thanQ for reply gnjunge. its showing as .net 1.1(read only).iam unable to edit the configuration. And why its taking 1.1 as default instead of 2.0. even i updated to .net 2.0 from .net 1.1. And one more thing is while browsing iam getting an error as "Server Error '/' in Application".And end of the page its displaying .net version as 1.1. Thanks & Regards Naveen.
-
hi, thanQ for reply gnjunge. its showing as .net 1.1(read only).iam unable to edit the configuration. And why its taking 1.1 as default instead of 2.0. even i updated to .net 2.0 from .net 1.1. And one more thing is while browsing iam getting an error as "Server Error '/' in Application".And end of the page its displaying .net version as 1.1. Thanks & Regards Naveen.
Hi Naveen, First of all, if you compile your project in VS 2003, it will use the .NET 1.1 runtime. You can also make it support the 1.0 runtime through your project properties in VS.NET. "Modifying this property causes the project system to update the web.config file in your project by adding assembly binding ( and ) tags in a section. Web pages in Visual Studio-built ASP.NET Web applications are precompiled to a .dll file with a dependency on the runtime associated with the compiler." I guess setting that option in the ASP.NET tab, will compile the aspx pages on runtime to one supporting the 2.0 runtime (but not the pre compiled files, since that option was set in VS.NET) So if you would compile your project in VS.NET 2005, it will use the .NET 2.0 runtime. Gidon