Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > System.Deployment.Application.DeploymentException (InvalidManifest) - How do I fix?
 

System.Deployment.Application.DeploymentException (InvalidManifest) - How do I fix?

ERROR DETAILS
Following errors were detected during this operation.
* [8/8/2009 4:58:19 AM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file SmartSource.CustomControls.resources.dll: 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, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
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.

Pitre  Saturday, August 08, 2009 9:22 AM

Hi Pitre,

Could you please provide more information about your deployment? Did you edit the deployment or application manifest files manually? If so, you need to regenerate the ClickOnce deployment.

This is the detail information about the exception:
http://msdn.microsoft.com/en-us/library/system.deployment.application.invaliddeploymentexception.aspx.

Please pay attention to the remarks on the page, which would help you figure out the issue.

Let me know if this helps.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, August 12, 2009 9:43 AM

Hi,

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Friday, August 14, 2009 2:42 AM

You can use google to search for other answers

Custom Search

More Threads

• Smart device deployment with resource files
• Prerequisites - broken link
• Heyâ€?where is the DownloadFileGroup path?
• Can i Install my program with 'One Click'??
• Instillation of software or regestry edit
• How can I use "Click Once" and ".Msi" package together?
• Bootstrapper upgrade .Net 3.0 to .Net 3.5
• Shortcuts and Command Lines
• Web + SmartClient
• How to create Website usign WebSetup project?