error connecting to sql server 2005 from a small c++ program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • athindrans
    New Member
    • Mar 2007
    • 3

    #1

    error connecting to sql server 2005 from a small c++ program

    hi everyone

    first time using sql server.

    I have problem connecting from a small c++ program in visual c++ express editon
    to sqlserver 2005 developer editon.

    It says
    error connecting to the server...probab ly sql server does not allow remote connections check default settings...(pro vider sql interfaces Error 26 error of locating server or instance specified.

    I am using the default instance when i installed the server.
    I also chkd the default setting which allows remote connections. Also went into the configuration manager to enable named pipes
    But still not working Something pretty basic I suppose doing wrong.

    Will someone please enlighten..

    thanks
    athi
Working...