I'm trying to use the ASP .NET providers (Membership/Role/...)
I did this steps:
1) Installed the "full" version of dotConnect (I'm trying in my developer machine where OracleXE is installed)
2) Run the script for create the tables in my DB
3) Create a new "ASP .Net Web Application" on Visual Studio 2010
4) Changed the web.config for use the Devart providers (like I find in the Devart web pages). I put my web.config later in this post
5) Run the application. The error "Could not load type 'Devart.Data.Oracle.Web.Providers.OracleRoleProvider' " appears
Someone could help me?
This is my web.config
Code: Select all
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="OracleServices"
connectionString="User Id=myuser;Password=mypwd;Data Source=localhost;Direct=true" />
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<membership defaultProvider="AspNetOracleMembershipProvider"
userIsOnlineTimeWindow="15">
<providers>
<clear />
<add
name="AspNetOracleMembershipProvider"
type="Devart.Data.Oracle.Web.Providers.OracleMembershipProvider"
connectionStringName="OracleServices"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10" />
</providers>
</membership>
<profile defaultProvider="AspNetOracleProfileProvider" >
<providers>
<clear />
<add
name="AspNetOracleProfileProvider"
type="Devart.Data.Oracle.Web.Providers.OracleProfileProvider"
connectionStringName="OracleServices" />
</providers>
<properties>
<add name="ZipCode" />
<add name="CityAndState" />
</properties>
</profile>
<roleManager defaultProvider="AspNetOracleRoleProvider"
enabled="true"
cacheRolesInCookie="true"
cookieName=".ASPROLES"
cookieTimeout="30"
cookiePath="/"
cookieProtection="All" >
<providers>
<clear/>
<add
name="AspNetOracleRoleProvider"
type="Devart.Data.Oracle.Web.Providers.OracleRoleProvider"
connectionStringName="OracleServices" />
</providers>
</roleManager>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>