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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:37:52+00:00 2026-05-23T02:37:52+00:00

I had a connection string to a MS Access DB file, Foo.accdb, defined and

  • 0

I had a connection string to a MS Access DB file, Foo.accdb, defined and used in my project. It was defined as a connection string Setting in the Settings section of my project properties. The program referenced the connection string setting and everything worked fine.

Then I decided to replace Foo.accdb with two different DB files, A.accdb and B.accdb each of which would be used under different circumstances. I added connection strings for them in Settings and removed the Setting definition for Foo.accdb connection string.

The name of my application is Foo and the name of the Foo.accdb connection string was FooConnectionString.

But now when I build the program both in debugger and for release I get the following error message:

'FooConnectionString' is not a member of 'Foo.My.MySettings'.  

The offending reference, in file FooDataSet.Designer.vb, is:

    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
    Private Sub InitConnection()
        Me._connection = New Global.System.Data.OleDb.OleDbConnection
        Me._connection.ConnectionString = Global.Foo.My.MySettings.Default.FooConnectionString
    End Sub

What is going on here? FooConnectionString is not in any other file in the project directory nor in the My Project subdir. I completely got rid of it in my code and in my project properties yet it persists in FooDataSet.Designer.vb (whatever that is).

While researching this on the web I saw a recommendation to select the FooDataSet.xsd file, right click it and execute the “Run Custom Tool” option. I did this and it appears to rebuild FooDataSet.Designer.vb (the time stamp changes) but the problem persists.

I also tried removing the offending reference by manually editing FooDataSet.Designer.vb but that gave me some other error message.

Why is this old reference staying around and what can I do about it?

This is a standalone app. I’m using VS2008 Standard Ed., VB.Net 3.5

Thanks.

  • 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-23T02:37:53+00:00Added an answer on May 23, 2026 at 2:37 am

    Open the FooDataSet XSD file in a text editor. Right click on dataset in the solution explorer and select “Open With…” and the select XML (text) Editor or open it outside the solution.

    Look for the <Connections> tag near the top of the file. Remove the line that looks like this

    <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FooConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FooConnectionString(Settings)" ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple apps running which access a sql server database. I had initially
Consider these properties, double _temperature; public double Temperature { get { return _temperature; }
I have created a data access layer in my web app which uses ObjectDataSource
I had been struggling today with the linq2sql dbml design files. When I start
So I have an ASP.NET web site (not web application) I'm making in VS2010
We've recently changed the name of the SQL DataBase our WebApp is using. Now,
I have asked a similar question to this but for GMail and I was
This type of stuff drives me nuts. I'm having trouble finding the exact issue
I’m hoping somebody will be able to help with my SQLite database problem. I’m
I use the following method to retrieve something from a webservice using a HTTPWebRequest:

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.