Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

.net framework on iis

Posted on 2009-02-23
15
Medium Priority
?
428 Views
Last Modified: 2012-05-06
Hi all

wierd one here, ive installed the .net framework version 3.5 on iis, however at least once a week the framework crashes and i need to reinstall it

the error in the event log is

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.

For more information, see Help and Support Center at

thanks

andrew
0
Comment
Question by:andrew67
  • 8
  • 7
15 Comments
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23710489
Which IIS version are you using? Have you configured separate app pools for each version of ASP.net?
0
 
LVL 3

Author Comment

by:andrew67
ID: 23710638
hi ive just located teh asp.dll file and that says im running version 6.0.3790.4195

however prior to that ive just run a windows update, ive scheduled the server to restart in the middle of the night and im hopping this is going to cure all my problems.

any other suggestions if you think this wont work

0
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23718745
Update me here if it won't work.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:andrew67
ID: 23721077
hi will do

due to the unpredictability of it, it may be a few days

0
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23722064
Not a problem.
0
 
LVL 3

Author Comment

by:andrew67
ID: 23793582
hi just checked the server and its had one of its turns again the error in the event viewer is

"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."

thanks
0
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23793596
Ok. Are you using a\other applications which need different version of .NET framework? If you are then you need to reconfigure your server to run application in a separate mode.
0
 
LVL 3

Author Comment

by:andrew67
ID: 23793774
ive just noticed that all the sites that run with the .net framework are all set to version 2..... and that was all ok the only think i have had to change to sort it out is to re set the default site back to version 2 which for some reason keeps going back to version 1

im not to sure why as well but all sites are in a directory that is a child of the default site

so for eg default points to d:/webroot
site one points to d:/webroot/siteone

and so on

im sure this is the problem what do you think

0
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23793809
This is not a problem. What you think are virtual directories rather than site. A possible solution could be you have to create an application pool and ask it to use a version of .NET which you want to use for your application and then use this pool for your application. What do you think?
0
 
LVL 3

Author Comment

by:andrew67
ID: 23793843
0
 
LVL 3

Author Comment

by:andrew67
ID: 23793865
the only problem is i have no idea how to set up an application pool, any clues?
0
 
LVL 11

Expert Comment

by:Abhay Pujari
ID: 23793979
It is a simple process. Just go to IIS manager and expand application pools. Then right click on application pool and click new --- Application pool. Give some name and choose settings. Then click ok.
Now you have to configure IIS in such a way that both applications pool must be in use by specific .NET frameworks.
0
 
LVL 3

Author Comment

by:andrew67
ID: 23794238
part 1 ive done and was quite easy as you said
part 2 no idea can you expand a bit

thanks
0
 
LVL 11

Accepted Solution

by:
Abhay Pujari earned 200 total points
ID: 23794337
0
 
LVL 3

Author Comment

by:andrew67
ID: 23795423
done ill let you know how it goes thanks
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question