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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:52:26+00:00 2026-06-04T15:52:26+00:00

EDIT: I am using MS SQL server 2008 R2 as well. Well, on a

  • 0

EDIT: I am using MS SQL server 2008 R2 as well.

Well, on a remote server, I had some tables that show up in the wizard for edmx, but in my local database, I create a database with owner yyyyyy. As that owner, I ran some fairly simple DDL in the execute query to create a simple table like so

USE [Override]
GO

/****** Object:  Table [dbo].[Errors]    Script Date: 05/18/2012 16:08:19 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Errors]') AND type in (N'U'))
DROP TABLE [dbo].[Errors]
GO

USE [Override]
GO

/****** Object:  Table [dbo].[Errors]    Script Date: 05/18/2012 16:08:19 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Errors](
    [Id] [int] IDENTITY(1,1) NOT NULL,
    [Code] [int] NOT NULL,
    [Description] [nvarchar](max) NULL,
 CONSTRAINT [PK_Errors] PRIMARY KEY CLUSTERED 
(
    [Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

After this I right click on my edmx file and say update from database and give it the new connection AND use the yyyyy user. Well, there is a Tables checkbox but there is nothing under it. It is like there is no tables.

For some reason, my remote database is “half-working”. Any tables I create in my remote show up for generation, but none of the existing tables do.

NOTE: I then tried using my “sa” user as I thought he would have supreme power and surely would see the tables but even this didn’t help. Any ideas on why this stuff is not working?

  • 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-04T15:52:27+00:00Added an answer on June 4, 2026 at 3:52 pm

    found the answer finally after banging my head against the wall. You have to create a brand new model instead of use the old one. Something is hosed up if you change out the connection or something. The new model goes against your server like so

    <Server>/<instance>.<Databasename>.dbo
    

    which I did not expect since this is my first time doing generation of ADO.NET

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

Sidebar

Related Questions

Using SQL Server 2008 Reporting services: I'm trying to write a report that displays
I am using SQL Server 2008. I am trying to do some basic math
(Using SQL Server 2008) I need some help visualizing a solution. Let's say I
I am using SQL Server 2008 and I want to show 1 single field
i'm using SQL Server 2008 and, in one of my tables, i implemented a
I am newbie in SQL Server 2008.There are three tables which I am using.
I am using Nhibernate with Fluent, to persist a SQL Server 2008 express database
I am using SQL Server 2008 Enterprise. I am wondering whether dead lock issue
In SQL Server 2008. I need execute a query like that: DECLARE @x AS
I am using SQL Server 2008, and trying to run the following query in

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.