try changing the following line dbnavConnection.Open “DSN=navision;” to dbnavConnection.Open “DSN=navision;uid=sa;pwd=” If this works you have a problem with sql security. Check out SQL Manual under trusted connections. Hope this helps Best regards, Mario van Zeist