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
Solved

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

Posted on 2008-06-14
3
331 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Help 27 57
.NET 2008 VB and C# 6 39
VB.NET 2008 - SQL Timeout 9 34
Help with preventing selection from a combobox 11 34
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
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 new code templates in NetBeans IDE 8.0 for Windows.

829 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