>An issue has arisen for me:
>
>I've successfully enabled the UserLogin form and proven that my connection to SQL Server is working.
>
>However, I added a mmMenuExtender object, but when I try to access the ControlID setting via an ellipsis, I get one of two problems:
>
>1) If the values are all zeroes, then I get the dialogue, but when I click Generate I get "Unable to create a new security record" in a messagebox with no title.
>
>2) I manually added a row to the Security table, copied and pasted the GUID to the ControlID property, click on the ellipsis and it comes back with "The ConnectionString property has not been initialized"...
>
>But I must have a SQL connection that is working for login to work?
Two things to try:
1. If you have any comments in the
section of your app.config file, get rid of them, save the app.config file and try it again.
2. Try setting the SecurityDatabaseKey (in your app.config file) to your security database key...if you only have one database in your application set it to the same name as specified in your section.
Reards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com