Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6381087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:21:05+00:00 2026-05-25T02:21:05+00:00

In the context of a click-once application that is being debugged locally with exception

  • 0

In the context of a click-once application that is being debugged locally with exception breaking on “Thrown” turned on in VS2010, I am experiencing the following error:

Deployment Exception: "Store metadata "CurrentBind" is not valid."
   at System.Deployment.Application.ComponentStore.GetPropertyString(DefinitionAppId appId, String propName)

when I execute the following line of code:

if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed)

This exception is being caught and handled by .net code, and the application will not crash after experiencing this error. Unfortunately, this error is followed up by:

InvalidDeploymentException: "Application is not installed"
       at System.Deployment.Application.ApplicationDeployment..ctor(String fullAppId)

If I continue to wade through the exceptions, I get another error:

SynchronizationLockException: "Object synchronization method was called from an unsynchronized block of code"
       at Microsoft.Practices.Unity.SynchronizedLifetimeManager.TryExit()
@ ProvidedContainer.RegisterInstance(LoggerFacade);

and finally:

ConfigurationErrorsException: "This element is not currently associated with any context"
    at System.Configuration.ConfigurationElement.get_EvaluationContext()

in the constructor of

[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class InfrastructureDataServiceClient : System.ServiceModel.ClientBase<Infrastructure.DataServices.IInfrastructureDataService>, Infrastructure.DataServices.IInfrastructureDataService 
    {
        public InfrastructureDataServiceClient() {
    }
}

These errors are all handled by the .net framework code and don’t ripple into the application, but as long as I have the option to break on exception “Thrown” I continue to go through these errors until I lose patience and choose to break only on unhandled exceptions, at which point the app fully loads.

This has happened to me in the past, and at that time I had to completely re-install visual studio, but it worked fine after that. I’d rather not do that, as it is time consuming and my VS installation is pretty customized. Also, my co-workers are not experiencing the same error, so that tells me that there is something unique about my environment.

I experienced a visual studio hang recently when debugging, and had to kill the devenv process, that might play a role, but it’s hard to say because I recently turned on the break on thrown option. I’ve already tried to delete the suo files, but that had no effect.

I have the following addons installed:
Resharper, .Net Reflector, Team Explorer, TFS Power Tools, Theme Manager

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:21:06+00:00Added an answer on May 25, 2026 at 2:21 am

    What I did to resolve this issue was reinstall visual studio. After doing that, the exceptions went away.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WPF click-once application that makes use of an unmanaged dll. When
I have an application widget that contains a button. Once I click the button,
I'd expect a right-click-context-menu-style pop-up menu to be a part of jQuery UI. But
so I have attached a context menu (right-click menu) to a wpf listview. unfortunately,
I am trying to invoke an ANT target from Windows (right-click) file context menu.
What is a design pattern I can use for generating context-sensitive right click menus
Protected Sub lnkContractors_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lnkContractors.Click If Context.User.IsInRole("HOD")
how to show a context menu when you right click within a QGLWidget?
Context: There's an application where you draw things on canvas. Where user clicks there's
I am loading content into a page with ajax that will have live click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.