944,183 Members | Top Members by Rank

Ad:
Nov 7th, 2007
0

Crystal Report Exception Error when Viewing

Expand Post »
Sorry I first posted this question on on the tech talk portion....


I'm using crystal report and vb6. I posted a thread two days ago regarding changing the connection properties of the crystal report in vb6. I found a way by using :
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. crxReport.Databases.SetDataSource rsReport
but I'm having an exception report : "The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02"
The report shows for some time but after opening several reports the error message occurs.

This is my scenario:
"I'm using a udl for my connection. I have two databases namely TK and TK_MCC. TK is for other company and TK_MCC is for the subsidiary company. I used TK database when I created the crystal report. I used the setdatasource to pass the recordset to change the datasource location of the crystal report. So even if they change the database TK to TK_MCC they can still access the report. But when I did the setdatasource there was an exception report. (The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02)"

Before it was working fine when I don't have to change the database.

By the way, i tried it also in another computer (just installed the program) but the error message was different. The other error was error28 out of stack space.

Can someone help me on this...
Thank you very much.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aquiintac is offline Offline
3 posts
since Sep 2007
Mar 19th, 2008
0

Re: Crystal Report Exception Error when Viewing

Click to Expand / Collapse  Quote originally posted by aquiintac ...
Sorry I first posted this question on on the tech talk portion....


I'm using crystal report and vb6. I posted a thread two days ago regarding changing the connection properties of the crystal report in vb6. I found a way by using :
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. crxReport.Databases.SetDataSource rsReport
but I'm having an exception report : "The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02"
The report shows for some time but after opening several reports the error message occurs.

This is my scenario:
"I'm using a udl for my connection. I have two databases namely TK and TK_MCC. TK is for other company and TK_MCC is for the subsidiary company. I used TK database when I created the crystal report. I used the setdatasource to pass the recordset to change the datasource location of the crystal report. So even if they change the database TK to TK_MCC they can still access the report. But when I did the setdatasource there was an exception report. (The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02)"

Before it was working fine when I don't have to change the database.

By the way, i tried it also in another computer (just installed the program) but the error message was different. The other error was error28 out of stack space.

Can someone help me on this...
Thank you very much.
How did you solve this problem? I got an almost same error message at the line of
"reportName.database.setDataSource rs (recordset name).

My error message is:
The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x7c812a5b.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
WenCounty is offline Offline
3 posts
since Mar 2008
Mar 19th, 2008
0

Re: Crystal Report Exception Error when Viewing

helo there, your connecting ur report right?

hope this will help u

1st: go to components and check the
crystal report control

2nd: put a command button
and paste this codes

Quote ...
With CrystalReport1
Screen.MousePointer = vbHourglass
.WindowBorderStyle = crptFixedSingle
.WindowState = crptMaximized
.WindowTitle = "Users"
.ReportFileName = App.Path & "\Reports\your crytal report file.rpt"
.WindowShowRefreshBtn = True
.DiscardSavedData = False
.Destination = crptToWindow
.Action = 1
Screen.MousePointer = vbDefault

End With
Last edited by hawisme000; Mar 19th, 2008 at 10:42 pm.
Reputation Points: 10
Solved Threads: 2
Junior Poster
hawisme000 is offline Offline
102 posts
since Jul 2007
Apr 3rd, 2008
0

Re: Crystal Report Exception Error when Viewing

Click to Expand / Collapse  Quote originally posted by hawisme000 ...
helo there, your connecting ur report right?

hope this will help u

1st: go to components and check the
crystal report control

2nd: put a command button
and paste this codes

Thank you very much for the reply. I fixed the problem by getting rid of ttx file and store the data set (a couple records only) in a memory field to write to a text object field in Crystal Reports form.

But this error happens (sporadically) to all my reports that use field definition file for the dataset for the report. And the error all happens at the line:
reportName.database.setdatasource recordsetName

All the reports have been running for many years without problems. Why does this happen now? Is this because of some dll thing?

Thanks.

Wen
Reputation Points: 10
Solved Threads: 0
Newbie Poster
WenCounty is offline Offline
3 posts
since Mar 2008
Sep 3rd, 2008
0

Re: Crystal Report Exception Error when Viewing

Hi,
Have you got any answer the your problem. I am also facing the same problem.

"The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x7c812a5b" is not occuring every time. Only few time, this message occurs.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gunasekaranm is offline Offline
2 posts
since Sep 2008
Sep 5th, 2008
0

Re: Crystal Report Exception Error when Viewing

Some clarification points needed regarding ur requirement.

Can u plz tell the version of Crystal Reports which u r using?

What is the Database and its version. Is it MS Access, if yes, which version.

To view the report are u using Crystal Report ActiveX Control or CRViewer?


Regards
Shaik Akthar
Reputation Points: 26
Solved Threads: 40
Posting Whiz
aktharshaik is offline Offline
316 posts
since Aug 2008
Sep 5th, 2008
0

Re: Crystal Report Exception Error when Viewing

Also have a look at this url

http://reportviewer.biz/knownissues.html

Regards
Shaik Akthar
Reputation Points: 26
Solved Threads: 40
Posting Whiz
aktharshaik is offline Offline
316 posts
since Aug 2008
Sep 5th, 2008
0

Re: Crystal Report Exception Error when Viewing

Thanks Akthar,

I am using VB6.0 Crystal Report 9.0 and DB2 Connect to connect Mainframe DB2 database.
Report is developed using TTX file. CRViewer9 control is used to see the report. Till now none of the users got this error. Only one user is getting.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gunasekaranm is offline Offline
2 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Activex component can't create object
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: VB6 controls render differently on different workstations





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC