deploy mvc2 application to IIS7
Do 开发者_运维技巧I need to create a application pool which supports .net framework 4.0?
This will depend on the framework version your MVC application is targeting. So if you application is targeting .NET 4.0 the application pool must be set to use CLR 4.0. If your application is targeting .NET 3.5 the application pool must be set to use CLR 2.0. Here's an article covering the various deployment scenarios.
精彩评论