Application with Crystal Reports does not find database in client

Asked

Viewed 1,467 times

1

I made a small application that uses Crystal Reports to generate reports.

I did the . EXE of it with Instalshield LE, installed it on my PC and spun beauty. However, when installed on another machine, the application does not find the Database set. The login screen appears, but with the empty Database Name, while on my PC enters directly.

The line I used to set the logon was:

crVendas.SetDatabaseLogon("sa", "senha", "Server", "teste");

I even tried to install it on the server itself, but the same problem occurs. Can you help me? Thank you!

  • Does the Server have Sql Server installed? User sa has been enabled ?

  • publishes the stacktrace

  • @gmsantos, yes and yes. The version of Sql Server is 2008 R2.

1 answer

0


Well, just to finish the case, I ended up solving it in a very simple way.

I made the connection to the database directly through the Crystal Reports Database Fields and on the login line I put only the access data:

crVendas.SetDatabaseLogon("sa", "senha");

Browser other questions tagged

You are not signed in. Login or sign up in order to post.