Login failed for user 'MachineName\ASPNET

Discussion in 'ASP .Net Security' started by pshiue, Oct 24, 2004.

  1. pshiue

    pshiue Guest

    I am developing ASP.NET application in VS.NET.
    It gave me an error message "Login failed for user 'MachineName\ASPNET".
    I tried to share the database directory but it did not work.
    I look into the database connection when setting the properties. It tested
    OK.
    However, when I run the application, it gives me error.
    When I first develop this application as Windows application, it was fine.
    Now, I make it as ASP.NET application and then it does work.
    I also looking the knowledge base Q316989 but it does help me much. Maybe I
    miss something.
    Does anyone has any suggestions? Thanks.

    Paul Shiue
     
    pshiue, Oct 24, 2004
    #1
    1. Advertising

  2. pshiue

    Paul Guest

    I got it to work. Here is the information:

    ms-help://MS.MSDNQTR.2003FEB.1033/vbcon/html/vbtskAccessingSQLServerUsingWindowsIntegratedSecurity.htm

    Thanks everybody for your help.

    Paul

    "pshiue" wrote:

    > I am developing ASP.NET application in VS.NET.
    > It gave me an error message "Login failed for user 'MachineName\ASPNET".
    > I tried to share the database directory but it did not work.
    > I look into the database connection when setting the properties. It tested
    > OK.
    > However, when I run the application, it gives me error.
    > When I first develop this application as Windows application, it was fine.
    > Now, I make it as ASP.NET application and then it does work.
    > I also looking the knowledge base Q316989 but it does help me much. Maybe I
    > miss something.
    > Does anyone has any suggestions? Thanks.
    >
    > Paul Shiue
     
    Paul, Oct 24, 2004
    #2
    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. =?Utf-8?B?TWFuZGFyIFBhdGls?=

    Login failed for user 'machinename\ASPNET'

    =?Utf-8?B?TWFuZGFyIFBhdGls?=, May 26, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    10,127
    =?Utf-8?B?TWFuZGFy?=
    May 27, 2004
  2. Linda
    Replies:
    3
    Views:
    616
    =?Utf-8?B?UGF1bA==?=
    Oct 24, 2004
  3. =?Utf-8?B?cHNoaXVl?=

    Login failed for user 'MachineName\ASPNET

    =?Utf-8?B?cHNoaXVl?=, Oct 24, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,505
    =?Utf-8?B?cHNoaXVl?=
    Oct 24, 2004
  4. Jon   Paal
    Replies:
    4
    Views:
    500
    Juan T. Llibre
    Nov 29, 2006
  5. Carmen de Lara

    Login failed for user 'machineName\ASPNET'. 18456

    Carmen de Lara, Jul 3, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    138
    Carmen de Lara
    Sep 23, 2004
Loading...

Share This Page