Hello All,

I am using NT 4 Server with the latest ODBC drivers. I can use PHP with existing DSN's, but when I try to create new DSN's, I get the following error when calling the odbc_connect statement.

Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in line xxx

Anyone know how to solve this problem?

Thanks,
Scott

    8 months later

    Have you solved the problem?

    I've the same problem now, can you help me?

      I found that sometimes the permissions to the ODBC in the registry are not right. Go into the registry (i think at \hkey_local_machine\odbc\odbc.ini\yourdsn) and make sure that the everyone group has full control of the dsn.

      HTH,

      Scott

        2 months later

        Simply..

        Re-install all the System

          Write a Reply...