2016-01-24 93 views
0

我試圖通過Visual Studio發佈工具發佈C#應用程序。發佈後,我不斷收到以下錯誤日誌文件。看起來像清單未能下載,儘管它在安裝目錄中。我嘗試了各種各樣的東西(包括WiX和Install Shield)以嘗試解決它,但這些似乎有它們自己的問題。發現一些人在這裏有類似的問題,但是這涉及到服務器發佈,我試圖在本地發佈到我的電腦上進行手動發佈(有限發佈)。尋找任何想法如何解決這個問題,任何幫助將不勝感激!在Visual Studio 2012中發佈 - 應用程序清單未能下載

PLATFORM VERSION INFO 
    Windows    : 10.0.10586.0 (Win32NT) 
    Common Language Runtime  : 4.0.30319.42000 
    System.Deployment.dll  : 4.6.1038.0 built by: NETFXREL2 
    clr.dll    : 4.6.1063.1 built by: NETFXREL3STAGE 
    dfdll.dll   : 4.6.1038.0 built by: NETFXREL2 
    dfshim.dll   : 10.0.10586.0 (th2_release.151029-1700) 

SOURCES 
    Deployment url   : file:///C:/Users/XX/Desktop/Training%20Management%20System/Publish9/Application%20Files/Training%20Management%20System_1_0_0_9/Training%20Management%20System.application 

IDENTITIES 
    Deployment Identity  : Training Management System.application, Version=1.0.0.9, Culture=neutral, PublicKeyToken=8acccae3f44d0097, processorArchitecture=msil 

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 C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Training Management System.application resulted in exception. Following failure messages were detected: 
     + Downloading file:///C:/Users/XX/Desktop/Training Management System/Publish9/Application Files/Training Management System_1_0_0_9/Application Files/Training Management System_1_0_0_9/Training Management System.exe.manifest did not succeed. 
     + Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 
     + Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 
     + Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
    * [1/24/2016 12:20:42 PM] : Activation of C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Training Management System.application has started. 
    * [1/24/2016 12:20:42 PM] : Processing of deployment manifest has successfully completed. 
    * [1/24/2016 12:20:42 PM] : Installation of the application has started. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [1/24/2016 12:20:42 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) 
     - Downloading file:///C:/Users/XX/Desktop/Training Management System/Publish9/Application Files/Training Management System_1_0_0_9/Application Files/Training Management System_1_0_0_9/Training Management System.exe.manifest 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.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath) 
      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, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) 
      at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) 
     --- Inner Exception --- 
     System.Net.WebException 
     - Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 
     - Source: System 
     - Stack trace: 
      at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) 
      at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) 
     --- Inner Exception --- 
     System.Net.WebException 
     - Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 
     - 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.DirectoryNotFoundException 
     - Could not find a part of the path 'C:\Users\XX\Desktop\Training Management System\Publish9\Application Files\Training Management System_1_0_0_9\Application Files\Training Management System_1_0_0_9\Training Management System.exe.manifest'. 
     - 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. 

回答

0

好的,終於搞定了。

問題是外部的。我在程序中使用MySQL,但是相應的DLL沒有傳輸。我刪除了所有現有的MySQL dll,並添加了一個從Oracle網站下載的新dll。

相關問題