Previous Next

Thread: 2008 member srv needs trusted SQL connection on domain member server

Last post 04-04-2008 2:26 PM by Ken Schaefer. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 03-27-2008, 9:05 AM

    • infodon
    • Not Ranked
    • Joined on 03-27-2008, 12:59 PM
    • Posts 2

    2008 member srv needs trusted SQL connection on domain member server

    I have 2 servers a 2008 IIS7 member server (not in a domain) and a 2003 server with SQL (member server in a domain). I know the easiest way is to join them both in the domain and use a service account....yep OK . Unfortunately, we cannot do it at this time, so I need an interim solution to be able to connect the ASP application to the SQL server...securely. Is there a way to establish a trusted connection between the two servers??

    The only thing I have come up with is to move the SQL server to the same box.

     Any Ideas

  • 03-27-2008, 9:52 AM In reply to

    Re: 2008 member srv needs trusted SQL connection on domain member server

    Use SQL accounts, not Windows accounts.  Domain membership won't matter.  Connection string as appropriate, see www.connectionstrings.com for examples.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 04-02-2008, 9:09 AM In reply to

    • infodon
    • Not Ranked
    • Joined on 03-27-2008, 12:59 PM
    • Posts 2

    Re: 2008 member srv needs trusted SQL connection on domain member server

    Yeah I thought of that. Anyway using windows credentials??

  • 04-04-2008, 2:26 PM In reply to

    • Ken Schaefer
    • Top 75 Contributor
    • Joined on 09-17-2002, 5:05 PM
    • Sydney, Australia
    • Posts 52
    • IIS MVPs

    Re: 2008 member srv needs trusted SQL connection on domain member server

    Create a Windows account on the member server that has the name username and password as in the domain (or corresponding local account on the SQL Server)

    Specify the username and password in the connection string without using the doman or servername prefix.

    That works with two servers that are both in a workgroup (IIS and SQL), so I suspect it should work.

    Cheers
    Ken

Page 1 of 1 (4 items)
Page view counter