muneerz
asked on
Whenever I try to "create a new user" using this tool, I get this error:
Whenever I try to "create a new user" using this tool, I get this error:
"An error was encountered. Please return to the previous page and try again."
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database. at System.Web.Administration. WebAdminPa ge.CallWeb AdminHelpe rMethod(Bo olean isMembership, String methodName, Object[] parameters, Type[] paramTypes) at ASP.security_roles_managea llroles_as px.BindGri d() at ASP.security_roles_managea llroles_as px.Page_Lo ad() at System.Web.Util.CalliHelpe r.ArglessF unctionCal ler(IntPtr fp, Object o) at System.Web.Util.CalliEvent HandlerDel egateProxy .Callback( Object sender, EventArgs e) at System.Web.UI.Control.OnLo ad(EventAr gs e) at System.Web.UI.Control.Load Recursive( ) at System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt)
Funnily enough, when I go back to the previous page and try again, I get the same message.
Does anyone know what's going on?
Checked the following websites:
http://forums.asp.net/t/1090491.aspx
My web config file is as follows:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="Con1" connectionString="Data source=MYSQLSERVER; Initial Catalog=MYDATABASE; Integrated Security=true" />
</connectionStrings>
<system.web>
<compilation debug="true"/>
<authentication mode="Forms">
<forms name ="cookie" loginUrl ="Login.aspx" timeout ="60" defaultUrl ="Default.aspx"></forms>
</authentication >
<authorization>
<deny users ="?"/>
</authorization >
<membership defaultProvider="Member">
<providers>
<add name="Member" connectionStringName="Con1 " type="System.Web.Security. SqlMembers hipProvide r"/>
</providers>
</membership >
<roleManager enabled ="true">
</roleManager>
</system.web>
</configuration>
Kindly check and let me know whether i need to add some thing or what
"An error was encountered. Please return to the previous page and try again."
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database. at System.Web.Administration.
Funnily enough, when I go back to the previous page and try again, I get the same message.
Does anyone know what's going on?
Checked the following websites:
http://forums.asp.net/t/1090491.aspx
My web config file is as follows:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="Con1" connectionString="Data source=MYSQLSERVER; Initial Catalog=MYDATABASE; Integrated Security=true" />
</connectionStrings>
<system.web>
<compilation debug="true"/>
<authentication mode="Forms">
<forms name ="cookie" loginUrl ="Login.aspx" timeout ="60" defaultUrl ="Default.aspx"></forms>
</authentication >
<authorization>
<deny users ="?"/>
</authorization >
<membership defaultProvider="Member">
<providers>
<add name="Member" connectionStringName="Con1
</providers>
</membership >
<roleManager enabled ="true">
</roleManager>
</system.web>
</configuration>
Kindly check and let me know whether i need to add some thing or what
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER