Hi developers of the world.
This new post it's based on some problems that I've been facing recently and led me to loose some time on Google.
Much of you already have tried run two different versions of .net framework in a site in iis and if you installed iis 6, you failed.
Well, until iis 5, microsoft with great success allow a site run in iis with different versions of .net framework.
So why isn't possible in iis 6?
The big different is that iis 5 creates a process "aspnet_wp.exe" by each version of the framework. When a new version ir required, iis creates a new process.
Thereby the treatment of the versions was independent and don't cause any trouble between versions.
The iis 6 creates process per application pool (w3wp.exe), so when a site in an application pool use two versions of framework, they will enter in conflit.
This new solution brings mor security, performance and management advantages. You can now specify an Identity User that can be unique per app pool.
So you can't have two different versions of the framework in the same application pool.
What is the solution?
You can't have two versions of the framework but you can have it on the same server. So you need to change your site for a new app pool with the framework that you pretend.
This way you can have two versions of the framework, one per app pool.
I'm not going to explain how you can create an application pool, neither how to move the site to a new application pool. But you quickly find the solution. Just Google it.
I hope this post will help you. Enjoy.
Nenhum comentário:
Postar um comentário