Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Security
Message
De
12/06/2008 11:52:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
12/06/2008 10:50:23
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01323480
Message ID:
01323508
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform