By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,089 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,089 IT Pros & Developers. It's quick & easy.

Problems with Crystal Reports in Win98

P: n/a
I have an application written in C# using VS 2003 with MSDE as the database.
The reports use Crystal as provided with VS. The application and reports
work correctly under WinXP, but the reports do not work under Win98.

I have read the info re dbghelp.dll and CRQE.dll under Win98 ad have
implemented the recommendations. This avoids the "Failed to load report"
error. http://support.businessobjects.com/l...s/c2013420.asp

Now I am left with a different error message - "Invalid table number". This
occurs when the database source for the report is changed at runtime.
http://support.businessobjects.com/l...s/c2011464.asp
The error occurs at the point of setting the Location property for the first
(and only) table used in the ReportDocument. The stack trace shows it
failing in a call to setLocation(). There are no SubreportObjects either.

Any ideas why this would work in WinXP, but not in Win98? It obviously
needs to use SQL Authentication to access MSDE on Win98, but uses NT
Authentication on WinXP. It is set to NT Auth at design time, so do I need
to change this before I set location? I'm not sure how to do this at runtime
and would appreciate advice.

Thanks,
Scott.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Scott,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you are receiving an error message -
"Invalid table number" when trying to change database at runtime. If there
is any misunderstanding, please feel free to let me know.

Based on my research, this error message appears on certain computers,
because these computers are using a file DSN. However, the user running the
application does not have sufficient rights to use the file DSN.

To resolve this error message, use a System DSN. Modify your report and
code to use this System DSN to successfully run the application.

For more information, please check the following link:

http://support.businessobjects.com/l...s/c2013109.asp

Crystal report is not supported by Microsoft. For more information related
to this issue please check the following link:
http://support.crystaldecisions.com

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #2

P: n/a
Hi Scott,

I'm not quite sure how this happens. You can try to search through google
groups. Here is a link.

http://groups.google.com/groups?hl=z...&q=crystal+rep
ort+%22Invalid+table+number%22

For futher information, please check crystal report support website,
http://support.crystaldecisions.com

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.