Click here to Skip to main content
15,913,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,


I am using clickonce to publish a windows forms application developed in
c#.NET,VS2010.

But,i am getting the error,

“Cannot continue. The application is improperly formatted. Contact the application vendor for assistance.” during installation.

The details button give the error details as below

-----------------------------------------------------------
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 4.0.30319.269
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.269 (RTMGDR.030319-2600)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)

SOURCES
Deployment url : file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application resulted in exception. Following failure messages were detected:
+ Your Web browser settings do not allow you to run unsigned applications.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [10/9/2012 4:09:45 PM] : Activation of file:///C:/Inetpub/wwwroot/WindowsFormsApplication4/WindowsFormsApplication4.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [10/9/2012 4:09:45 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- Your Web browser settings do not allow you to run unsigned applications.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(String manifestPath)
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.



----------------------------------------------------------------------------------

what is the mistake i made with it?...please help...

Thanks in advance..
Posted

I found same message.

.

My project's exe from debug folder itself is found in reference.

which i think undesired.

Removing that reference solves my problem
 
Share this answer
 
Read your own errors:

Quote:
ERROR SUMMARY
{...} Following failure messages were detected:
+ Your Web browser settings do not allow you to run unsigned applications.


Why win forms application needs to validate web browser settings is another obstacle.
 
Share this answer
 
Comments
hasbina 9-Oct-12 8:03am    
hi n.podbielski,

To avoid this web browser error i changed the settings in internet options
allow the software to run or install even if the signature in invalid.but again get same error..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900