2009-06-09 34 views
1

我在vb.net中構建了一個非常簡單的應用程序,安裝它,它工作。然後我做了一些非常輕微的更新,建立它,試圖安裝它,但得到以下錯誤。我重新啓動計算機,卸載卸載菜單的應用程序,並試圖運行setup.exe,但仍然得到此錯誤。有人可以幫忙!安裝在vb.net發佈的應用程序?

PLATFORM VERSION INFO 
    Windows    : 5.1.2600.196608 (Win32NT) 
    Common Language Runtime  : 2.0.50727.3053 
    System.Deployment.dll  : 2.0.50727.3053 (netfxsp.050727-3000) 
    mscorwks.dll   : 2.0.50727.3053 (netfxsp.050727-3000) 
    dfdll.dll   : 2.0.50727.3053 (netfxsp.050727-3000) 
    dfshim.dll   : 2.0.50727.3053 (netfxsp.050727-3000) 

SOURCES 
    Deployment url   : file:///C:/Documents%20and%20Settings/PGarcia.BMRA/Desktop/Intol%20Prog/WindowsApplication1.application 

IDENTITIES 
    Deployment Identity  : WindowsApplication1.application, Version=1.0.0.4, Culture=neutral, PublicKeyToken=a9ac82ee8eb508b4, 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:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application resulted in exception. Following failure messages were detected: 
     + Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_4/WindowsApplication1.exe.manifest did not succeed. 
     + Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'. 
     + Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'. 
     + Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
    * [6/9/2009 12:07:19 PM] : Activation of C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application has started. 
    * [6/9/2009 12:07:19 PM] : Processing of deployment manifest has successfully completed. 
    * [6/9/2009 12:07:19 PM] : Installation of the application has started. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [6/9/2009 12:07:19 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) 
     - Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_4/WindowsApplication1.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.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, 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:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'. 
     - Source: System 
     - Stack trace: 
      at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) 
      at System.Net.FileWebRequest.GetResponse() 
      at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) 
     --- Inner Exception --- 
     System.Net.WebException 
     - Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.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:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.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) 
      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

這條小路「「C:\ Documents和Settings \ PGarcia.BMRA \桌面\ Intol Prog \ Application Fi您正在部署到的計算機上是否存在「\ WindowsApplication1_1_0_0_4」?目錄中有什麼? – 2009-06-10 17:01:05

回答

0

轉到命令PROMT並運行此...

對於32位計算機

C:\ WINNT \ Microsoft.NET \框架\ V2.0.50727 \ ASPNET_REGIIS.EXE -i

對於64位計算機

C:\ WINNT \ Microsoft.NET \ Framework64 \ V2.0.50727 \ ASPNET_REGIIS.EXE -i

+2

爲什麼這個有效? – user497804 2012-05-02 18:35:17

1

看起來缺少一個文件.manifest?或者可能是自上次構建後移動的文件/文件夾。

如果您使用源代碼管理,請嘗試回滾並查找缺少的文件/文件。

1

假設這是一個ClickOnce應用程序,您沒有指定,但是我從錯誤報告中推斷,您可能會遇到以下幾個問題之一。當您發佈ClickOnce應用程序時,您必須確定您的版本號是從最近發佈/安裝的版本增加的,否則ClickOnce會感到困惑。

此外,請確保您已將發佈文件的全部部署到部署服務器,包括您的新清單文件。 ClickOnce對這些文件執行散列操作以確保它們沒有被篡改。

我很抱歉,如果這不是一個ClickOnce部署的應用程序。

相關問題