Re: Releasing my VB.NET app over the intranet

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 10/05/04


Date: Tue, 05 Oct 2004 02:13:42 GMT

Hi Schoo,

>From the msdn as below, if our no-touch deployment application needs
another dll, we need to put the dll in the same directory, so that the clr
will probe and load it.

Put your executable out on a remote Web server, and let the user navigate
to it by entering the URL in Microsoft Internet Explorer or by clicking on
a hyperlink to that URL (for example, http://RemoteWebServer/myExe.exe).
The executable will be downloaded to the assembly download cache on the
client machine and launched from that location. DLLs required by the
executable can be referenced as normal in your code. Unless informed
otherwise (see #2 below), the common language runtime (CLR) will look for
the DLLs in the same directory on the remote Web server as the executable,
and the CLR will download them into the assembly download cache from there,
as needed.

Implementing No-Touch Deployment
http://msdn.microsoft.com/netframework/using/building/windows/analystreports
/smartclient.aspx

I am not sure if you have copy your windows application together with
OnCallDB.DLL in the same directory of the windows application EXE image,
you may have a try if you did not do that.

Also if we did not put the dll in the same directory of the exe image, we
will get the binding log as below.
Please note that the clr will try to probe the dll in the directory where
the Appbase pointed to, i.e. the http://localhost.

=== Pre-bind state information ===
LOG: DisplayName = NoTouchDeploymentLib, Version=1.0.1739.17524,
Culture=neutral, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = http://localhost
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : NoTouchDeployment, Version=1.0.1739.17484,
Culture=neutral, PublicKeyToken=null.
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: NoTouchDeploymentLib, Version=1.0.1739.17524,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
http://localhost/NoTouchDeploymentLib.DLL.
LOG: Attempting download of new URL
http://localhost/NoTouchDeploymentLib/NoTouchDeploymentLib.DLL.
LOG: Attempting download of new URL
http://localhost/bin/NoTouchDeploymentLib.DLL.
LOG: Attempting download of new URL
http://localhost/bin/NoTouchDeploymentLib/NoTouchDeploymentLib.DLL.
LOG: Attempting download of new URL
http://localhost/NoTouchDeploymentLib.EXE.
LOG: Attempting download of new URL
http://localhost/NoTouchDeploymentLib/NoTouchDeploymentLib.EXE.
LOG: Attempting download of new URL
http://localhost/bin/NoTouchDeploymentLib.EXE.
LOG: Attempting download of new URL
http://localhost/bin/NoTouchDeploymentLib/NoTouchDeploymentLib.EXE.
LOG: All probing URLs attempted and failed.

Here I assume that the fuslogvw log you provided is when you access to the
exe in the syntax as below.
http://webserver/testapp.exe

So I think the binding log should be in the directory as below.
http://webserver

So far it is strange that the clr will check the path as file:///c:/....,
can you double check if you access to the exe using url.
1. open internet explore
2. access the exe in the url address bar, http://webserver/testapp.exe

You may have a try and let me know the result.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • >>> DLL DOWNLOAD <<<
    ... download pcsx2 gsdx dll d3d ... download windows dll files ... dll file downloads ...
    (sci.astro)
  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.general)
  • Re: Releasing my VB.NET app over the intranet
    ... of the primary EXE and when compiled I am copying the contents ... the directory and open a browser on the web server and type ... > another dll, we need to put the dll in the same directory, so that the clr ... > The executable will be downloaded to the assembly download cache on the ...
    (microsoft.public.dotnet.framework)
  • RE: KB898461 consistently fails to install
    ... It seems to me that you do not have that dll in your system32 folder. ... googling for it and download one from the web and try running the command ... that several aspects of the installation may have failed. ... to 0x80006060 but I think it didn't add any detail to the log file. ...
    (microsoft.public.windowsupdate)

Quantcast