Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm developing reporting application using Crystal Report and VB.Net and SQL Server Express 2005. The problem is when I deploy the application to the client the reports fail to start because of the server name. For example, when I develop this application in my computer with server name "MYPC\SQLExpress" then in client the server name will be "CLIENT\SQLExpress" or "CLIENT\AnotherSQLInstance". How to overcome this problem? Your answers will be appreciated. Thanks in advance.
Posted
Comments
Herman<T>.Instance 19-Sep-11 13:42pm    
can't you set it in a config file?
derodevil 21-Sep-11 10:58am    
What parts should I change in the config file?

1 solution

You can change the ConnectionInfo of the Crystal Report object from within your program.
HTH
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900