Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Add security for controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01279948
Message ID:
01281137
Vues:
17
Kevin,

I'm sure that I was generating the id first before saving, besides, the save button is not enabled until you have generated the id.

With this said, I tried again and now the id is being generated and I can save these values in the security table. Not sure what was different this time, but as long as it is working now, I'm good.

Thanks.

Bob

>Bob,
>
>>When I attempt to generate a control id for security purposes, an error box displays saying the following:
>>
>>Unable to create a new security record. Exception: Column "SecurityPK is constrained to be unique. Value" is already present.
>>
>>If I am reading this correctly, it would appear that the SecurityPK column is not getting sent over on the attempt to generate and add the row in the table. I am attempting this on my web application.
>
>Hmmm...are you generating a new id first before trying to save?
>
>Best Regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform