Here's a different problem, which might be easier to resolve than the one
in the previous post. When I published the project, I added a "xx" to the
last folder name like this:
http://xxx.xxx.xx.xxx/TransActDeployment/TransAct_DEMOxx/
so it created a new folder on the remote server (IIS 6.0) and it published
fine. Then I went to a test workstation to test the clickonce install and
part way through downloading the DLLs it stopped. Here's the details of
the failure. I'll attach the same text in an attachment as it might be
easier to read in a text file. If we can get this to work, then we can
forget about the problem in the previous post (for now). However, it sure
would be nice to have a thorough understanding of why these various
problems occur. MS should publish a book detailing the various issues and
resolutions (in great detail) surrounding clickonce deployment.
Thanks.
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url :
http://xxx.xxx.xx.xxx/TransActDeployment/TransAct_DEMOxx/TransActLogin.application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
Deployment Provider url :
http://xxx.xxx.xx.xxx/TransActDeployment/TransAct_DEMOxx/TransActLogin.application
Application url :
http://xxx.xxx.xx.xxx/TransActDeplo...nsActLogin_1_0_0_7/TransActLogin.exe.manifest
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
IDENTITIES
Deployment Identity : TransActLogin.application, Version=1.0.0.7,
Culture=neutral, PublicKeyToken=954fa8df58cc2d6e,
processorArchitecture=msil
Application Identity : TransActLogin.exe, Version=1.0.0.7,
Culture=neutral, PublicKeyToken=954fa8df58cc2d6e,
processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of
http://xxx.xxx.xx.xxx/TransActDeployment/TransAct_DEMOxx/TransActLogin.application
resulted in exception. Following failure messages were detected:
+ File, TransActLogin.exe, has a different computed hash than specified
in manifest.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/19/2006 8:58:13 PM] : Activation of
http://xxx.xxx.xx.xxx/TransActDeployment/TransAct_DEMOxx/TransActLogin.application
has started.
* [3/19/2006 8:58:14 PM] : Processing of deployment manifest has
successfully completed.
* [3/19/2006 8:58:14 PM] : Installation of the application has started.
* [3/19/2006 8:58:14 PM] : Processing of application manifest has
successfully completed.
* [3/19/2006 8:58:19 PM] : Request of trust and detection of platform is
complete.
ERROR DETAILS
Following errors were detected during this operation.
* [3/19/2006 8:58:21 PM]
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, TransActLogin.exe, has a different computed hash than specified
in manifest.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String
filePath, Hash hash)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String
filePath, HashCollection hashCollection)
at
System.Deployment.Application.ComponentVerifier.FileComponent.Verify()
at System.Deployment.Application.ComponentVerifier.VerifyComponents()
at
System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState
subState, AssemblyManifest deployManifest, AssemblyManifest appManifest,
Uri sourceUriBase, String targetDirectory, String group,
IDownloadNotification notification, DownloadOptions options)
at
System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState
subState, ActivationDescription actDesc, Int64 transactionId,
TempDirectory& downloadTemp)
at
System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState
subState, ActivationDescription actDesc)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
--
(e-mail address removed)
"Jeffrey Tan[MSFT]" said:
Hi moondaddy,
Thanks for your feedback.
Sorry, if you do not provide detailed information regarding your issue, I
can not provide much useful information to help you out.
I do not think there is much requirement on IIS server, please refer to
the
following ClickOnce FAQ link:
"Are there any special server requirements for hosting a "ClickOnce"
application?"
http://www.windowsforms.net/FAQs/default.aspx?PageID=2&ItemID=7&CategoryID=2
4&tabindex=2
So, I suggest you first try to ensure a html or aspx page can be browsed
from this virtual folder with
http://localhost/virtualfolder/test.aspx(or
test.html). Then, you may some other client machine to access your
clickonce application, does the error still generate. If so, please post
the detailed failure information and information context.
At last, the link below is the definite documentation regarding how to
troubleshoot the ClickOnce deployment issue, you may give it a detailed
check:
"Troubleshooting ClickOnce Deployment "
http://msdn2.microsoft.com/en-us/library/ms165433.aspx
Hope this helps!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no
rights.