Hi,
I wrote a vb crystal report generator as a comman line app. It works on the server that hosts the sql server, and I can run any report from a batch file.
I take that and copy to another server set up the same way, and I get an error 5 - Database logon failed.
The crystal uses an OLE DB connection. Connection criteria is sent to the generator via command line parameters.
I've check the following for differences, and they are the same across both systems
SAP CR runtime 32 and 64 bit (13.0.15.1840)
SAP CR for VS (13.0.15.1840)
Microsoft SQL Server 2008 Native client (10.2.4000.0)
Microsoft .NET Framework 4.5.2 (4.5.51209)
Not sure why this is happening and have looked at the other posts here. I ensure the Native client was on the problem server.
Thanks,
Bill