Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: CR - Remote server machine does not exist or is... Post Reply Post New Topic
Author Message
ixcrazee
Newbie
Newbie
Avatar

Joined: 07 May 2007
Online Status: Offline
Posts: 3
Quote ixcrazee Replybullet Topic: CR - Remote server machine does not exist or is...
    Posted: 07 May 2007 at 11:05am
CR 10. Recently we are bring up some reports through web (ASP), it works for first few times but it then having vbscript error, as follows:

Microsoft VBScript runtime error '800a01ce'
The remote server machine does not exist or is unavailable: 'session(...).OpenReport'
/Reports/report1.asp, line 35

Line 35 is: Set session("oRpt") = session("oApp").OpenReport(path & strRptName, 1)

There is an error logged in Event Viewer, the details of the error:
Event ID: 4786. Msg: The system has called a custom component and that the component has failed an generated an exception. THis indicates a problem with the component. Notify the developer of the component that a failure has occurred.....

We have tried to re-installed the CR and doesn't resolve this issue. Manually register the CRAXDRT.dll into Component Services doesn't help.

Anyone has suggestions on how can I get this issue be resolved? Any help would be much appreciated!!

Thanks, IxCraZee
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 08 May 2007 at 8:12am
It sounds like you've got too many report sessions open.  Are you explicitly closing the report object when you're done with it? 
 
We used to use asp to run our online reports (we're now using the ASP.NET Viewer) .  When I get back to the office I'll check and see what we used to do for this.
 
-Dell
IP IP Logged
ixcrazee
Newbie
Newbie
Avatar

Joined: 07 May 2007
Online Status: Offline
Posts: 3
Quote ixcrazee Replybullet Posted: 08 May 2007 at 7:55pm
Thank you Dell for your respond Wink. Yes, we do setting the report objects to nothing at end of reports (include a file: MoreRequiredSteps.asp).
 
Set session("oRpt") = nothing
Set session("oApp") = nothing
 
Looking forward to hear from you. :)
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 09 May 2007 at 6:39am
Are you setting oRpt to nothing after each report or just at the end of the application?
 
-Dell
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 09 May 2007 at 6:59am
Also, if you'll send me your email addy in a private message, I'll send you the .asp files we used to use.  It's too long to post here.  The code that actually displays the report in the ActiveX viewer is primarily sample code that came from Crystal, but we tweaked it for the specific limited set of report parameters that we use.
 
-Dell
IP IP Logged
ixcrazee
Newbie
Newbie
Avatar

Joined: 07 May 2007
Online Status: Offline
Posts: 3
Quote ixcrazee Replybullet Posted: 09 May 2007 at 11:48am
Hi Hilfy, already PM you my email address... thanks.. Wink

Edited by ixcrazee - 09 May 2007 at 11:50am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.015 seconds.