codeBase in machine.config vs web.config

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I am trying to create private shared assemblies. For the moment we are not considering the GAC. I have a common directory into which I will put a few corporate DLLs

I created a test EXE and test Web app. They both talk to a test DLL I created. I strong named the DLL and moved it to my common folder above the application folders

When I put the assembly binding information into app.config or web.config, the programs pick up the DLL in the common directory. When I cut and paste this XML block into machine.config, the programs cannot find the file. I tried this with CASPOL -off just to make sure it was not a security permission. I looked at fuslogvw and all I noticed was that it did not search my folder specified in codeBase when in machine.config but found it when in web/app.config

We want this value in machine.config as our asp.net applications running on one server will be all sharing these DLLs

Thanks
 
Hi,

It seems to be known in the .net framework.

You may take a look at the KB article below.

ASP.NET Configuration File Processing Ignores the Codebase Hints That
Appear in the Machine.config File (812832)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;812832

FIX: The Visual Studio .NET 2002 Macro IDE crashes after you apply certain
ASP.NET fixes
http://support.microsoft.com/default.aspx?scid=KB;EN-US;816498

As the KB said, you may need to contact MS PSS for hotfix, and please
specified which platform you are using.
e.g. window xp +sp1,.net framework 1.x +spx.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thanks for you help. I can stop chasing it now. I should have searched KB first before taking up your time.
 
Back
Top