Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
improper formatting error while deployment
mirchiz mirchiz
Jun 25 2009 5:35 AM
3.2k
Reply
While publishing our project in visual c# 2008 we got the following error message:
Cannot continue.Improper formatting error.Contact the application vendor.
When I clicked the details button the following matters were shown:
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:///C:/Documents%20and%
20Settings/Administrator/
Desktop/MAINTENANCE1.
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\Administrator\
Desktop\MAINTENANCE1.
application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from
file:///C:/Documents%20and%
20Settings/Administrator/
Desktop/MAINTENANCE1.
application
: the manifest may not be valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ trustUrlParameters and disallowUrlActivation cannot both be true at the same time.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/24/2009 9:16:53 PM] : Activation of C:\Documents and Settings\Administrator\
Desktop\MAINTENANCE1.
application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [6/24/2009 9:16:53 PM] System.Deployment.Application.
InvalidDeploymentException (ManifestParse)
- Exception reading manifest from
file:///C:/Documents%20and%
20Settings/Administrator/
Desktop/MAINTENANCE1.
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.
DownloadDeploymentManifestDire
ctBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.
DownloadManager.
DownloadDeploymentManifestBypa
ss(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 deploymentProviderUrlFromExten
sion)
at System.Deployment.Application.
ApplicationActivator.
ActivateDeploymentWorker(
Object state)
--- Inner Exception ---
System.Deployment.
Application.
InvalidDeploymentException (ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.
Manifest.AssemblyManifest.
ValidateSemanticsForDeployment
Role()
at System.Deployment.Application.
Manifest.AssemblyManifest.
ValidateSemantics(ManifestType manifestType)
at System.Deployment.Application.
ManifestReader.FromDocument(
String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.
Application.
InvalidDeploymentException (InvalidManifest)
- trustUrlParameters and disallowUrlActivation cannot both be true at the same time.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.
Manifest.AssemblyManifest.
ValidateSemanticsForDeployment
Role()
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Please help to solve this problem
Please........its very urgent
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
C++ dll to C# using invoke
improper formatting error while deployment