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
Solved

Migrating from IIS6 to IIS7

Posted on 2014-01-27
3
913 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
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bot attack question 11 43
JSON Deserialize issue 6 26
Phone Does Not Abide By CSS Breakpoint For Navigation Controls 6 20
Code enhancement 4 20
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 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