Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Security
Message
From
12/06/2008 11:52:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
12/06/2008 10:50:23
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01323480
Message ID:
01323508
Views:
17
Yassin,

>
>
>I am try to assign roles to user by calling mmAppDesktop.FormMgr.Show(New mmUsersForm(), Me)
>
>But the roles are not been saved to the database, I am not sure what I am doing wrong.
>
>This is what I have on the config file
>
>
><add key="SecurityDatabaseKey" value="OSMSBACKOFFICE" />
>
> <databases>
>    <add key="OSMSBACKOFFICE\Connection" value="server=ykhanlt;uid=osp1900;pwd=@orion87@928;database=OSMS_BACK" />
>    <add key="OSMSBACKOFFICE\DataAccessClass" value="DataAccessSql" />
>    <add key="FRONTOFFICE\Connection" value="server=;uid=;pwd=;database=" />
>    <add key="FRONTOFFICE\DataAccessClass" value="DataAccessSql" />
>  </databases>
>
>
I don't see a problem with what you are displaying except I am wondering about the "@" sign in your password. Are you having any issues connecting to your database other than the user roles? You are calling the same form with the same code Kevin uses in the sample app. You might want to put a break point in your button click to step through exactly what is going on. I have seen database non save issues that cause any runtime exceptions but didn't get saved. If you step through you will see more.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform