Windows Authentication for Sql Server and ASP server on Different server but same Domain

Last post 03-20-2008 11:40 PM by XiaoYong Dai – MSFT. 3 replies.

Sort Posts:

  • Windows Authentication for Sql Server and ASP server on Different server but same Domain

    03-18-2008, 1:04 PM
    • Member
      20 point Member
    • khushi2005
    • Member since 05-25-2007, 5:05 PM
    • Posts 155

    Hi

    I want to use Windows Authentication to access my SQL server 2000 .

    I have my Sql Server and Server on which my Asp.net application lies on different servers

    how do I go ahead

    Thanks

    Filed under:
  • Re: Windows Authentication for Sql Server and ASP server on Different domain

    03-20-2008, 2:21 AM

    Hi

    A domain trust is a useful way to allow users from a trusted relationship domain to access services in a trusting domain, so the domain the SQL Server is in, trusts the domain that the requesting user is defined in. SQL Server will authenticate Windows credentials with it's domain controller. For cross domain authentication, domain controller controller should be able to authenticate credentials from both domains. This is accomplished through domain trusts

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Windows Authentication for Sql Server and ASP server on Different domain

    03-20-2008, 9:35 AM
    • Member
      20 point Member
    • khushi2005
    • Member since 05-25-2007, 5:05 PM
    • Posts 155

    I am sorry but actually my domain is same but they are on different servers

    I have changed the post the Subject

    Thanks

  • Re: Windows Authentication for Sql Server and ASP server on Different domain

    03-20-2008, 11:40 PM
    Answer

    Hi

    ASP.NET use  NT AUTHORITY\NETWORK SERVICE (IIS6) as anonymous account for IIS machine A to login with SQL server B. In the destination SQL instance, You can add two new logins: [ServerName]\ASPNET and NT AUTHORITY\NETWORK SERVICE (the NT AUTHORITY\NETWORK SERVICE login is not required if the WSUS server is running Windows 2000 Server). Here you can find more information

    http://forums.asp.net/p/881639/912907.aspx#912907

    http://forums.asp.net/p/1159952/1914660.aspx#1914660

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (4 items)