linquize
linquize

Reputation: 20366

IIS ASP.NET when to use Integrated Mode or Classic Mode?

I use .NET 4, IIS 7.5, Win 7 or Server 2008 R2

On some machines, Integrated Mode works but Classic Mode does not.

The rest of machines, Classic Mode works but Integrated Mode does not.

When writing the user manual, I have to to tell the users to try the 2 modes until the application runs successfully.

Can anyone suggest some concrete ideas to choose which mode to use, rather than trying both?

Upvotes: 1

Views: 2723

Answers (2)

Lex Li
Lex Li

Reputation: 63123

To choose a pipeline mode, you should start from evaluating your own application.

http://www.iis.net/learn/application-frameworks/building-and-running-aspnet-applications/aspnet-20-breaking-changes-on-iis

First run your app in integrated mode, and see if any of the above issues happen. You can switch to classic if you don't want to fix them.

If you experience issues that are machine dependent, not pipeline mode dependent, you need to collect further information and troubleshoot. That's not something simply caused by the pipeline mode, but should be a result of multiple factors. Without further analysis, of course your manual is impossible to write.

Upvotes: 0

Akash Saxena
Akash Saxena

Reputation: 11

Classic Mode: IIS 7.0 offers the ability to run ASP.NET applications using the legacy Classic ASP.NET Integration mode, which works the same way as ASP.NET has worked on previous versions of IIS.

Upvotes: 1

Related Questions