Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Add security for controls
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01279948
Message ID:
01281137
Views:
16
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform