I am trying to connect to a VS 2005 MDF database. It appears that the only way to connect to it is through a datset. Is this right
But when I try to use the report, I get the following error at runntime:
---------------------------
Crystal Reports
---------------------------
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
---------------------------
OK
---------------------------
Any ideas
Dave

An error has occurred while attempting to load the Crystal Reports runtime
aLaMaT
Dave
Jameslee20
Yes, you can connect this type of database through a dataset. We have to narrow down the problem. Can you please check if dataset itself is working without Crystal Report components < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Silencer#1
Go to your application project, right click, and select "Properties"
On the Build tab, find the Platform Target combo box. It probably says, "Any CPU". Change this to x86 and your project will compile for 32 bit only, thus eliminating the issue.
This fixed my problem - and my sincerest thanks. Crystal Reports sucks, Reporting Services rules!
Summerstreet
Dave, I am experiencing the same error. Could you elaborate on changing the initialize configuration from x64 to x86 Thanks in advance!
Tim
Raja Pratap Reddy
Jartai
could you please explain. are you talking about the compile configuration
-Duane
cmaclo
Hi Dave - please give us more detail on what you mean by 'Crystal Reports does not initialize with x64 configuration'....
Thanks!
Mike
rocky_don
i had a lot of issues with this one as well, I am using Crystal report 11. My issue was that VB.Net 2005 does not show the Crystal 11 dlls under the .Net tab, so when I added the 10.0 references it would throw the error. I removed the 10.0 dlls from the references then went to the browse tab and added the same dlls from the folder C:\Program Files\Common Files\Business Objects\3.0\managed.
SPersels
The error occurs on the constructor of the report. I just installed the release version of DevStudio 2005.
public class SystemLogReport : ReportClass
{
public SystemLogReport() <---Error here
{} public override string ResourceName
{
get {return "SystemLogReport.rpt";}
set {// o nothing}
}
...
}
Is there another way to connect to the SQL Express database other than through a dataset
BTW, I am running Windows x64.
Dave