|
I pulished a ClickOnce using VS 2005, and I can install the application at Server side (windows server 2003 and IIS 6) through webpage. However, when I tried to download the application setup from workstation (vista machine). 404 not found Error was reported. I did some search over Google and some suggested to add MIME type for .application .manifest and .deploy to my website and I did, but still got the error, the IIS supposed to be able to handle .application request after adding these MIME types, right? Then Where could be the problem?? The error message in log file is listed below, can anyone help me?? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PLATFORM VERSION INFO Windows : 6.0.6002.131072 (Win32NT) Common Language Runtime : 2.0.50727.4016 System.Deployment.dll : 2.0.50727.4016 (NetFxQFE.050727-4000) mscorwks.dll : 2.0.50727.4016 (NetFxQFE.050727-4000) dfdll.dll : 2.0.50727.4016 (NetFxQFE.050727-4000) dfshim.dll : 2.0.50727.4016 (NetFxQFE.050727-4000) SOURCES Deployment url : http://192.168.1.88:8080/DeployTest.application Server : Microsoft-IIS/6.0 X-Powered-By : ASP.NET Deployment Provider url : http://home-svr/DeployTest/DeployTest.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://192.168.1.88:8080/DeployTest.application resulted in exception. Following failure messages were detected: + Downloading http://home-svr/DeployTest/DeployTest.application did not succeed. + The remote server returned an error: (404) Not Found. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [9/4/2009 1:50:17 PM] : Activation of http://192.168.1.88:8080/DeployTest.application has started. ERROR DETAILS Following errors were detected during this operation. * [9/4/2009 1:50:23 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading http://home-svr/DeployTest/DeployTest.application did not succeed. - Source: System.Deployment - Stack trace: at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation) at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options) at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) --- Inner Exception --- System.Net.WebException - The remote server returned an error: (404) Not Found. - Source: System - Stack trace: at System.Net.HttpWebRequest.GetResponse() at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) COMPONENT STORE TRANSACTION DETAILS No transaction information is available.
|