473,473 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Crystal Reports - .rpt - "Query Engine Error"

[btw -- does anyone know of any plain old CR groups?]

hello,

i have an .RPT file that i am using to load a report via the ASP.NET
CrystalReportViewer control. i dont include my .RPTs as embedded
resources...instead i load the absolute path of the .rpt (on the file
system) to the control's ".ReportSource" property. i do this because i
like to move new versions of the reports w/o having to rebuild the
site.

then i pass in filter criteria to the control's ".SelectionFormula"
property. my reports use an Oracle view as their datasource, and
passing in critieria forumulas allow me to filter returned rows
appropiately.

ive noticed one thing... if i attempt to use a formula criterion that
is a member of the underlying view, but is *not* a field ive included
in the report (via the layout designer) -- then it craps out. the
report fails to load, with:
Query Engine Error: 'D:\projects\xxx\reports\changeHistory.rpt'

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.DataSourceE xception: Query
Engine Error: 'D:\projects\xxx\reports\changeHistory.rpt'
....no further info is given. if i remove the offending criterion, or
add its column to the report via the designer, the problem is
eliminated and things work normally.

whaaa? is this expected behavior (ie, is it a feature or a bug?)
thanks!
matt

Nov 20 '06 #1
2 8666
re:
[btw -- does anyone know of any plain old CR groups?]
Try microsoft.public.vb.crystal

Also, see :
news://news.cogniza.com/public.seaga...eports.general
news://news.cogniza.com/public.seaga...s.connectivity
news://news.cogniza.com/public.seaga...ts.programming
news://news.cogniza.com/public.seaga...orts.webaccess

For general CR info, see :
http://aspalliance.com/crystal/

Also, see :
"Licensing and support for Crystal Reports for Visual Studio .NET and for Visual Studio 2005" :
http://support.microsoft.com/kb/317789/

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<ma**@mailinator.comwrote in message news:11**********************@h54g2000cwb.googlegr oups.com...
[btw -- does anyone know of any plain old CR groups?]

hello,

i have an .RPT file that i am using to load a report via the ASP.NET
CrystalReportViewer control. i dont include my .RPTs as embedded
resources...instead i load the absolute path of the .rpt (on the file
system) to the control's ".ReportSource" property. i do this because i
like to move new versions of the reports w/o having to rebuild the
site.

then i pass in filter criteria to the control's ".SelectionFormula"
property. my reports use an Oracle view as their datasource, and
passing in critieria forumulas allow me to filter returned rows
appropiately.

ive noticed one thing... if i attempt to use a formula criterion that
is a member of the underlying view, but is *not* a field ive included
in the report (via the layout designer) -- then it craps out. the
report fails to load, with:
Query Engine Error: 'D:\projects\xxx\reports\changeHistory.rpt'

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.DataSourceE xception: Query
Engine Error: 'D:\projects\xxx\reports\changeHistory.rpt'
...no further info is given. if i remove the offending criterion, or
add its column to the report via the designer, the problem is
eliminated and things work normally.

whaaa? is this expected behavior (ie, is it a feature or a bug?)
thanks!
matt

Nov 20 '06 #2

Juan T. Llibre wrote:
Try microsoft.public.vb.crystal
thanks. i saw that, but the "vb" scared me off -- is that group
dedicated to VB windows apps usage? or are general, web, and designer
posts welcomed as well?
Also, see :
news://news.cogniza.com/public.seaga...eports.general
news://news.cogniza.com/public.seaga...s.connectivity
news://news.cogniza.com/public.seaga...ts.programming
news://news.cogniza.com/public.seaga...orts.webaccess
im not sure if ill be able to open anything other than usenet groups,
as im on a locked down work machine. those are the types of groups i
would expect to find on usenet tho (wonder why there arent?), so if i
can ill check them out.
thanks,
matt

Nov 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Starbuck | last post by:
OK, first let me say that I am no DB person. But I have a user here who keeps getting this error whenever she does, whatever it is she does, with databases... A google search takes me to...
0
by: Rob R. Ainscough | last post by:
Can anyone tell me how to debug this error? I'm using VB.NET 2003 with CR.NET 2003 (came with VS.NET) -- I've used: Try cr_Report.ReportSource = m_SourceReport Catch ex As Exception ...
9
by: Mike Bridge | last post by:
I am using MS Access 2003, and I typed in a query in SQL view which was working fine. Now when I open it, it gives me the error "Join expression not supported". Apparently, Access "fixed" it for...
2
by: drisso | last post by:
Hello, I have searched that error on these message boards, msdn and crystaldecisions.com. I found tutorials that showed how to export a crystal report to pdf, but like many others I am getting...
5
by: touf | last post by:
Hi, I'm having this error when I try to open a report (Crystal reports) on the client machine (It works fine on my developpement machine) It's a window application (not a web), On the client...
2
by: Florian G. Pflug | last post by:
Hi Since sometime yesterday, my postgresql (7.4.5) reports "ERROR: cannot compare arrays of different element types", when I analyze a specific table in my database. Here is the tables...
2
by: Hardy Wang | last post by:
Hi, I have a console application to export crystal reports result to PDF. For one of my report file, when i call Export() function from my code, I get "unknown query engine error". I have Crystal...
6
AccessIdiot
by: AccessIdiot | last post by:
Hi all, I have this function in an unbound textbox on my form: =DSum("SpecimenCount","tbl_Specimen_Entrainment","Entrainment_ID = " & ) It does a wonderful job, except when I go to a new...
0
by: Sunshine | last post by:
The report generated correctly into the rpt but the abover error appeared when the report was exported (through crystal) into excel. Exporting into pdf worked as well. After two days of searching...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.