Problems with Crystal Reports in Win98

G

Guest

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/library/kbase/articles/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/library/kbase/articles/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.
 
K

Kevin Yu [MSFT]

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/library/kbase/articles/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."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top