• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

.net framework on iis

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
andrew67
Asked:
andrew67
  • 8
  • 7
1 Solution
 
Abhay PujariCommented:
Which IIS version are you using? Have you configured separate app pools for each version of ASP.net?
0
 
andrew67Author Commented:
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
 
Abhay PujariCommented:
Update me here if it won't work.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
andrew67Author Commented:
hi will do

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

0
 
Abhay PujariCommented:
Not a problem.
0
 
andrew67Author Commented:
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
 
Abhay PujariCommented:
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
 
andrew67Author Commented:
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
 
Abhay PujariCommented:
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
 
andrew67Author Commented:
0
 
andrew67Author Commented:
the only problem is i have no idea how to set up an application pool, any clues?
0
 
Abhay PujariCommented:
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
 
andrew67Author Commented:
part 1 ive done and was quite easy as you said
part 2 no idea can you expand a bit

thanks
0
 
andrew67Author Commented:
done ill let you know how it goes thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now