Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmDataAccessSql throwing an error.
Message
From
04/08/2009 08:56:30
Tegron Tegron
Platinum Technologies
Ohio, United States
 
 
To
03/08/2009 18:29:05
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01415935
Message ID:
01416040
Views:
41
The key that I am using was a primary key when it throws the error. In SQL Server it is an identity field. Since it is a primary key, it is made unique by default. When I take off the primary key from the SQL Server field, it saves fine. Now I do the exact same thing with my other tables without problems thus far.

What I understand you are saying is to remove the primary key designation from this field, and allow the business object to generate the primary key? I would assume you mean to use the RetrieveAutoIncrementPK = true, which is what I am currently doing? So when the procedure inserts it will insert the value into this field without issue or conflict with SQL Server?

Am I understanding this correctly?

Thanks...That makes since.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform