-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Vinu
Message 1 in Discussion
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/AISDB/AISDB.DLL, because the location
falls outside of the appbase.
WRN: Not probing location file:///H:/AIAssy/AISDB.EXE, because the location falls
outside of the appbase.
WRN: Not probing location file:///H:/AIAssy/AISDB/AISDB.EXE, because the location
falls outside of the appbase.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB/AISDB.EXE.
LOG: All probing URLs attempted and failed.
I assume that the assembly should probe other than the appbase if there is a strong
key generated for the same. mind you that CRAS .exe does not have a strong key name as
it has also some local dll's involved. I would appreciate if any one could throw
some light into this problem. Note : I used Gacutil to install and uninstall.
Platform is 2000 Server on both the machines and this is tested on .NET 1.0. Thanks
in advance, Regards, Vinod 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/AISDB/AISDB.DLL, because the location
falls outside of the appbase.
WRN: Not probing location file:///H:/AIAssy/AISDB.EXE, because the location falls
outside of the appbase.
WRN: Not probing location file:///H:/AIAssy/AISDB/AISDB.EXE, because the location
falls outside of the appbase.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB/AISDB.DLL.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/AISDB/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB.EXE.
LOG: Attempting download of new URL file:///D:/TestCenter/Others/AISDB/AISDB.EXE.
LOG: All probing URLs attempted and failed.
I assume that the assembly should probe other than the appbase if there is a strong
key generated for the same. mind you that CRAS .exe does not have a strong key name as
it has also some local dll's involved. I would appreciate if any one could throw
some light into this problem. Note : I used Gacutil to install and uninstall.
Platform is 2000 Server on both the machines and this is tested on .NET 1.0. Thanks
in advance, Regards, 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]