Link to home
Start Free TrialLog in
Avatar of andrew67
andrew67

asked on

.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
Avatar of Abhay Pujari
Abhay Pujari
Flag of India image

Which IIS version are you using? Have you configured separate app pools for each version of ASP.net?
Avatar of andrew67
andrew67

ASKER

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

Update me here if it won't work.
hi will do

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

Not a problem.
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
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.
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

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

thanks
ASKER CERTIFIED SOLUTION
Avatar of Abhay Pujari
Abhay Pujari
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
done ill let you know how it goes thanks