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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.