Jump to content

Driver could not be loaded, system error 5


Ezi

Recommended Posts

Hi all,

 

I'm trying to connect with Php to Hyperfile SQL databases. It actually works under Apache, but I've got the following error message under IIS :

 

"Le pilote spécifié n'a pas été chargé en raison de l'erreur système 5 : SQL state IM003".

 

Which means in english : "Specified driver could not be loaded due to system error 5 : SQL state IM003" (Access is denied.).

 

Here is the connection string :

 

$host="Domino"; // Is my DSN ODBC
$user="admin";
$password="";
$connect = ("$host", "$user", "$password");

$requete = "SELECT * FROM clients";
$data = odbc_exec($connect,$requete); 

 

I just started with IIS and Web programmation, so I require your help. I personnally think about IIS' rights.

 

Some information : Windows server 2003, IIS 6. Using ODBC; drivers are successfully installed (I can export databases to excel).

 

Thanks in advance,

 

Ezi.

 

PS : I'm french. Sorry for my english.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.