ASPNETDB Problem - Unable to connect to SQL Server database

Discussion in 'ASP .Net Security' started by ZZ_Scarab, Aug 17, 2007.

  1. ZZ_Scarab

    ZZ_Scarab Guest

    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.
    ZZ_Scarab, Aug 17, 2007
    #1
    1. Advertising

  2. ZZ_Scarab

    ZZ_Scarab Guest

    "ZZ_Scarab" <> wrote in message
    news:...
    > 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.
    >
    >
    ZZ_Scarab, Aug 17, 2007
    #2
    1. Advertising

  3. ZZ_Scarab

    ravish Guest

    Re: Re: ASPNETDB Problem - Unable to connect to SQL Server database

    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??

    > On Thursday, August 16, 2007 8:57 PM ZZ_Scarab wrote:


    > 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.



    >> On Friday, August 17, 2007 3:56 PM ZZ_Scarab wrote:


    >>



    >> Submitted via EggHeadCafe
    >> Oracle Developer For Beginners
    >> http://www.eggheadcafe.com/training-topic-area/Oracle-SQL-Developer/2/Oracle-SQL-Samples.aspx
    ravish, Jan 5, 2011
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jamezw
    Replies:
    2
    Views:
    3,589
    jamezw
    Jun 17, 2005
  2. =?Utf-8?B?Q2FpbGlu?=

    Unable to connect to the Sql server database

    =?Utf-8?B?Q2FpbGlu?=, Sep 9, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,654
    Patrick.O.Ige
    Sep 12, 2005
  3. Peter Afonin
    Replies:
    2
    Views:
    759
    Peter Afonin
    Oct 8, 2006
  4. James

    Unable to connect to SQL Server database

    James, Oct 4, 2006, in forum: ASP .Net Security
    Replies:
    3
    Views:
    540
    James
    Oct 6, 2006
  5. James
    Replies:
    2
    Views:
    449
    James
    Oct 4, 2006
Loading...

Share This Page