Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Config Error in ISS with ASP.NET

Status
Not open for further replies.

fltr

IS-IT--Management
Jul 7, 2004
7
0
0
GB
We've developed a .NET app on one machine and ported it to another for deployment. However, we're getting this error when we try to access the app via the browser. It was developed under Framework 1.1 but we've realised the new server runs only 1.0.3... would this have an impact?

We're interrogating the Active Directory to set up permissions on the site as well as for reporting purposes, but we're getting an error with reference to to the following. (Full error text below) Any ideas anybody.

--

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Can not access file 'System.DirectoryServices' because it is being used by another process.

Source Error:

Line 197: <add assembly="System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 199: <add assembly="*"/>
Line 200: </assemblies>
Line 201:



Source File: c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Line: 199


 
It was developed under Framework 1.1 but we've realised the new server runs only 1.0.3... would this have an impact?
Answer is Yes
I would upgrade the framework first then see if the error occures after

Good luck


Note:Copying and Pasting is NoT Creativity.
What would you attempt to accomplish if you knew you would not fail?
 
Thanks...

Next question. Can IIS run multiple versions of the .NET framework... so apps that use 1.0 continue to do so whilst new apps built under 1.1 use the new version?

I've noticed that the app starts when IIS is running v1.1.

THe issues are the client will not entertain wholesale upgrades at this point as it is part of their IT policy; but I reckon if both instances can run then this may be a workaround.
 
you can specify what version of framework your application was built to run under. there should be no reason to specify any of this to the IIS

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
You can install and Run both fromeworks and as DaZZelD said you can specify the framework your application should run under


Good luck


Note:Copying and Pasting is NoT Creativity.
What would you attempt to accomplish if you knew you would not fail?
 
Got this one resolved now... thanks for all your help guys!

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top