No Access to SQL Server with Delphi FireDAC on UNIX - sql-server

I have an application running under Windows connecting to a SQL Server. The application works perfectly fine under Windows.
The same application should work likewise on Linux (Ubuntu 18.04) via Delphi's cross-platform development.
Yet, I get the
.
This happened after installation of the driver via Microsoft's tutorial:
https://learn.microsoft.com/de-de/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15
Does someone have any idea what's going wrong?

When I started developing my cross-platform FMX application that was supposed to work with SQL Server, I also used FireDAC in the beginning. But, when it came time to deploy my application on Linux, I ran into similar difficulties. I decided that configuring each client computer to install my application was too laborious and I switched to SDAC, which allows working directly with SQL Server not only on Windows but on Linux and macOS. Now I just need to copy my application, and it works everywhere without any additional settings. I advise you to try this option.

Related

How to work on OSX using dotnetcore, but production will have sql-server

Do you think it would be a good idea to develop a dotnetcore application on OSX using mysql/postgresql as the database. But in production the database will be sql server.
I really enjoy working on my OSX laptop over windows, but the project requires sql-server when I push to PROD.

what's the client pc requirements for a VB.net using access database

does the client pc need to install anything for runing a VB.net application with access database ? (like microsoft office or something else ?)
Yes they do. If they have MS Access, then no further tools are required. Otherwise they will need to install AccessDatabaseEngine.exe to handle the database operations. You can download that from Microsoft.
I'm currently making a VB.net application to run with Access and have had to install AccessDatabaseEngine.exe ect.
Helpful website that I've since saved which contains all the downloads you'll need:
https://social.msdn.microsoft.com/Forums/...
When you are using ADO.NET and have selected the Assembly in the dependencies it will be part of the .NET Framework. Sometimes older Applications do need the Microsoft JET Driver copied into the windows directory. Do you have an error message?

c# WinForm - Pre-requisite for running Oracle Database Access

I've a Windows Form c# application which uses Oracle.DatabaseAccess.dll for communicating with oracle database.
After generating a MSI and installing on my laptop everything works great.
However when I try to install the same application on my colleague's laptop the connection doesn't work. It shows incompatible provider.
Could someone please help me out where can I get the pre-requisites for running application that uses oracle database?
I suspect it runs fine on my machine as I've installed oracle express database. But I don't want to install this on all machine where this application needs to be run.
Thank you.

Connect to remote Oracle Database

I needed to make an application connect with a oracle database located in the same network (ping the host works fine), but not in the same machine (i.e. an remote server). I developed then a software using Qt and I was able to connect it successfully with that database from my machine, but I'm not being able to do it from the machine my software is supposed to be located during its functioning. I've tried to understand what is so special about my machine that on it my software is able to connect with the Oracle database while it's not able to do the same in the right machine, and it seems that the only different thing is that I've installed the Oracle database here, while I'm not allowed to do the same there.
The error returned by Qt is that I'm simply unable to logon, while the QOCIDriver returns that it wasn't possible to create the environment. Interestingly enough, the same problem was occurring with me on my machine during the time I didn't have the Oracle database installed and neither the Oracle Client something. And this Oracle Client something is already installed in the official machine with no positive results.
So I'ld like to know exactly what I need to do to make my software works. Install the database after all in the official machine? Not viable. Install the Oracle Client? I've already done it. Add the ORACLE_HOME registry/environment variable? Did both. ^^ Copied the dbhome_1/BIN folder with lots of dlls and .exe to the official machine? Did it already, and that only made it began to crash while trying to connect to the database. And now I'm out of solutions...
I'm glad for any help!
Momergil
After some days of trying, finally I was able to solve my problem.
Essentially I had to copy the Oracle database installer to the official computer and active the Oracle Universal Installer choosing the option "Install only the database softwares", i.e., not the database itself. After that, it run fine.

Getting rid of "The publisher could not be verified" for a SINGLE instance install - Possible?

I have a Windows Forms (C#, SQL Server) application that I developed up and running and all is well, except for when I try to run its Release .exe on my own development workstation, it issues the "The publisher could not be verified" warning.
(When I run this application from Visual Studio in Debug mode, I don't get this warning)
I know about code signing but this application is going to be installed on a single machine only (directly by me, on the client's machine), so I am thinking perhaps there is a way to get rid of this warning without having to sign the EXE, similar to the exception Microsoft does when running from Visual Studio?
Note: on a single install single machine only.
Is this possible?
Are your running it from a network share by any chance?
If so, try copying it to a C:\ folder and see if that solves the problem.

Resources