Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
I have developed a WPF C#.NET application in VS2010. I have downloaded and installed Crystal Reports for VS2010 and have design four reports using this feature.

I read and pass in the database login info (server,databasename,username,password) from the app.config file.

I have three client PCs. I downlaod the Crystal Reports for VS2010 and Framework 4.0 and installed on these three client PCs. I also develop my aplication on those machines.

My database server is MS SQL Server 2008 Developer Edition.

I am able to view the reports from my developer machine (which has VS2010, Crystal Reports for VS2010 and Crystal Reports for VS2010 runtime installed).

I am unable to view reports on any of the three client PCs (Only .NET 4.0 and Crystal Reports for VS2010 Runtime were installed). It came up with a Login prompt: The severname is disabled but has the servername. The databasename is blank and disable. The username & password fields were enabled with the app.config username and password.

I don't think there is an issue with SQL Authentication because the user used in app.config file can access &update the database using my application or using the Microsoft SQL Server Mgt Studio.

I am thinking the Cystal Reports for VS2010 runtime is missing some files.

If anyone facing same problem and how they resolved, please advise.

additional information copied from comment below
Actually i have created .exe in VS 2010 with SAP Crystal Report and i have installed on client PC and when i want to see report and got error
Description:
  Stopped working

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	Billing Application.exe
  Application Version:	1.0.0.0
  Application Timestamp:	542a4fa5
  Fault Module Name:	KERNELBASE.dll
  Fault Module Version:	6.1.7601.18229
  Fault Module Timestamp:	51fb10c6
  Exception Code:	e0434352
  Exception Offset:	0000812f
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Posted
Updated 1-Oct-14 1:04am
v5
Comments
[no name] 30-Sep-14 2:56am    
Can you paste the exact error you are getting. It will be helpful for answering.
Shrikant Bhongade 30-Sep-14 3:51am    
Actually i have created .exe in VS 2010 with SAP Crystal Report and i have installed on client PC and when i want to see report and got error



Description:
Stopped working

Problem signature:
Problem Event Name: APPCRASH
Application Name: Billing Application.exe
Application Version: 1.0.0.0
Application Timestamp: 542a4fa5
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18229
Fault Module Timestamp: 51fb10c6
Exception Code: e0434352
Exception Offset: 0000812f
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Kschuler 1-Oct-14 10:46am    
Are some of your machines 32 bit and some 64 bit? What operating systems are they running? And are you installing the REDISTRIBUTABLE for crystal reports? Or the actual Crystal Reports for Visual Studio 2010....are you installing Visual Studio on those machines?
Shrikant Bhongade 1-Oct-14 11:13am    
32 bit operating system. I have installed REDISTRIBUTABLE for crystal report and also installed SAP crystal report.Crystal report is working fine after creating setup without binding DataSet and DataTable. When i am going to add DataSet to Crystal Report object then application is closed without raising error and sometime asked credential of DataTable. But it's working fine when we create setup with VS2008. What can i do in that case. Plz help me.I have also created DataSet.axd.
Kschuler 1-Oct-14 11:17am    
Can you post your code? Have you tried putting a try catch around it so you can get a more detailed error message?

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