2009-06-09 7 views
1

J'ai construit une application très simple dans vb.net, l'ai installé, cela a fonctionné. Puis j'ai fait de très légères mises à jour, je l'ai construit, j'ai essayé de l'installer mais j'ai eu les erreurs suivantes. J'ai redémarré l'ordinateur, désinstallé l'application pour le menu de désinstallation, et essayé d'exécuter setup.exe et toujours eu cette erreur. quelqu'un peut-il aider?l'installation de l'application publiée sur 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

Est-ce que le chemin « C: \ Documents and Settings \ PGarcia.BMRA \ Desktop \ INTOL Prog \ Application Fi les \ WindowsApplication1_1_0_0_4 "existent sur la machine sur laquelle vous déployez? Qu'y a-t-il dans le répertoire? –

Répondre

0

commande Aller à PROMT et exécuter ce ...

32 Bit machine

C: \ WINNT \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe -i

64 Bit machine

C: \ WINNT \ Microsoft.NET \ Framework64 \ v2.0.50727 \ aspnet_regiis.exe -i

+2

Pourquoi cela fonctionne-t-il? – user497804

1

semble manquer un fichier .manifest? ou éventuellement un fichier/dossier qui a été déplacé depuis la dernière version.

Si vous utilisez le contrôle de code, essayez de revenir en arrière et recherchez un ou plusieurs fichiers manquants.

1

En supposant qu'il s'agit d'une application ClickOnce, que vous n'avez pas spécifiée mais que je déduis du rapport d'erreurs, vous pouvez rencontrer l'un des problèmes suivants. Lorsque vous publiez une application ClickOnce, vous devez être certain que votre numéro de version est incrémenté de la dernière version installée/installée ou que ClickOnce sera confus.

De même, veillez à déployer tous les fichiers de vos fichiers publiés sur le serveur de déploiement, y compris votre nouveau fichier manifeste. ClickOnce fait un hachage sur les fichiers pour s'assurer qu'ils n'ont pas été falsifiés. Je m'excuse si ce n'est pas une application déployée par ClickOnce.

Questions connexes