Web Site Administration Tool: Unable to Connect to Database



Hi,

<I posted this on the microsoft.public.dotnet.framework.aspnet.security
newsgroup but before I got a reply this newsgroup has become unavailable!!
So I'm posting it here again. Sorry for the inconveneice.>

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.


.



Relevant Pages

  • Securing a web DB
    ... We are putting up a ASP.NET based web site using SQL Server database. ... Users of the web site get to see confidential data. ...
    (comp.security.misc)
  • Securing a web DB
    ... We are putting up a ASP.NET based web site using SQL Server database. ... Users of the web site get to see confidential data. ...
    (microsoft.public.sqlserver.security)
  • Re: Securing a web DB
    ... >We are putting up a ASP.NET based web site using SQL Server database. ... >name, uid, password) from an XML file and establish connection to the DB. ...
    (microsoft.public.sqlserver.security)
  • Re: database
    ... Maybe you should use a "for dummies" database: ... Kevin Spencer ... >> Okay, so where is the SQL Server located, with respect to the web site? ...
    (microsoft.public.frontpage.client)
  • Re: No db access after publishing web site
    ... Is the SQL Server Express database in the new application's App_Data folder? ... But after I published the web site in a file system ...
    (microsoft.public.dotnet.framework.aspnet)