NET TIP: Run ASP.NET 1.1 with ASP.NET 2.0 On Windows 2003 NET Tips: Run ASP.NET 1.1 and ASP.NET 2.0 on Windows 2003

xiaoxiao2021-04-02  242

NET TIP: Run Asp.Net 1.1 with ASP.NET 2.0 on Windows 2003

NET Tips: Run ASP.NET 1.1 and ASP.NET 2.0 on Windows 2003

As a provider of a web server, I always try to maintain the latest technology on the server, while supporting the old technology. In the ASP.NET environment, my most important customer uses 1.1, but a few customers have also begun to involve 2.0. I have explored the way two versions of the two versions on a Window 2003 server. This method requires some steps.

The first thing you have to do is to install .NET Framework 2.0 on your web server. You can get a categorible file for free on Microsoft's Web Site. They now have 32 and 64-bit two different versions. Similarly, there is a separate version to run on the IA64 platform. Please get the correct .NET Framework version 2.0 version you need based on your running Windows2003 (32-bit and 64-bit).

During the installation process, you will be able to switch any version of the Web site to .NET Framework 2.0. I don't recommend you to do this now. Switch an ASP.NET 1.1 Site to ASP.NET 2.0 will allow your site to run correctly, when a version is very different from other versions.

Once you have Framework installed, open Internet Services Manager in Administrative Tools Menu Group. You need to complete the following three tasks to configure your programs so that they can run on .NET Framework 2.0.

Create a new application pool to isolate the .NET Framework 2.0 program and the .NET Framework 1.1 program. You can use the settings of the default pool because you are a novice. On my server, the pool is running under system permissions because each website is separated by a secure account. However, you may want to use a low permissions level.

In a property running the .NET Framework 2.0 site, replace your program pool into your new program you created. Use the primary directory's property dialog page to make changes to your site.

In the properties page of the new ASP.NET, this will change all extended mappings to 2.0's corresponding mapping to handle .aspx and some lower versions. The page of the ASP.NET is added to the Internet Services Manager, when you are loading .NET Framework 2.0 on the server. If you don't want to see that page, you can use the restart or reload Framework.

After you have finished these three steps, you may worry about the server's program error, because .NET has a lot of cumbersome settings when you run the ASP.NET 1.1 and ASP.NET 2.0 Sites in the same booth. If you miss the above steps or when you are doing those settings, someone trying to download the page, it is a typical issue. The easiest solution is to run an Iisreset on Command Line.

转载请注明原文地址:https://www.9cbs.com/read-131359.html

New Post(0)