Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmDataAccessSql throwing an error.
Message
De
03/08/2009 18:00:41
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
 
 
À
03/08/2009 16:45:12
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01415935
Message ID:
01415972
Vues:
36
I have played around with the database, and it definately is a problem with the uniqueness of the primary key, which is an identity field. I don't understand why it is throwing a non-unique error when it is creating the key. I will try making a combination key on different fields. I am using the exact same thing, but writing to a different table in the same routine without problems. One table has 85 items and writes without problems. The other has 258 items and it throws that error when it tries to update in the mmDataAccessSql method. When I investigate a few of the items in the entity instance, it looks as if it is generating different numbers. This table is a detail table and it begins being totally empty of any data. So he issue appears to be something within this method. I tried doing mulitple inserts from the actual stored procedure, and I don't have any problems with the insert proc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform