Setting the provider's connection string at run time

Re: Setting the provider's connection string at run time

Postby Pinturiccio » Thu 21 Jun 2012 10:08

Sorry for the delay. We could not reproduce the issue. Could you please create and send us a small test project for reproducing the issue.
Pinturiccio
Devart Team
 
Posts: 2020
Joined: Wed 02 Nov 2011 09:44

Re: Setting the provider's connection string at run time

Postby JORGEMAL » Wed 27 Jun 2012 16:02

I decided to continue testing my project and this is what I found.
The class that implements to roles that is referenced in the web.config's Role Manager section defines the database name within the overriden Initialize method using a session variable which is defined in the Session_Start event of the Global.asax. It seems that this overriden Initialize method is run firstly before the Session_Start event is fired so my Session variable was empty. I changed this behavior setting the database name in another way and now everything is working just fine.
Thanks for your support and for adding this feature.

Respectfully,
Jorge Maldonado
JORGEMAL
 
Posts: 165
Joined: Thu 03 Jul 2008 23:55

Previous

Return to dotConnect for PostgreSQL