Click here to Skip to main content
16,004,647 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone,

I am getting this error while calling Seagate 8.5 crystal reports from .net code.

OS Win10 32Bit
Visual Studio 2008
Crystal Tool Seagate Crystal Report 8.5.


I Designed Crystal reports in vb6.0 and using dll file via .net code. At windows xp this was working fine, but when I migrated at windows 10 32bit the above error occurs while calling to dll.
Please help me for this issue.

I got error at x.helloVB() line.

at VB 6.0 Project1.dll
Class1.cls
Public Sub helloVB()
Form1.Show 1
End Sub

Form1 contains CrystalReport Viewer Control and no single line of code.

at .net end
Dim x As New Project1.Class1
x.helloVB()


What I have tried:

1. Changed Target CPU to x86.
2. Installed SQL server compact 3.5 sp1.
3. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv.exe /ResetSkipPkgs
4. Registered and Unregisterd DLLS.
5. Added Directory permissions to full control.
Posted
Updated 13-Jun-18 1:28am
v3
Comments
Richard Deeming 12-Jun-18 10:05am    
We can't help you to fix code that we can't see.

Click the green "Improve question" link and update your question with the relevant parts of your code. Remember to indicate which line of code the exception is thrown from.
Sid_Joshi 13-Jun-18 2:42am    
At frmReportViewer.Show 1 form gets this error.
this form have crystal report viewer control.
How can I share code with you?
CHill60 13-Jun-18 7:16am    
You paste the code into your question after clicking the green "Improve question" link next to it.
Sid_Joshi 13-Jun-18 7:28am    
added in question. dll and exe built at win 10 are working fine at win xp but not at win 10. whats d issue, did I missed something?
CHill60 13-Jun-18 7:20am    
When you say you have registered and unregistered DLLs are you sure you are not mixing 32bit and 64bit stuff and that you are registering components using the correct version of Regsvr32.exe in each case?

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