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

CrystalreportDocument

khosrow
Discoverer
0 Likes
966

Hi;

I’m new to VS and crystal report and my apologies if this question has been already been answered or I pose the question in a wrong way.

Maybe I’m doing something completely wrong. But I’ve tried different solutions (install and uninstall) and still have not been able to solve the issue.

I'm trying to create a crystal report in visual studio 2022 (vb.net). Windows 10 Pro.

Initially I only installed CRforVS6413SP32_0-80007712

CrystalReportViwer is visible in the toolbox. When I select “Choose Items” I don’t see any crystalReportDocument in the .NET frame work (4.7.2).

I tried to drag a CrystalReportViwer to a form and use the option “Create a new Report”, but here I get the error message that “The system cannot find the file specified from HRESULT: 0x80070002”.

Later I also installed the (CR13SP32MSI64_0-80007712) Based on some suggested solutions. But nothing works.

What am I doing wrong?

Please help.

regards

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Likes

1. Uninstall the runtime MSI that you installed - you only need to install the integration (.exe). However, you need to right-click on the .exe and select "Run as Administrator" in order for things to install correctly. There are a lot of registry entries that need to be configured and this is the only way to make sure they are created correctly.

2. In order to see the assemblies to add for references, go to Add References and you'll see something like this screen:

You need to click on "Extensions" to see the assemblies. Note that what you're seeing in this screen-shot is the BusinessObjects SDK, not the Crystal SDK, so don't let this confuse you.

3. If you want to add a new report, right-click on your project title in the Solution Explorer. Select "Add"and then "New Item". Select "Reporting" on the left and you should see the option for Crystal Report:

- Dell

khosrow
Discoverer
0 Likes

Hi dell.stinnett-christy;

Thank you very much for taking your time to help out. However I’m still a bit confused

I initially downloaded this package: CRforVS6413SP32_0-80007712. Is this the correct package?

I double clicked on it and it automatically unpacked and starts the installation. At the end of the installation, it also displays a message asking if 32 bit version should be installed.

First attempt, I declined, but since CrystalReportDocument was missing, after uninstalling, on the second attempt I accepted the 32 bit to be installed, but still no luck. (I did install the additional 32 bit version based on a suggestion in another forum)

If I unpack the package, I still do not see any “integration.exe” (maybe I misunderstood your comment),

Under package folder I see exe files,

Regarding running it as admin, I do not have the admin rights and every time, I bother someone with admin rights to come over and install it for me. However he does not right click and run it as admin, But I’m not sure if he is requiered to do so.

At the moment, I see following extensions, which I have included (most probably most of the are not needed), but still nothing works.


Regards/ Khosrow

DellSC
Active Contributor
0 Likes

I'm sorry if I caused some confusion, what you're installing is the VS integration. However, you cannot just double-click and run it. You MUST right-click and select "Run as Administrator" to get it to register everything correctly due to issues with Windows security.

-Dell

khosrow
Discoverer
0 Likes

Hi Christy;

Thanks a million. I really appreciate that you took your time.

It works now.

Regards/ Khosrow

Answers (0)