Bug #33013 Manifest XML signature is not valid.
Submitted: 5 Dec 2007 19:27 Modified: 27 Mar 2008 15:18
Reporter: John Yodsnukis (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.10 beta OS:Microsoft Windows (XP Home SP2)
Assigned to: CPU Architecture:Any
Tags: xml manifest

[5 Dec 2007 19:27] John Yodsnukis
Description:
After clicking on MySQLWorkbench.application
the following error popsup:

Cannot Start Application

Cannot continue.  The application is improperly formatted.
Contact the application vendor for assistance.

The details "log":

PLATFORM VERSION INFO
	Windows 			: 5.1.2600.131072 (Win32NT)
	Common Language Runtime 	: 2.0.50727.1433
	System.Deployment.dll 		: 2.0.50727.1433 (REDBITS.050727-1400)
	mscorwks.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)
	dfdll.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)
	dfshim.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)

SOURCES
	Deployment url			: file:///D:/SQL%20AB/Workbench-OSSBeta/MySQLWorkbench.application

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of D:\SQL AB\Workbench-OSSBeta\MySQLWorkbench.application resulted in exception. Following failure messages were detected:
		+ Exception reading manifest from file:///D:/SQL%20AB/Workbench-OSSBeta/MySQLWorkbench.application: the manifest may not be valid or the file could not be opened.
		+ Manifest XML signature is not valid.
		+ No signature was present in the subject.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	* [12/3/2007 3:01:45 PM] : Activation of D:\SQL AB\Workbench-OSSBeta\MySQLWorkbench.application has started.

ERROR DETAILS
	Following errors were detected during this operation.
	* [12/3/2007 3:02:05 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
		- Exception reading manifest from file:///D:/SQL%20AB/Workbench-OSSBeta/MySQLWorkbench.application: the manifest may not be valid or the file could not be opened.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
		--- Inner Exception ---
		System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
		- Manifest XML signature is not valid.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
			at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
		--- Inner Exception ---
		System.Security.Cryptography.CryptographicException
		- No signature was present in the subject.

		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
			at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.

How to repeat:
Attempt to start Workbench by clicking on the MySQLWorkbench.application file.
[5 Dec 2007 19:58] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[27 Mar 2008 12:42] Mike Lischke
Please test with the latest release candidate and let us know if it now works for you.
[27 Mar 2008 15:16] John Yodsnukis
"MySQLWorkbench.application" is not distributed now.  Looks like you can't get the error anymore.  Thanks.
[27 Mar 2008 15:18] John Yodsnukis
Closing as of 5.0.16-rc