SQL server 2K authentication problem

  • Hi,
     
    I have 2 stand alone Win2K servers in a network; A & B.

    Server A has Web server configured and a web site based

    on ASP. Server B has MS SQL 2000 database. When I

    go to the website in Server A and it hits a ASP page where

    the database connection with server B I get the following error.

     
    Error Type:

    Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)

    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed

    for user '(null)'. Reason: Not associated with a trusted SQL

    Server connection.

     
    Here is my configuration details:
     
    1. ASP pages has fildsn database connection.

       "fileDSN=mydatabse"

    2. In Server A, the ODBC has a fileDSN configured

        for the database sitting in Server B with windows NT

        authentication using the network login ID.

    3. In IIS (server A) - Directory Security, anonymous access &

       integrated windows authentication are checked.

    4. In server A, in OS level, IUSR_SERVER-A  account is there.

     
    If these both servers are in a domain I could create the same

    account in both servers but they are stand alone.

     
    I would appreciate any help on this as I am going nowhere with

    this issue for the last couple of days..

     
    Thanks,
     
    Paul

  • Hi Paul,

    I am just guessing... Try to play with connections and authentication, make it mixed (windows and SQL), refresh everything, create new connections... Something is there just not finding each other... Create new user (it says user '(null)' - is it should be that way? maybe it's not finding the users? create new account or something like that).

    Try everything! Good luck!

     

  • When you setup your ODBC connection on Server A, did you run the 'Test Connectivity' test? You setup Windows NT authentication for your ODBC connection, but what is your SQL server's authentication settings set to? (Windows, SQL, Mixed)

  • By 'stand alone' I assume tat you mean 'workgrpoups'. If this is the case then you need to put things in a domain.

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply