Skip to Content
0
Sep 29, 2018 at 12:22 AM

How to avoid CR request for password when server name is changed.

97 Views

I have developed a vb.net desktop application. Crystal Reports have been configured on development server (SERVER01).

When I install the application on customers server, CR tries to identify the development server and requests for password and refuses to print.

If I change the customers server name to match the development server, CR allows to print.

How can I configure CR to work on any machine?

This is my code:

Dim rptViewer As New rptEventReport

rptViewer.Refresh()

rptViewer.DataSourceConnections.Clear()

rptViewer.SetDatabaseLogon(g_strServerUN, g_strServerPW, g_strServer, g_strServerDB, False)