How add providers to web.config

How add providers to web.config

Postby robertnzana » Tue 21 Oct 2008 19:04

To get my web app to read basic data correctly I had to add an entry in my web.config for CoreLab.MySql:



type="CoreLab.MySql.MySqlDirectFactory, CoreLab.MySql" />



General db access works fine now.

I am using ASP.NET built-in membership/roles/profiles. It works fine on my development machine, but not on the production server. Do I have to add similar entries for the membership/roles/profiles stuff? If so, how do I do this?

In my web.config I set it up like this...


























robertnzana
 
Posts: 23
Joined: Fri 12 Sep 2008 05:07

Postby Shalex » Wed 22 Oct 2008 08:02

What is the error you are getting? Give us more information.
Shalex
Devart Team
 
Posts: 7304
Joined: Thu 14 Aug 2008 12:44

Postby robertnzana » Wed 22 Oct 2008 13:47

I apologize for the ambiguity. The problem was that the role provider did not have an application name. For some reason it worked locally but not on the production server. It’s fixed now. Thanks as usual! :)
robertnzana
 
Posts: 23
Joined: Fri 12 Sep 2008 05:07


Return to dotConnect for MySQL