ArgumentNullException was unhandled — Parameter name: activationContext

After upgrading application from VS2010 RC to VS2010 RTM, my application stop working. I started to receive the error below, when I try to run/debug my application.

ArgumentNullException was unhandled
Value cannot be null.
Parameter name: activationContext

After doing some research online. I have found the solution.


  1. Go to your project properties [Double click on “My Project“].
  2. Click on the “Security” tab
  3. Un-tick the check-box for “Enable ClickOnce security settings

Then try to run your application again. It should work fine.

Hope you find it useful.

1 thought on “ArgumentNullException was unhandled — Parameter name: activationContext

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.