Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Failed to load Database information when trying to run a command report

$
0
0

Hi,

 

I created a basic command report connecting to a SQL database using Crystal Reports for Visual Studio 2010 Database Expert>Add Command. When I run this report from my web application(.NET 4.0) it throws an error while loading the report, Failed to load Database information:Error in File ... .rpt

 

When I set the Enable 32 bit applications to true on my Application Pool the report runs fine and also when I preview the report through the design it works fine too.

 

Wonder why I have to Enable 32 bit applications. Doesn't it run on 64 bit apps.

PS: All the other reports designed through the same designer works and runs fine though even on the 64 bit application.

 

My Operating System is Windows 7 Enterprise 64 bit and I have a Crystal Reports runtime for VS 2010 64 bit on that server.

 

Below is the SQL Command Query:

SELECT "CNTCTID"."NAMEFIRST", "CNTCTID"."NAMELAST", "EMPLOYEE"."HIREDATE", "EMPLOYEE"."EMPID"

FROM   (RESOURCES.EMPLOYEE "EMPLOYEE"

               INNER JOIN RESOURCES.CONTACT "CONTACT" ON "EMPLOYEE"."CONTACTKEY"="CONTACT"."CNTCTKEY")

      INNER JOIN RESOURCES.CNTCTID "CNTCTID" ON "CONTACT"."IDKEY"="CNTCTID"."IDKEY"

 

I read somehwere in other forums that

This is due to CR being a 32-bit app running on a 64-bit server.  The server needs to be configured to run 32-bit apps in 32-bit mode.  This is an issue that is not unique to Crystal Reports. Is this really the issue?

 

Please do suggest me.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>