2009-06-09 31 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部署的应用程序。

相关问题