error in datagridview

Discussion in 'ASP .Net' started by SAC, Feb 11, 2008.

  1. SAC

    SAC Guest

    I'm using Visual Web Developer 2005 Express Edition.

    I drag the Authors table to the design view in the pubs db and then press
    F5.

    I get and error:

    Cannot open database "pubs" requested by the login. The login failed.
    Login failed for user 'NOTEBOOK\ASPNET'.

    I thought this is a permissions problem so I made a new table within VWD and
    I got the same error when I attempted to run it.

    Any ideas on what I need to do?

    Thanks.
     
    SAC, Feb 11, 2008
    #1
    1. Advertisements

  2. SAC

    SAC Guest

    The first line of the error gives this info:

    [SqlException (0x80131904): Cannot open database "pubs" requested by the
    login. The login failed.
    Login failed for user 'NOTEBOOK\ASPNET'.]

    Thanks.

    "SAC" <> wrote in message
    news:%...
    > I'm using Visual Web Developer 2005 Express Edition.
    >
    > I drag the Authors table to the design view in the pubs db and then press
    > F5.
    >
    > I get and error:
    >
    > Cannot open database "pubs" requested by the login. The login failed.
    > Login failed for user 'NOTEBOOK\ASPNET'.
    >
    > I thought this is a permissions problem so I made a new table within VWD
    > and I got the same error when I attempted to run it.
    >
    > Any ideas on what I need to do?
    >
    > Thanks.
    >
     
    SAC, Feb 11, 2008
    #2
    1. Advertisements

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. dbuchanan
    Replies:
    7
    Views:
    7,808
    jtsmith2
    May 23, 2006
  2. =?Utf-8?B?Rmlyb3o=?=

    Forms inheritance - datagridview

    =?Utf-8?B?Rmlyb3o=?=, Jan 6, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,555
    =?Utf-8?B?Rmlyb3o=?=
    Jan 6, 2006
  3. dbuchanan

    DataGridView Scrollbars missing

    dbuchanan, Jan 10, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    18,780
    goldberg
    Nov 18, 2008
  4. =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?=

    RE: DataGridView with databound combobox

    =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?=, Mar 16, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    11,558
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Apr 2, 2006
  5. hangar18
    Replies:
    0
    Views:
    10,529
    hangar18
    Mar 27, 2006
  6. =?Utf-8?B?UCBL?=

    DataGridView - Determine if a row has been edited

    =?Utf-8?B?UCBL?=, Apr 20, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,164
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Apr 20, 2006
  7. Lucky
    Replies:
    3
    Views:
    4,258
    Vadivel Kumar
    Jun 27, 2006
  8. cannontrodder

    problem with datagridview

    cannontrodder, Jul 31, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    427
    Ketan Dixit
    Jul 31, 2006
Loading...