-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Vinu
Message 3 in Discussion

Hi Vineet,   So what you are trying to say is using codebases you could access assy 
across machines Right ?   But this too does not seem to work...I will just paste the 
problem for your assessment which I had posted earlier too..Message id : 3996.    Hi,  
 I would really appreciate if any one could throw some light into this problem. May be 
I'm missing something here. This problem is with regard to accessing a GAC in one 
machine from another set of machines.    Scenario   a. CRAS.exe available in Machine A 
b. AISDB.dll is a shared assembly which exists in D:\AIAssy during design time and is 
referenced the same way in CRAS.exe c. I build the executable d. I need to make a 
applications in different machines share AISDB.dll on a single machine say H:\AIAssy 
e. I uninstall the AISDB.dll from Machine A and installs in Machine B which is mapped 
to my machine as H:\AIAssy f. I do the required configurations using the .NET 
Framework configuration tool to set the values in config file a part of the 
configuration file is as follows   <runtime>
    <gcConcurrent enabled="true" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <publisherPolicy apply="yes" />
      <probing privatePath="Others\;H:\AIAssy" />
      <dependentAssembly>
        <assemblyIdentity name="AISDB" publicKeyToken="e3f9d4cb1b599ec3" />
        <codeBase version="1.0.1289.23786" href="file:///H:\AIAssy" />
      </dependentAssembly>
    </assemblyBinding>
 Result   System.IO.FielNotFound Exception is thrown. The log information seems to be 
skipping the search path.   Log file is as follows The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\WINNT\Microsoft.NET\Framework\v1.0.3705\fusion.dll
Running under executable  D:\TestCenter\CRAS.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = AISDB, Version=1.0.1298.23786, Culture=neutral, 
PublicKeyToken=e3f9d4cb1b599ec3
(Fully-specified)
LOG: Appbase = D:\TestCenter\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : CRAS, Version=1.0.1298.32999, Culture=neutral, PublicKeyToken=null.
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Private path hint found in configuration file: Others\;H:\AIAssy.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from 
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: AISDB, Version=1.0.1298.23786, Culture=neutral, 
PublicKeyToken=e3f9d4cb1b599ec3
LOG: Cache Lookup was unsuccessful.
WRN: Not probing location file:///H:/AIAssy/AISDB.DLL, because the location falls 
outside of the appbase.
WRN: Not probing location file:///H:/AIAssy/   Hope I will get a solution soon   
Thanks  Vinod  

-----------------------------------------------------------

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]

Reply via email to