VB.Net应用程序下载未成功

时间:2019-06-23 05:53:24

标签: vb.net deployment

几次部署项目时遇到错误。在项目的第18版中,我注意到打开应用程序后,它不会自动安装。我试图通过运行system.application文件来手动安装它,但是很遗憾,我收到了“应用程序下载未成功”的信息。

我已经在网上搜索并确实尝试了一些解决此问题的方法,但没有一个起作用。我正在使用VS2015进行编码。

Cannot Start Application

PLATFORM VERSION INFO
    Windows             : 10.0.17134.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.42000
    System.Deployment.dll       : 4.7.3056.0 built by: NET472REL1
    clr.dll             : 4.7.3416.0 built by: NET472REL1LAST_B
    dfdll.dll           : 4.7.3056.0 built by: NET472REL1
    dfshim.dll          : 10.0.17134.1 (WinBuild.160101.0800)

SOURCES
    Deployment url          : file:///C:/KidsMonitoringSystem/Application%20Files/Kids%20Monitoring%20System_1_0_0_20/Kids%20Monitoring%20System.application
    Deployment Provider url     : file://users/Team%20Guilas/Desktop/Kids/Kids%20Monitoring%20System.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\KidsMonitoringSystem\Application Files\Kids Monitoring System_1_0_0_20\Kids Monitoring System.application resulted in exception. Following failure messages were detected:
        + Downloading file://users/Team Guilas/Desktop/Kids/Kids Monitoring System.application did not succeed.
        + The network path was not found.

        + The network path was not found.

        + The network path was not found.


COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [6/23/2019 12:50:20 AM] : Activation of C:\KidsMonitoringSystem\Application Files\Kids Monitoring System_1_0_0_20\Kids Monitoring System.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [6/23/2019 12:50:23 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file://users/Team Guilas/Desktop/Kids/Kids Monitoring System.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, X509Certificate2 clientCertificate)
            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, Uri& deploymentUri)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(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 network path was not found.

        - Source: System
        - Stack trace:
            at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
        --- Inner Exception ---
        System.Net.WebException
        - The network path was not found.

        - Source: System
        - Stack trace:
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
            at System.Net.FileWebRequest.GetResponseCallback(Object state)
        --- Inner Exception ---
        System.IO.IOException
        - The network path was not found.

        - Source: mscorlib
        - Stack trace:
            at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
            at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

1 个答案:

答案 0 :(得分:1)

答案似乎在您发布的已记录信息中:您的应用程序托管在/发布到网络位置(smb文件共享?),并且消失了:

  
      
  • 下载文件:// users / Team Guilas / Desktop / Kids / Kids监视系统。应用程序未成功
  • 。   
  • 找不到网络路径。
  •   

检查您的网络连接,服务器可用性,驱动器映射等,然后重试?