improper formatting error while deployment

Jun 25 2009 5:35 AM

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.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 (ManifestSemanticValidation)
  - Deployment manifest is not semantically valid.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
   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.ValidateSemanticsForDeploymentRole()
COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.


 
Please help to solve this problem
Please........its very urgent