?
Solved

Whenever I try to "create a new user" using this tool, I get this error:

Posted on 2008-06-14
3
Medium Priority
?
341 Views
Last Modified: 2013-11-26
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.WebAdminPage.CallWebAdminHelperMethod(Boolean isMembership, String methodName, Object[] parameters, Type[] paramTypes) at ASP.security_roles_manageallroles_aspx.BindGrid() at ASP.security_roles_manageallroles_aspx.Page_Load() at System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

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.SqlMembershipProvider"/>
                        </providers>
                  </membership >

            <roleManager enabled ="true">
                  
            </roleManager>
      
      </system.web>
</configuration>

Kindly check and let me know whether i need to add some thing or what
0
Comment
Question by:muneerz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
muneerz earned 0 total points
ID: 21805437
Dear Modus,

I got the solution for the above question, thanks a lot for your kind help.

0
 

Author Comment

by:muneerz
ID: 21805449
I got the solution for the above question from other resource.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question