Jeg har en C# winform applikation som jeg deployere med clickonce, det har fungeret fint i et stykke tid, men nu er jeg begyndt at få en fejl på nogle af mine klienter, den ene var den klient jeg sad og udviklede på. Den har jeg så geninstalleret, da jeg efter et stykke tid nu har prøvet ret mange ting uden at det hjalp og er ved at være desperat, geninstallation hjalp dog, men det er ikke en holdbar løsning. Fejlen består i at når mine klienter prøver at installere eller opdatere programmet, så får de en fejl, fejlen siger (Unable to retrieve application files. Files corrupt in deployment), det som bare er underligt er at det funger på nogle af mine klienter men ikke på andre. Jeg har lavet et lille test projekt, som består af en winform med en knap, den giver samme fejl, men kun på de maskiner som også fejlede før. Jeg har været på flere forums og spørge uden at få et svar, så jeg prøver lige her og krydser finger. Log filen som ses under her er den jeg får når en af mine klienter prøver at installere test programmet.
------ LOG
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file:///M:/Rene%20S%C3%B8rensen/publish/DevExpressTest.application
Application url : file:///M:/Rene%20S%C3%B8rensen/publish/DevExpressTest_1_0_0_6/DevExpressTest.exe.manifest
IDENTITIES
Deployment Identity : DevExpressTest.application, Version=1.0.0.6, Culture=neutral, PublicKeyToken=fd5e38d206053551, processorArchitecture=x86
Application Identity : DevExpressTest.exe, Version=1.0.0.6, Culture=neutral, PublicKeyToken=fd5e38d206053551, processorArchitecture=x86, type=win32
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 M:\\Rene Sørensen\\publish\\DevExpressTest.application resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file DevExpressTest.exe: the manifest may not be valid or the file could not be opened.
+ Cannot load internal manifest from component file.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [20-03-2007 09:04:11] : Activation of M:\\Rene Sørensen\\publish\\DevExpressTest.application has started.
* [20-03-2007 09:04:16] : Processing of deployment manifest has successfully completed.
* [20-03-2007 09:04:16] : Installation of the application has started.
* [20-03-2007 09:04:16] : Processing of application manifest has successfully completed.
* [20-03-2007 09:04:19] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [20-03-2007 09:04:20] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file DevExpressTest.exe: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
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.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.DeploymentException (InvalidManifest)
- Cannot load internal manifest from component file.
- Source:
- Stack trace:
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Indlæg senest redigeret d. 22.03.2007 15:56 af Bruger #11560