I'm having trouble deploying my delphi application. It uses dbxpress to access mysql 5.1 database. When i run the application from another computer, an error occurs. I've already included the midaslib.dll in my application and copied the dbxmys.dll and libmysql.dll in the same folder as my application.
Hope someone can help.
Can you make a connection with the ping command? Can you make a connection to the database itself? Just with the command prompt. Not with Delphi.
Maybe a firewall is blocking or the remote user is not authorized.
Related
I have a COM+ application consisting of a client DLL and many middle-tier DLLs.
The application gets run by using an MSC application file.
When I am in die IDE and run my client DLL, I have the following run parameters to launch, run and debug my client DLL (this works great):
The theory is that I should be able to debug my middle-tier by running the DLL with the following parameters (I get the ProcessID from my COM+ Application in Component Services):
Once it is running, I should then be able to start my client MSC application and that should allow me to attach and debug my middle tier. I have seen this working before.
Running my Client DLL from the IDE or as an MSC application works without issues but when I try to debug my middle-tier, as described above, I get a "The RPC server is unavailable" error.
I am running everything locally so I am not sure what server it is referring too.
I have also made sure the following services are up-and-running:
DCOM Server Process Launcher, Remote Procedure Call (RPC) and RPC Endpoint Mapper
Any idea what else could cause this error or what server it is trying to connect too?
It turns out there were more than 1 version of the DLLs registered on my pc. I inherited the pc from a previous employee and noticed some install files of the application on the C drive (all my stuff is on the E drive). I ran the uninstall procedure on the C drive that also unregistered some DLLs and my RPC problem was resolved.
I've revisited my asp.net mvc core 2.0 web site after some 8 months and for some reason I cannot upload any dll files from my local published folder to the hosting server. I keep getting the following error...
"Copying files to remote side failed.
The process cannot access the file because it is being used by another process."
I get this error no matter which method I use, ftp or http.
What's changed in the last 8 months?
Please check list below:
Please ensure you have rights to access the file;
Please check if the FTP port is used by other applications;
Please check if the file is indeed used by other programs.
Please run process explorer and see what process is locking the file.
Also try:
Restarting your visual studio
Restarting your operating system.
Restarting target server or Web Server.
Please provide more information for more help
I'm setting up a brand new system and decided to install TTU 15.10.04 (my old machine had TTU 14). When I run my apps, I get this error:
The 'TDOLEDB' provider is not registered on the local machine.
I used to get this error on earlier versions, but all I had to do was make sure my app was running in 32-bit mode. After checking everything multiple times and not being able to isolate the problem, I searched for the OLE DB installation folder on my new machine, but have not been able to find it. So I checked my old machine and found that it was installed here:
C:\Program Files (x86)\Teradata\Client\14.00\OLE DB Provider for Teradata
I have no such equivalent folder on my new machine. The only thing I have is OLE DB Access Module, but I am sure that's not it. I have concluded that I do not have the OLE DB provider installed at all and cannot seem to find out where to get it. It's as if it has disappeared. Any help would be great
You can download the teradata oledb provider for ttu15 HERE
Hope this helps
I have createtd one application using Delphi 5 and BDE components. I have connected to database through ODBC connection. The application is running smoothly on my machine but its giving error while running the build exe on another machine. I have created the same ODBC connection on another machine also. but its giving error "An error Occurred while attempting to initialize Borland Database Engine". :( Any solution to this error? thanks for help. - Naren
Seems to me, that you haven't installed the BDE on the other machines you are trying to run your program. Without the BDE installed, running your program fails.
Here's an odd situation, if I open a command prompt and start the mongrel server then everything works swimmingly. ActiveRecord talks nicely to the MSSQL server using ODBC if I have a User-DSN defined. But if remove the User-DSN and set just an identical System-DSN then odbc bombs:
[Microsoft][ODBC Driver Manager] Data
source name not found and no default
driver specified
I am running Rails on Windows 2003 Server 64bit, using DBI 0.4.1, DBD-ODBC 0.2.4, Rails 2.3.4. I've tried using ODBC manager for 32bit and double-checked that the connection is working from the ODBC Administration panel. Does anyone have any ideas?
Frustrating! As it turns out, I had to use regedit to access HKLM/Software/ODBC/ODBC.INI children key (DSN) and changed the SQLServer driver there to be c:\windows\system32\SQLSRV32.dll. Even though the ODBC Administration Panel had this specified and its tests ran fine, it wasn't working until I tweaked the registry. So odd..
Hope it helps someone else in the future.
For me the problem was that I was entering the ODBC connections into the 64 bit version of the ODBC Data Source Administrator. When I went to
C:\Windows\SysWOW64\odbcad32.exe
, and re-entered the drivers here (the others were not there!), and all worked fine after that.
blog entry where I found this