Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / October 2003

Tip: Looking for answers? Try searching our database.

Fusion info

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emmanuel Stapf - 08 Oct 2003 20:34 GMT
Hi,

I have the following reports from fusion at the bottom of this mail. The thing I
don't understand is why I get a warning about not being able to probe in G:\work
which is where my assembly is indeed located? How do I make it so that it looks
in G:\work?

Thanks,
Manu

*** Assembly Binder Log Entry  (10/8/2003 @ 12:18:59 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable  G:\work\test.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = emitter, Version=5.4.120.0, Culture=neutral,
PublicKeyToken=def26f296efef469
(Fully-specified)
LOG: Appbase = d:\tmp\
LOG: Initial PrivatePath = G:\work\
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = emitter
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Attempting application configuration file download.
LOG: Download of application configuration file was attempted from
file:///d:/tmp/test.exe.config.
LOG: Application configuration file does not exist.
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.1.4322\config\machine.config.
LOG: Post-policy reference: emitter, Version=5.4.120.0, Culture=neutral,
PublicKeyToken=def26f296efef469
LOG: Cache Lookup was unsuccessful.
WRN: Not probing location file:///G:/work/emitter.DLL, because the location
falls outside of the appbase.
WRN: Not probing location file:///G:/work/emitter/emitter.DLL, because the
location falls outside of the appbase.
WRN: Not probing location file:///G:/work/emitter.EXE, because the location
falls outside of the appbase.
WRN: Not probing location file:///G:/work/emitter/emitter.EXE, because the
location falls outside of the appbase.
LOG: Attempting download of new URL file:///d:/tmp/emitter.DLL.
LOG: Attempting download of new URL file:///d:/tmp/emitter/emitter.DLL.
LOG: Attempting download of new URL file:///d:/tmp/emitter.EXE.
LOG: Attempting download of new URL file:///d:/tmp/emitter/emitter.EXE.
LOG: All probing URLs attempted and failed.
Emmanuel Stapf - 08 Oct 2003 22:58 GMT
For those who might have search a long time here is the trick:

While creating a new AppDomain using a AppDomainSetup instance, make sure that
ApplicationBase of AppDomainSetup to `file://' and initialize `PrivateBinPath'
with all the directories where to look for an assembly.

It work very nicely and solved my problem of the warning.

Regards,
Manu

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.