Solved

interop.crystal exception from hresult

Posted on 2006-11-09
5
1,203 Views
Last Modified: 2008-01-09
Hi -

I've got an VB.NET application that was written in-house by a former employee. The application generates a report using a Crystal Reports dll. Unfortunately, there is no documentation, the app cannot be fixed and recompiled, we are simply stuck with the install program associated with the app.

When trying to generate a report, we get the following error:
interop.crystal exception from hresult

I've reinstalled the app hoping it would bring in whatever it needs to run, but no luck.

Any suggestions on what to do to get it to work?
0
Comment
Question by:wppiexperts
  • 2
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
MIKE earned 125 total points
ID: 17906717
These may help....

I don't know if you're using windows or web application but check out these fully functional sample apps :

Web: http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_web_samples.exe.asp

Windows: http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_win_samples.exe.asp

Lemeno

MikeV
0
 

Author Comment

by:wppiexperts
ID: 17906881
before I load these sample apps, what do they do?

at the moment I don't need a tutorial on how to build a vb.net app with crystal, because I have no way to fix the app....what I'm trying to figure out is what isn't loaded, registered or whatever, that is causing that error to show up.

thanks for providing the links!
0
 
LVL 17

Expert Comment

by:MIKE
ID: 17906908
Well..I'm just "shooting from the hip" here..as I don't know the specifics of your particular issue.....so don't load anything..unless YOU are sure it will help solve your issue.

I'm simply trying to provide some direction.

If after reading over the info..you feel it doesn't apply...and we'll keep working on it...for a fix...

MikeV

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 17922950
What changed on the PC or the server?
Interop is how the app communicates with IIS

mlmcc
0
 

Author Comment

by:wppiexperts
ID: 17956454
regarding the Interop and IIS communication issue, I'm not aware that the desktop application is using IIS to communicate with anything, since the locally installed app is calling an installed crystal dll to run a locally stored crystal report.

not sure what happened. I tried running the app on 3 computers which had the app installed for a long while (although the users don't all run the reports) and none of them worked (all reported the same error). I installed the app on a new pc, same thing. Reinstalled Crystal, re-registered the dll and ocx files related to the app, same problem.  I rolled back one pc that the report worked on a month ago, no luck. The only thing that worked was to open the report directly in Crystal and run it from there.

thanks to everyone for their input
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now