index > ClickOnce and Setup & Deployment Projects > How do I fix InvalidDeploymentException (ManifestLoad)?

How do I fix InvalidDeploymentException (ManifestLoad)?

I'm trying to get ClickOnce working, but I'm getting the error below associated with one of the assemblies that my application is dependent on. I used the Publish wizard to post it to a web site. I've tried to read through the documentation and can't find anything that tells me what I'm doing wrong. If someone knows what I'm doing wrong, or a good reference in the documentation that is relevant, I'd appreciate it. Thanks.

ERROR DETAILS
Following errors were detected during this operation.
* [2/11/2006 8:29:56 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file WorkPlan.Core.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)
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:

Eric J. Smith
This problem mysteriously went away. I tried publishing to a local directory today, and everything went perfectly. Then I tried publishing to my web server again and it also went perfectly. I hate it when that happens.
Eric J. Smith
reply 2

You can use google to search for other answers

 

More Articles

• HELP!using click once for crystal reports fails with HRESULT=-214...
• click once? or maybe not
• noob alert: How can we use Nullsoft installer for VC# 2005 expres...
• Question on deployment
• Install Content Files In A Directory Structure
• Reg free COM and no XP
• ClickOnce and Microsoft Updater block1.0
• Windows installer and self updates
• Deployment related problems Plz help. quite urgent
• VB.NET 2003 No Touch Deployment
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Creating an installer
• certificates with trusted deployment
• How to add custom pre-requisites to Clic
• Can modify public cache assembly to priv
• Clickonce, Data files, and SQLExpress...
• Setup Project, Custom Actions Editor
• Using VS2005 trying to Publish Web Site
• publish.html is not sent to the server
• Can someone
• Anybody use MySQL ADO.NET in WinForm wit
• Creating an uninstaller for your program.
• How to add directories recursively to se
• Could not find file 'Microsoft.Windows.C
• Clickonce online problem : Cannot downlo
• Condition not working for assembly in De

Hot Articles

• Question about ClickOnce
• Database install question
• Localizaion problem of embedded Windows
• Control Click Once Installation Folders
• ClickOnce executable names
• No Touch Deployment Not Working
• Limiting Access to ClickOnce Applications
• Missing Package
• How to prevent the deletion of the old f
• No touch deployment question
• [Help] How to embedding Ms. Word Compone
• Repost: Security exceptions calling a we
• AppUpdater and Users without admin privl
• problem installing .NET Framework
• Changing Deployment Method

Recommend Articles

• Hosting ClickOne deployment on non-.NET
• ClickOnce publish failes when project ha
• The referenced assembly is not installed
• Another publishing problem
• deploy updates to 100s of clients
• vb application deployment
• Unatended Install
• Publishing_Errors
• Problem with Boostrapper and IIS6
• HOWTO : Partial Click Once Deployment
• OnDemand and Assembly.Load
• Porblems installing WSUS: cannot connect
• winform as exe file - how does the clas
• Auto-update feature does not seem to wor
• Deployment with Visual c# Express edition