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 / CLR / October 2006

Tip: Looking for answers? Try searching our database.

Fusion binding - DEVPATH setting doesn't appear to work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt Adamson - 14 Sep 2006 09:15 GMT
As per the instructions at
http://msdn2.microsoft.com/en-us/library/cskzh7h6.aspx I've performed the
following

a) Created a system environment variable DEVPATH set to m:\debug.
b) Added the following to the machine.config for .NET 1.1

   <runtime>
       <developmentMode developerInstallation="true"/>
   </runtime>

When I debug an unmanaged application using a CCW to create a .NET component
the output from fusion binding log viewer is shown below. However I didn't
expect the entry "DEVPATH is not set. Falling through to regular bind.", any
ideas?

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  K:\Development\notification
administrator\Debug\Notification.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = Tranmit.Sprinter.Interop, Version=1.0.6.0,
Culture=neutral, PublicKeyToken=a7e947bc8958e994
(Fully-specified)
LOG: Appbase = K:\Development\notification administrator\Debug\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
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:///K:/Development/notification
administrator/Debug/Notification.exe.config.
LOG: Found application configuration file (K:\Development\notification
administrator\Debug\Notification.exe.config).
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: Tranmit.Sprinter.Interop, Version=1.0.6.0,
Culture=neutral, PublicKeyToken=a7e947bc8958e994
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop.DLL.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.DLL.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop.EXE.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
LOG: All probing URLs attempted and failed.
Matt Adamson - 18 Sep 2006 09:02 GMT
I've got part the first part of this after realising that the path set in
DEVPATH has to have a closing ; character e.g. m:\release; in this case.

However I now get still get an error when reviewing the fusion binding log
i.e.

LOG: Processing DEVPATH.
LOG: Unable to find assembly in DEVPATH location:
m:\release\Tranmit.Sprinter.Interop.DLL.
LOG: Unable to find assembly in DEVPATH location:
m:\release\Tranmit.Sprinter.Interop.EXE.
LOG: Unable to find assembly in DEVPATH.
LOG: Publisher policy file is not found.

The file does indeed exist in this location, does anyone have any ideas?

> As per the instructions at
> http://msdn2.microsoft.com/en-us/library/cskzh7h6.aspx I've performed the
[quoted text clipped - 57 lines]
> administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
> LOG: All probing URLs attempted and failed.
Matt Adamson - 19 Sep 2006 10:58 GMT
Any ideas anyone?

Does anyone from the CLR team read these posts who can help?

> I've got part the first part of this after realising that the path set in
> DEVPATH has to have a closing ; character e.g. m:\release; in this case.
[quoted text clipped - 73 lines]
>> administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
>> LOG: All probing URLs attempted and failed.
Matt Adamson - 27 Sep 2006 11:10 GMT
Any thoughts?

> Any ideas anyone?
>
[quoted text clipped - 77 lines]
>>> administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
>>> LOG: All probing URLs attempted and failed.
Matt Adamson - 10 Oct 2006 21:34 GMT
Does anyone have any thoughts?

> Any thoughts?
>
[quoted text clipped - 81 lines]
>>>> administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
>>>> LOG: All probing URLs attempted and failed.
nrolland - 25 Oct 2006 09:25 GMT
I have no suggestion, but one question for you :
After failing to look for DEVPATH in your first log, why is there no
GAC lookup ?

I have a related message:
http://groups-beta.google.com/group/microsoft.public.dotnet.general/browse_threa
d/thread/580a728b23d0561a/d1a3185aeaafc96b#d1a3185aeaafc96b
)

Nicolas

On Oct 10, 10:34 pm, "Matt Adamson" <Adamson_matt...@hotmail.com>
wrote:
> Does anyone have any thoughts?
>
[quoted text clipped - 83 lines]
> >>>> administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
> >>>> LOG: All probing URLs attempted and failed.

Rate this thread:







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.