cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Crystal Reports Version 13 Runtime Error

Former Member
0 Likes
1,642


Hello,

I have created a windows VS 2013 application to run a crystal report and save it as a pdf.  I have compiled it under 32-bit, .NET Framework 4.0.

The app runs fine on the development machine.  I have installed Crystal Reports runtime, CRforVS_redist_install_32bit_13_0_15 on a client machine then I tried running the windows application on the client's machine after installing it on the client machine. I verified that the Crystal Runtime was installed on their machine.  I receive the following error when I try to execute the windows application.  Can someone provide me with any insight as to what to look for or what needs to be corrected.  Thank you.



   
 
 
 
 
 
 
 
 
 
 
 





View Entire Topic
DellSC
Active Contributor
0 Likes

When you install the SDK runtime, you have to logged in as a user with Administrator rights in order for everything to get set up correctly.  It looks like the user doesn't have those rights.

-Dell

Former Member
0 Likes

Dell,

I had to have an admin install the runtime because the company does not allow users to install software so I believe that is not the solution.  Any other ideas ?


0 Likes

Hi Teri,

If the Admin who installed the software right clicks on your exe and selects Run As Administrator does that work?

Don

DellSC
Active Contributor
0 Likes

Does the user have the rights to read the registry keys that were configured during the install?  These keys will be under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI4.0 on 64-bit machines and HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI4.0 on 32-bit machines.

-Dell

Former Member
0 Likes

Don,

I have a user that has Crystal reports installed and he was able to run my app successfully.  I tried on 1 user that has Crystal Reports version 13 installed and she gets the error that I initially sent in my first question. The person that ran it successfully has the following folders under SAP Business Objects: Crystal Reports 2011, Crystal Reports Common, Crystal Reports for .NET Framework 4.0,  InstallData, MapInfo MapX, SAP BusinessObjects Enterprise XI 4.0 and setup.  I only want the runtime to be installed on the client's machine.  What folder should exist on the user's machine if they have the runtime only installed ?  BTW, each user ran the application as NOT an admin. I tried both on the user machine that got the error.  What can I do next ? Thanks

0 Likes

Use ProcessMonitor and look for Access Denied error or missing

Don

Former Member
0 Likes

Good Morning,

Is there anything I am missing ? Since I am not an admin on my machine and I am waiting for admin access to my local machine is there anything else I can look at ?  The application sets the username and password for the crystal report.  Why would it work on one client desktop and not another's desktop ?  Thank you.

0 Likes

Our installer requires FULL Administrator rights because we need to add/create various registry keys and values.

If you are not have admin rights the installer will not work correctly.

Likely the other person has admin rights or higher rights than you. Your IT guys can create packages and set admin roles for installing software. Or they should be able to, we do it here all the time. We don't have rights to stop AV software and other things....

I doubt there is anything you can do until they give you rights, its a permission thingy....

Don

Former Member
0 Likes

Hello Don,

On the user's machine that I am trying to test my report with has the Crystal Runtime for .NET Framework 4.0 so it has been installed by an admin.  My report is a single report (no subreports) and when I try to run it I get 'Database Logon fail'.  I have the userid, password etc to get ot the sql server hardcoded in the app.  One think I thought of was the driver that is needed to get to the sql server, the driver used in the crystal report is SQLNCLI11.dll but the user only has SQLNCLI10.dll. Does the user need to have the same version as the report is using ?  Could that be the issue ? Thank you very much for your response.

Teri

0 Likes

Ah yes, that is required on their PC. CR saves the client dll in the report so it can make a difference.

You can use the Client 10 in your reports, I have not found any problems using either, but it can make a difference.

And make sure you have the right client installed, if your app runs in x86 mode then they will need the 32 bit client and same for 64 bit app/client.

Don