Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

It is not possible to run two different versions of ASP.NET in the same IIS process.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dica - 04 Sep 2007 13:41 GMT
i keep getting "It is not possible to run two different versions of ASP.NET
in the same IIS process." in my event logs. i know how to resolve the
problem, but i've got hundreds of web sites on my server.

is there a simple way of tracking down which site(s) are causing this error?

tks
Juan T. Llibre - 04 Sep 2007 15:49 GMT
Hi, Dica.

re:
!> is there a simple way of tracking down which site(s) are causing this error?

The likeliest culprit is the last application you configured.

If you don't recall which one that was, check the applications'
folder creation dates...and start checking the last apps created.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>i keep getting "It is not possible to run two different versions of ASP.NET in the same IIS process." in my event logs.
>i know how to resolve the problem, but i've got hundreds of web sites on my server.
>
> is there a simple way of tracking down which site(s) are causing this error?
>
> tks
Dica - 04 Sep 2007 18:23 GMT
> Hi, Dica.
>
[quoted text clipped - 6 lines]
> If you don't recall which one that was, check the applications'
> folder creation dates...and start checking the last apps created.

unfortunately, this started happening after we set up our new server and
manually set re-created all the IIS sites, so i really have no history to
work off.

> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
[quoted text clipped - 8 lines]
>>
>> tks
Mike - 04 Sep 2007 16:54 GMT
Create a new app log under IIS one for .NET 1.x and one for .NET 2.0 and
then point your web apps to the correct app pool.

You can't run .NET 1.x and .NET 2.0 in the same app pool, they have to be
seperate.

>i keep getting "It is not possible to run two different versions of ASP.NET
>in the same IIS process." in my event logs. i know how to resolve the
[quoted text clipped - 4 lines]
>
> tks
Mike - 04 Sep 2007 17:42 GMT
I meant App Pool under IIS not app log under IIS
> Create a new app log under IIS one for .NET 1.x and one for .NET 2.0 and
> then point your web apps to the correct app pool.
[quoted text clipped - 10 lines]
>>
>> tks
Dica - 04 Sep 2007 18:24 GMT
yeah, i was wondering about the log setting. i've created separate pools for
the dot net sites i know about, but wish the err logs were a little more
specific about which site is causing the problem.

>I meant App Pool under IIS not app log under IIS
>> Create a new app log under IIS one for .NET 1.x and one for .NET 2.0 and
[quoted text clipped - 11 lines]
>>>
>>> tks
Juan T. Llibre - 04 Sep 2007 18:45 GMT
It looks like your best recourse is running

aspnet_regiis -lk

...from any of the .Net Framework directories.

That will give you a list of applications and tell you whether
they are running under the .Net Framework 1.1 or 2.0.

Maybe something will jog your memory.

The lesson to be learned from your problem is that you should
keep a log of which applications run under which .Net Framework.

If you had that now, it would have saved you a lot of hassles.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> yeah, i was wondering about the log setting. i've created separate pools for the dot net sites i know about, but wish
> the err logs were a little more specific about which site is causing the problem.
[quoted text clipped - 11 lines]
>>>>
>>>> tks
Alexey Smirnov - 04 Sep 2007 19:54 GMT
> It looks like your best recourse is running
>
> aspnet_regiis -lk

just want to add that you can find the name of the site in
system32\inetsvr\MetaBase.xml

aspnet_regiis -lk gives just an id from the IIS metabase
Juan T. Llibre - 04 Sep 2007 20:07 GMT
re:
!> just want to add that you can find the name of the site in
!> system32\inetsvr\MetaBase.xml

...although sifting through all the info in MetaBase.xml could take some time

;-)

Maybe the IIS Resource Kit's Metabase Explorer could help ?

http://support.microsoft.com/kb/840671

Download the IIS Resource Kit's Metabase Explorer from :
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628
-ade629c89499


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>> It looks like your best recourse is running
>>
[quoted text clipped - 4 lines]
>
> aspnet_regiis -lk gives just an id from the IIS metabase
Alexey Smirnov - 04 Sep 2007 21:08 GMT
> re:
> !> just want to add that you can find the name of the site in
> !> system32\inetsvr\MetaBase.xml
>
> ...although sifting through all the info in MetaBase.xml could take some time

Open in notepad, Ctrl+F

:-))
Dica - 04 Sep 2007 21:46 GMT
>> re:
>> !> just want to add that you can find the name of the site in
[quoted text clipped - 4 lines]
>
> Open in notepad, Ctrl+F

tks for the suggestions, guys. i think i've tracked down the offending site.

> :-))
Juan T. Llibre - 05 Sep 2007 02:40 GMT
re:
!> Open in notepad, Ctrl+F

<chuckle>

I'll take that comment as being tongue-in-cheek.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>> re:
>> !> just want to add that you can find the name of the site in
[quoted text clipped - 5 lines]
>
> :-))
Alexey Smirnov - 05 Sep 2007 07:57 GMT
> re:
> !> Open in notepad, Ctrl+F
[quoted text clipped - 19 lines]
>
> - Show quoted text -

Juan, to search by id of one of hundreds of web sites in Metabase
Explorer could take some time too, to be honest. I agree it's a great
tool, but there is no search functionality and you have to install
it.  So, there is no irony here, notepad is just another approach.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.