----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: ssv_2000 Message 1 in Discussion Hi All, I have problem with using the <codefile> element. I have a strong named Dll stored on a different path than the applications local directories and I tried to use the <codebase> element in Application configuration file to tell the CLR to load the Dll from a different location. I get an error of "cannot load ClassLibrary2.dll" Below is my configuration file : <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentassembly> <assemblyIdentity name="ClassLibrary2" PublicKeyToken="ffa91e331ca40497"/> <codeBase version="1.1.1.1" href="file:///C:\Sv\ClassLibrary2\bin\ClassLibrary2.DLL"/> </dependentassembly></assemblyBinding> </runtime> </configuration> Any idea what could be wrong. I checked the binding log and that says - LOG: DisplayName = ClassLibrary2, Version=1.1.1.1, Culture=neutral, PublicKeyToken=ffa91e331ca40497 (Fully-specified) LOG: Appbase = C:\Sv\WindowsApplication1\bin\ LOG: Initial PrivatePath = NULL Calling assembly : WindowsApplication1, Version=1.0.1348.2477, Culture=neutral, PublicKeyToken=null. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config. LOG: Post-policy reference: ClassLibrary2, Version=1.1.1.1, Culture=neutral, PublicKeyToken=ffa91e331ca40497 LOG: Attempting download of new URL file:///C:/Sv/WindowsApplication1/bin/ClassLibrary2.DLL. LOG: Attempting download of new URL file:///C:/Sv/WindowsApplication1/bin/ClassLibrary2/ClassLibrary2.DLL. LOG: Attempting download of new URL file:///C:/Sv/WindowsApplication1/bin/ClassLibrary2.EXE. LOG: Attempting download of new URL file:///C:/Sv/WindowsApplication1/bin/ClassLibrary2/ClassLibrary2.EXE. Where am I wrong? Thanks. SriVidya Subramanian. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
