0
我已经发布了clickonce应用程序到ftp服务器,但是当我尝试安装它时,我收到了此消息和以下错误对话。有人能指出我正确的方向吗?从ftp服务器安装ClickOnce应用程序
它可能是服务器或我的代码?
错误消息:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.6.1055.0 built by: NETFXREL2
clr.dll : 4.6.1055.0 built by: NETFXREL2
dfdll.dll : 4.6.1055.0 built by: NETFXREL2
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///C:/Users/XXXX/Downloads/DatabaseBackupApplication%20(6).application
Deployment Provider url :
<Website Page Same as other 2>
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\XXXX\Downloads\DatabaseBackupApplication (6).application resulted in exception. Following failure messages were detected:
+ Downloading http://XXXX.co.uk/SoftwareUpdate/DatabaseBackupApplication.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
* [08/03/2016 16:21:28] : Activation of C:\Users\XXXX\Downloads\DatabaseBackupApplication (6).application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [08/03/2016 16:21:28] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://XXXX.co.uk/SoftwareUpdate/DatabaseBackupApplication.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.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.
在您的错误消息中显示“远程服务器返回错误:(404)Not Found.'。安装程序找不到文件'http:// <您的网站>/SoftwareUpdate/DatabaseBackupApplication.application'。确保所有内容都已上传并放入正确的文件夹中,并且安装程序已正确设置。 –