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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:16:46+00:00 2026-05-27T15:16:46+00:00

I’m having trouble seeing tables from one particular SQL Server 2008 database while trying

  • 0

I’m having trouble seeing tables from one particular SQL Server 2008 database while trying to update the entity framework diagram (EFD) in Visual Studio 2010. This was working before moving the db to the new server. All other DBs on this server show their tables successfully (when in VS Entity Framework design > Right Click > Update Model from Database > ‘Add’ tab > Expand tables = nothing showing here).

STR

  1. I created a database on computer A and was working on the same computer in Visual Studio 2010 to build a website app. Everything was working fine.

  2. I then moved the DB and website app files to the primary server, computer B.

  3. I tried to connect from VS of computer A and was unable to see any database tables while trying to update my EFD.

  4. I tried opening the VS locally on computer B and I can still not see the EFD tables.

  5. I tried backing up / restoring the DB to see if it was an OS file issue. <- no luck

  6. I tried to create a new db and use the scripts generated in SQL Server to build the new db with no luck.

  7. I’ve also tried changing the owner of the db, moving to sql authentication and back to windows auth and even adding security to different users that I would assume are unrelated (such as system and guest).

I believe it is a permission issue, but I can’t seem to find any differences in the DBs that work (show their tables properly in entity framework designer) and this one that doesn’t. I also can’t see what user VS may be using to get the table information, I would assume the one that I’ve setup the connection for but not sure.

I’m totally stuck. In the entity framework designer I’m trying to connect using a “System.Data.SqlClient”, windows integrated authentication (which should be using an admin account on the system and the owner of the db). Connection string for the entity framework is as follows:

metadata=res://*;provider=System.Data.SqlClient;
    provider connection string="Data Source=localhost;Initial Catalog=myDB;
    Integrated Security=True"

One last note – If I just go into VS on the top right into my Server Explorer I can create a connection there and see all of the tables just fine. However, that doesn’t help me with my EFD, unfortunately.

  • 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-27T15:16:46+00:00Added an answer on May 27, 2026 at 3:16 pm

    Steps to troubleshoot:

    1. Create new blank database
    2. Generate scripts off of the old
    3. Run scripts one by one to see what breaks it (each table, view, etc one by one)

    I found that this worked fine and nothing broke it, but the difference is that I did not create the new schema and user NT AUTHORITY/SYSTEM until the very end of the scripts where they were being created at the beginning when running the full script previously (and it wasn’t working). I have no idea why this would be an issue – all tables were created with the ‘dbo.’ prefix anyways so should not have been put in this schema.

    With that in mind I went into my original db and simply deleted the schema and user login for NT AUTHORITY/SYSTEM and all is working fine. Again, I’d love comments if anyone has any.

    All is working now, I even re-mapped this user’s security to allow public access to the db again and created a default schema for it under the same name and it works fine. I really can’t explain this one.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from

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.