Problem with AspNetPgSqlMembershipProvider in PostgreSQL
Posted: Wed 27 Jul 2011 00:20
I'm building a WPF application using .NET Framework 4.0, Visual Studio 2010, and the latest version of the dotConnect library. I'm using PostgreSQL 9.04 as the database for the application.
I added the section to my app.config and included all of the lines from the documentation for the provider. I added the tables for the provider into my database in a schema called security.
Everything builds fine, but I'm getting a TypeLoadException with this message: Could not load type 'Devart.Data.PostgreSql.Web.Providers.PgSqlMembershipProvider' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Here is an excerpt from my app.config:
I have a reference to the Devart.Data.PostgreSql.Web.dll in the applicaton project and, as I said, all builds fine. Why can't System.Web load the Devart.Data.PostgreSql.Web.Providers.PgSqlMembershipProvider type?
Can someone tell me what is wrong?
Thanks
Tony
I added the section to my app.config and included all of the lines from the documentation for the provider. I added the tables for the provider into my database in a schema called security.
Everything builds fine, but I'm getting a TypeLoadException with this message: Could not load type 'Devart.Data.PostgreSql.Web.Providers.PgSqlMembershipProvider' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Here is an excerpt from my app.config:
Code: Select all
Can someone tell me what is wrong?
Thanks
Tony