Application Pools for New Sites
am 03.08.2007 17:56:27 von evanburen
When creating new sites in IIS 6, is the best practice to create a new
application pool for each site? I'm running into a problem where a
site running ASP.NET 2.0 is throwing errors in the Application events
saying which brings down my ASP.NET service for all my sites on the
same server.
"It is not possible to run two different versions of ASP.NET in the
same IIS process. Please use the IIS Administration Tool to
reconfigure your server to run the application in a separate process."
EventID 1062.
The suggested remedy for this is to create a new application pool for
the site. I'm wondering if I need to create a new application pool
for every site or just the one giving me a problem?
Thanks
Re: Application Pools for New Sites
am 03.08.2007 18:21:33 von Kristofer Gafvert
Hello,
The error description tells you what the problem is. You are trying to run
two different versions of ASP.NET in the same IIS process. You must
separate ASP.NET versions in different application pools.
Perhaps you have one website using .NET 1.1 and all other websites using
..NET 2.0? And whenever there is a request for the website that is using
another .NET version than the one that was originally loaded into memory,
it crashes.
There is no best practice to create a new application pool for each site.
Whether you should create a new application pool or not depends on the
situation. Some IIS administrators want to run many websites in one
application pool, other administrators wants to have several application
pools in one website.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
shankwheat wrote:
>When creating new sites in IIS 6, is the best practice to create a new
>application pool for each site? I'm running into a problem where a
>site running ASP.NET 2.0 is throwing errors in the Application events
>saying which brings down my ASP.NET service for all my sites on the
>same server.
>
>"It is not possible to run two different versions of ASP.NET in the
>same IIS process. Please use the IIS Administration Tool to
>reconfigure your server to run the application in a separate process."
>EventID 1062.
>
>The suggested remedy for this is to create a new application pool for
>the site. I'm wondering if I need to create a new application pool
>for every site or just the one giving me a problem?
>
>Thanks