[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Migrating from IIS6 to IIS7

Posted on 2014-01-27
3
Medium Priority
?
938 Views
Last Modified: 2014-01-30
Hi Experts,

We have  a legacy .Net Application (Asp.net 2.0,.Net Framework 2.0,VS 2005) hosted on IIS6 (windows server 2003)  working fine without any issue.Now we want to migrate the application to  IIS7 (windows server 2008).I am getting error at Global.asax when I select application pool pipeline mode as "integrated " in IIS7 and this error r is due to a design change in the IIS7 Integrated pipeline .I resolved this error just by changing app pool pipeline mode to "classic" and working fine.

I googled on this issue some recommend "classic" without changing any code and others recommend "Integrate" mode and for this I need to change the code at Global.asax file.

Can anyone guide me which approach should I opt and what are the implications of using one over  the other? (classic vs integrated)


Thanks in Advance
0
Comment
Question by:ksd123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 39815030
That is a great question, but there is not really an easy answer.  Let's start with an explanation from Micro$oft:

Introduction to IIS Architectures
http://www.iis.net/learn/get-started/introduction-to-iis/introduction-to-iis-architecture

INTEGRATED APPLICATION POOL MODE

When an application pool is in Integrated mode, you can take advantage of the integrated request-processing architecture of IIS and ASP.NET. When a worker process in an application pool receives a request, the request passes through an ordered list of events. Each event calls the necessary native and managed modules to process portions of the request and to generate the response.

There are several benefits to running application pools in Integrated mode. First the request-processing models of IIS and ASP.NET are integrated into a unified process model. This model eliminates steps that were previously duplicated in IIS and ASP.NET, such as authentication. Additionally, Integrated mode enables the availability of managed features to all content types.

CLASSIC APPLICATION POOL MODE

When an application pool is in Classic mode, IIS 7 and above handles requests in the same way as in IIS 6.0 worker process isolation mode. ASP.NET requests first go through native processing steps in IIS and are then routed to Aspnet_isapi.dll for processing of managed code in the managed runtime. Finally, the request is routed back through IIS to send the response.

This separation of the IIS and ASP.NET request-processing models results in duplication of some processing steps, such as authentication and authorization. Additionally, managed code features, such as Forms authentication, are only available to ASP.NET applications or applications for which you have script mapped all requests to be handled by aspnet_isapi.dll.

Be sure to test your existing applications for compatibility in Integrated mode before upgrading a production environment to IIS 7 and above and assigning applications to application pools in Integrated mode. You should only add an application to an application pool in Classic mode if the application fails to work in Integrated mode. For example, your application might rely on an authentication token passed from IIS to the managed runtime, and, due to the new architecture in IIS 7 and above, the process breaks your application.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39815034
Then, ask yourself why you are going to IIS7?  I always like to run in Integrated Mode, so I would investigate what you are using in the Global.asax, that requires IIS 6 worker-process isolation mode (Classic), and see if there is a different approach.
0
 

Author Closing Comment

by:ksd123
ID: 39820394
Thanks for the explanation
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question