从ftp服务器安装ClickOnce应用程序

时间:2016-03-08 17:29:42

标签: vb.net ftp clickonce

我已经向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.

Screenshot of theerror

1 个答案:

答案 0 :(得分:0)

感谢任何回复我发现问题是我使用的FTP是使用基于Linux的系统而不是Windows。我现在整理好了,再次感谢。