Re: Releasing my VB.NET app over the intranet
From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 10/05/04
- Next message: Cowboy \(Gregory A. Beamer\): "Re: visio class diagram from dll.."
- Previous message: john smithers: "Crystal reports datasource relative path"
- In reply to: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Next in thread: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Reply: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Cowboy \(Gregory A. Beamer\): "Re: visio class diagram from dll.."
- Previous message: john smithers: "Crystal reports datasource relative path"
- In reply to: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Next in thread: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Reply: Schoo: "Re: Releasing my VB.NET app over the intranet"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|