ASPNETDB Problem - Unable to connect to SQL Server database

Z

ZZ_Scarab

Hi,

I tried using the ASP.Net Web Site Administration Tool to setup security for
a web site I'm creating using VS 2005 C#. When clicking on the Security tab,
I get the error message: "Unable to connect to SQL Server database". I then
created the ASPNETDB database with the ASPNET_REGSQL utility in the
Windows\Microsoft.net\Framework\v2.0.50727 and can now see the database in
SQL Server Management Studio (I'm running SQL Server 2005). I tried the Web
Site Administration Tool and got the same error. It is interesting that the
tool does not ask for the server name or the database. Is it getting this
info from some setting setup by the ASPNET_REGSQL utility when creating the
ASPNETDB database?

I have no problems connecting from my application or VS proper to the
database, only from the Web Site Administration Tool. What am I missing?

Thanks for any pointers.
 
Z

ZZ_Scarab

ZZ_Scarab said:
Hi,

I tried using the ASP.Net Web Site Administration Tool to setup security
for a web site I'm creating using VS 2005 C#. When clicking on the
Security tab, I get the error message: "Unable to connect to SQL Server
database". I then created the ASPNETDB database with the ASPNET_REGSQL
utility in the Windows\Microsoft.net\Framework\v2.0.50727 and can now see
the database in SQL Server Management Studio (I'm running SQL Server
2005). I tried the Web Site Administration Tool and got the same error.
It is interesting that the tool does not ask for the server name or the
database. Is it getting this info from some setting setup by the
ASPNET_REGSQL utility when creating the ASPNETDB database?

I have no problems connecting from my application or VS proper to the
database, only from the Web Site Administration Tool. What am I missing?

Thanks for any pointers.
 
R

ravish

even i have the same problem....can u tell me how to create ASPNETDB db....is there anythng special in it???

and did u find any solution so far??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top