on 08-05-2009 4:01 PM
i keep getting the this error :
Failed to create the Crystal Query Engine.
on this line of code :
billing.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, fileName);
i'm trying to use export it to pdf.
the page works fine on my notebook. but when deployed to window server 2003 server i get this error.
Crystal Reports Basic Runtime for Visual Studio 2008 is already installed there.
I have provided NETWORK_SERVICE and ASPNET access to the root drive C:, which is the only drive on the server. but i'm getting this error.
OK. You have Crystal Reports Basic Runtime for Visual Studio 2008 already installed on the window server 2003 server. What is the version of the CR assembly crystaldecisionis.crystalreports.engine.dll that is being referenced by your app?
How was the Crystal Reports Basic Runtime for Visual Studio 2008 installed on that server?
Do a search for querybuilder.dll on the server and try to manually register it.
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the version of CrystalDecisions.CrystalReports.Engine is 10.5.3700.0.
i installed crystal report runtime for vs2008 by running a standalone setup of it.
i searched for querybuilder.dll and found . i tried to manually register it by using this command
regsvr32 "C:\Program Files\Business Objects\Common\2.8\bin\querybuilder.dll"
but dllregisterserver entry point was not found.
I'd like you to download the Process Monitor utility from here:
http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx
Filter for the name of your process as this utility makes large logs. Once you have a log, search for any error messages (Access denied, etc.).
The only note I found on the same error is [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] which points to the crqe.dll being at fault.
See if the Depends utility tells you of any missing dependencies. Depends is here:
http://www.dependencywalker.com/
(Simply open the dll in the utility)
Ludek
Hi Ludek,
This problem has been driving me crazy for days now.. its really holding me up.
CR Version=10.5.3700.0
I'm actually in the process of migrating my web application from windows server 2003 to windows server 2008 R2.
I ran CRRedist2008_x64.msi on the new server.. which placed all the dll files in C:\Program Files\Business Objects\Common\2.8\bin
This is also the value for registry keys "Common FIles" and "Path" in HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\10.5\Crystal Reports
I've tried just about everything.. I'm now wondering if CR 10 is even compatible with windows server 2008 R2. Well I guess it is because out of desperation I installed visual studio 2008 on the server and it opens up the reports just fine.
I would greatly appreciate any help you can offer.
Thanks, Jr.
Edited by: JuniorB on Apr 19, 2011 3:14 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.