Last post Oct 07, 2008 05:58 AM by chenthil_it
Oct 07, 2008 04:29 AM|YAT|LINK
I am attempting to initialize a remote SQLServer2005 Database to run my asp.net services (such as Membership Services).
the aspnet_regsql.exe tool finished creating the database tables successfully, as shown in the server's database called "aspnetdb".
but when I'm trying to use the configuration tool in order to configure membership for my website, the following error is shown :
"Could not establish a connection to the server" - followed by an explanation about the aspnet_regsql tool .
- How come the regsql tool succeeded connecting to my database but the configuration tool fails?
- The only configurable option i have in the configuration tool is choosing a provider (AspNetSqlMembershipProvider is the only option). how can i figure out what the problem is,
if I have no access to the connection parameters or the thrown exception?
Oct 07, 2008 05:58 AM|chenthil_it|LINK
AspNetSqlMembershipProvider uses an connection. I think the connection string in the connnection is wrong. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG" open machine.config file check the search LocalSqlServer connection string. Verfiy it is right