Welcome Guest Search | Active Topics | Members | Log In | Register

Table doest not have the primary key? Options · View
Posted: Wednesday, August 25, 2010 1:20:13 PM

Rank: Apprentice Coder
Groups: Member

Joined: 3/12/2009
Posts: 55
Points: 99
Trying to create a data model and keep getting "Table [tablename] does not have the primary key" validation error message.

There is indeed a primary key named "id" on the table

I thought maybe it was a permissions setting for the database user on the table, but that's not the issue.

I can get records returned no problem.

SqlExpress 2008 Database, .net 3.5, windows 7

Posted: Tuesday, September 06, 2011 11:12:06 PM
Rank: Newbie Coder
Groups: Member

Joined: 9/3/2011
Posts: 8
Points: 24

I am also facing the same issue using SQL Server 2008 R2, Windows 7.

Thanks in advance for any suggestions....
Posted: Wednesday, September 07, 2011 11:08:37 AM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
could you please share with me your database schema file, and I will check it in my environment?
Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.107 seconds.