Zakir Ahamed

Zakir Ahamed

  • NA
  • 1.4k
  • 625.9k

i had a problem in windows forms i will published a exe file

Jul 17 2017 3:38 AM
hi friends,
 
i had a problem in winforms published a exe file is not working,it will showed a following error
 
Note:
 
PLATFORM VERSION INFO
Windows : 10.0.14393.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.6.1586.0 built by: NETFXREL2
clr.dll : 4.7.2101.1 built by: NET47REL1LAST
dfdll.dll : 4.6.1586.0 built by: NETFXREL2
dfshim.dll : 10.0.14393.0 (rs1_release.160715-1616)
SOURCES
Deployment url : file:///C:/Users/ANBU%20M/Desktop/zakir/Retail.application
Application url : file:///C:/Users/ANBU%20M/Desktop/zakir/Application%20Files/Retail_1_0_0_0/Retail.exe.manifest
IDENTITIES
Deployment Identity : Retail.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e909c8c528070ce7, processorArchitecture=msil
Application Identity : Retail.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e909c8c528070ce7, processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\ANBU M\Desktop\zakir\Retail.application resulted in exception. Following failure messages were detected:
+ File, Retail.exe, has a different computed hash than specified in manifest.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [15-07-2017 11:46:51] : Activation of C:\Users\ANBU M\Desktop\zakir\Retail.application has started.
* [15-07-2017 11:46:59] : Processing of deployment manifest has successfully completed.
* [15-07-2017 11:46:59] : Installation of the application has started.
* [15-07-2017 11:46:59] : Processing of application manifest has successfully completed.
* [15-07-2017 11:47:06] : Found compatible runtime version 4.0.30319.
* [15-07-2017 11:47:07] : Detecting dependent assembly Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
* [15-07-2017 11:47:07] : Detecting dependent assembly Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
* [15-07-2017 11:47:07] : Detecting dependent assembly Microsoft.ReportViewer.DataVisualization, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.DataVisualization, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
* [15-07-2017 11:47:07] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [15-07-2017 11:47:09] System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, Retail.exe, has a different computed hash than specified in manifest.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
at System.Deployment.Application.ComponentVerifier.VerifyComponents()
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)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
please tell how to prevent the bug. 
 

Answers (1)