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 8096593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:30:05+00:00 2026-06-05T21:30:05+00:00

I am using Visual C# Studio 2010 Express and I have oakward problem. I

  • 0

I am using Visual C# Studio 2010 Express and I have oakward problem. I wanted to bind few TextBoxes to application Settings. I’ve followed Paul Sheriff’s solution Paul Sheriff’s solution. It works only in visual designer – I can’t run the app, cause i got:

XmlParseException ‘Provide value on ‘System.Windows.StaticResourceExtension’ threw an exception.

How is it possible, that it’s working in visual designer (values are presented in TextBoxes correctly) but there is a XmlParseException?

App.xaml:

<Application.Resources>
    <ObjectDataProvider x:Key="odpSettings" ObjectType="{x:Type setts:Settings}" />
</Application.Resources>`

The setts namespace is defined as xmlns:setts="clr-namespace:DbCopier.Properties"

My view:

<TextBox
    Text="{Binding Source={StaticResource odpSettings}, Path=Default.DbName}"
    Width="150" />
  • 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-06-05T21:30:06+00:00Added an answer on June 5, 2026 at 9:30 pm

    I got it!

    The InnerException was pretty damn confusing. It’s all about the Property Scope in Settings file. I’ve noticed it was changed to Application, so it was read-only. I just changed it to User so it became writable. So easy and yet – so annoying mistake.

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

Sidebar

Related Questions

im writing an application using Visual Studio 2010 Express Edition. I have a problem
I'm building an ASP.net application using Visual Studio Web Developer 2010 Express and have
I have an app in c# using Visual Studio 2010 express and realized the
I am using Visual Studio Express 2010, C# I have a div and need
I already have Visual Studio 2010 SP1 installed. I am using express edition. Also,
Using Visual Studio 2010 Express I have a task list open and on filter
i have 32 bit windows 7 and I am using visual studio 2010 express.
I'm using Visual Studio C# Express 2010 to make a console application. I've implemented
I'm using Visual C# Studio 2010 express and have been trying to batch update
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; What I'm ultimately trying to do is update a sql

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.