ODBC Data source administration

  • Hi,

    i have installed sql server2005 in my home pc. trying to do the ODBC settings but it is giving me a error

     

    connection failed

    SQLState:010000

    sql server error2

    [microsoft] [ODBC SQL SERVER DRIVER] [Shared memory] connection open (connect())

    connection failed

    sqlstate:08001

    sql server error: 17

    [microsoft][ODBC SQL Server Driver][Shared memory] sql server does not exist

    or access denied.

    what should i do to solve this problem : pls suggest

    i have tried using sql server auth and windows authe but still cannot work.

     

    thanks

  • Enable shared memory through SQL Configuration Area Manager. Then you should be able to connect to the SQL Server using ODBC.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • mr sugesh,

    i have checked the configuration but the shared memory is already enabled.

    anyother solution pls

     

    thanks

  • Microsoft SQL Server ODBC Driver Version 03.85.1022

    Data Source Name: SQLS

    Data Source Description:

    Server: ROMI

    Database: (Default)

    Language: (Default)

    Translate Character Data: Yes

    Log Long Running Queries: No

    Log Driver Statistics: No

    Use Integrated Security: Yes

    Use Regional Settings: No

    Prepared Statements Option: Do not create temporary procedures

    Use Failover Server: No

    Use ANSI Quoted Identifiers: Yes

    Use ANSI Null, Paddings and Warnings: Yes

    Data Encryption: No

     

    this is the test datascript  . is anything wrong. still i cannot find the solution

  • Use client network utility to specify that you always go with TCP connections. Then try connecting to the database using the TCP connection instead of shared memory. Check if error reoccurs.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • yes i can connect now. just want to confirm few things.

    i can see two data source in the odbc data source administration

    when should i choose SQL NATIVE CLIENT and when should i choose

    SQL Server and what is the difference and purpose of them.

    thankyou very much

  • SQL NATIVE CLIENT comes out with support from SQL 2005 and has better performance than the OLEDB provider for SQL Server.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • thanks

Viewing 9 posts - 1 through 8 (of 8 total)

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