469,948 Members | 2,906 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,948 developers. It's quick & easy.

Problems with Crystal Reports in Win98

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.
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.

Nov 16 '05 #1
2 1504
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:


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


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

Nov 16 '05 #2
Hi Scott,

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


For futher information, please check crystal report support website,

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

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Troy | last post: by
1 post views Thread by Gudni G. Sigurdsson | last post: by
3 posts views Thread by Gheaci Maschl | last post: by
1 post views Thread by Dreamtime | last post: by
3 posts views Thread by Miro | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.