Hello,
We have been successfully using the dbExpress Oracle driver dbexpoda40.dll with our distributed Delphi 2010 32-bit application for a few years now. Most users are running the distributed program EXE from Windows 2003 server.
Our Delphi development and compiling up to this point has been on Windows XP machines. Recently we have upgraded our Delphi development machines to Windows 7. We re-installed the same Delphi 2010 and the same dbExpress drivers/components on the Windows 7 systems. The program compiles and runs fine on the Windows 7 development machines.
The problem is this. When we compile the Delphi project on the Windows 7 systems and try to run the executable from the Windows 2003 folder we receive the following error: "net connection refused". The only change seems to be is that we are now compiling on a Windows 7 machine.
Is there anything you can suggest that we can check or might be missing?
Thank you so much for your help,
Michael Malinowski
Production Resource Group
Connection Issues with Distributed Delphi EXE
Re: Connection Issues with Distributed Delphi EXE
To Alex,
Resolved:
In copying the new executable to the run path on the 2003 server, Windows 7 offers to keep the original file and put a copy of the new program with a parentheses enclosed number in the name of the new copy. As an example "OriginalName.exe" vs. "OriginalName (1).exe". Attempting to launch OriginalName (1).exe caused the program to start up and prompt for database credentials. After entering credentials we received the "net connection refused" error when connection was being established. Renaming the EXE by removing the parentheses solved the problem. Thank you.
Mike M.
PRG
Resolved:
In copying the new executable to the run path on the 2003 server, Windows 7 offers to keep the original file and put a copy of the new program with a parentheses enclosed number in the name of the new copy. As an example "OriginalName.exe" vs. "OriginalName (1).exe". Attempting to launch OriginalName (1).exe caused the program to start up and prompt for database credentials. After entering credentials we received the "net connection refused" error when connection was being established. Renaming the EXE by removing the parentheses solved the problem. Thank you.
Mike M.
PRG
Re: Connection Issues with Distributed Delphi EXE
Hello,
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.