Wednesday, June 12, 2013

When you try to install C# application in windows environment you may gets a error message "Application cannot be started contact the application vendor". Look at the error dialog shows below.

Then if you click on the details button, A text file opens with the details of the error and it shows lot more details  about the issue.

If the "ERROR SUMMARY" may be as below.

Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\application_path\application_name.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.

And also "ERROR DETAILS" can be shown as below

Following errors were detected during this operation.
* [date and time] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:

If you faced above situation and looking for a solution, Here is the correct place you need to stay and read. below few steps may help you to fix the issue if you fortunate enough. There can be few reasons for this issue and here explains how to fix each of those by doing some simple steps. Normally this issue happens when you try to install a application using OneClick method that support by .NET framework.  

  • Before publish your application make sure to go to project properties->"Security tab" and select "This is fully trusted application"
  • And go to project properties->"Publish tab" and select "This application available offline as well".
  • And make sure to at-least sign your application by test certification.

1. Corruption of previous installation file: 
If you install same application previously in the same computer, remaining file or signatures may troubling you
Solution: Uninstall all the previous versions and try to install the application again.

2. Corruption of oneClick cache:
If you try to install this application several time or if it fails one time or because of other application cache this error trigger at the situation.
Solution: Clear the oneClick cache and try to install the application again. Here is the way to clear oneClick cache
From command line run:    rundll32 dfshim CleanOnlineAppCache
If it doesn’t work, delete the real folder:
Windows Vista/7/8
Windows XP/2003
C:\Documents and Settings\username\LocalSettings\Apps\2.0\

3. Corruption or missing of setup files:
Solution: Download the release files from originally hosted location and try to install it again.

4. If user click on a URL and select “Run” method to install the application:
Solution: Use Internet Explorer, If you are directly install from an URL.  Add setup file hosted domain name to “Trusted sites” in Internet Explorer.

5. Antivirus program blocking setup files:
Solution: Disable if any the antivirus program install in your computer temporary and try to install the application.  

6. Corruption of the registry:
Solution: Use Some trusted third party tool (CCleaner) to clean the registry and try to


  1. Fantastic items from you, man. I have consider your stuff previous to and you are simply too magnificent. I actually like what you have obtained right here, certainly like what you are stating and the way in which during which you are saying it. You're making it entertaining and you still take care of to stay it wise. I can't wait to read much more from you.

  2. I had this issue and the fix was run the installer with IE instead of firefox.

    1. Same here, using IE instead of Firefox/Chrome

    2. I used Edge and it worked. Will not work with Chrome.

  3. Fantastic blog !!! Our service to remove all error of window 7 realted problem .visit this site and get a free from all error.
    How To Remove Rundll Error
    Aalia lyon

  4. Haha Nice one Microsoft. You get this error message when you run the program for any other browser than IE.

  5. I believe most users get this error because they are running a non IE browser with the clickonce plugin missing or disabled.

  6. Application cannot be the application vendor

  7. Excellent...I was struggling with this error..But when i initiated with IE it worked fine...

    Thanks a Million.

  8. This information was completely useless. Thanks.

  9. This comment has been removed by the author.

  10. osea que no puedo utilizar otro navegador, o como se soluciona para utilizar chrome?

  11. osea que no puedo utilizar otro navegador, o como se soluciona para utilizar chrome?

  12. Excellent information,
    I spent my time on other pages , but this has been a blessing

  13. Try downloading the tool from a IE browser, worked for me. (dot net 4.5 or higher required).


  14. As a locally owned family business, we understand how important it is for you and your family to feel safe and secure at both home and work, that’s why we’ll go out of way to ensure your lock and security problems are solved first time, every time.
    locksmith cannington

  15. Awesome, Browser was the issue..

  16. Thanks so much! Fixed it for me.

  17. Running from IE instead of chrome or firefox worked for me

  18. Encountered this error today. Solved it by intalling a new certificate.

  19. Such an ideal piece of blog. It’s quite interesting to read content like this. I

    appreciate your blog
    .NET Online Training Hyderabad