32bit and 64bit Apps using Crystal 2010sp1 with a recordset

Hi
I'm using Crystal 2010sp1 with VS2010. I have some code that I did not write, which obtains a recordset and passes that to the ReportDocument. It then goes on to .Export() the report.
When my app is compiling as 32bit the .DataSourceConnections on the ReportDocument contains 1 item with the following properties:
DataBaseName=""
DBConnHandler=0
IntegratedSecurity=False
LogonProperties = { "ADO.Net DataSet Object", "0,4AFECC" }  { "ADO.Net DataSet Object", "0,4AFECC" }
{ "Internal Connection ID", "2e3b2f7f-0c31-472a-9773-f301a7ba9a3e" }  { "Internal Connection ID", "2e3b2f7f-0c31-472a-9773-f301a7ba9a3e" }
Password = ""
ServerName = "NewDataSet"
Type = CRQA
UserID = Nothing
And it exports perfectly!!
When compiled as "Any CPU" and running on a 64bit machine, the properties are:
DataBaseName=""
DBConnHandler=0
IntegratedSecurity=False
LogonProperties = { "Field Definition File", "BL_Extras.ttx" } { "Field Definition File", "BL_Extras.ttx" }
Password = ""
ServerName = "D:\EntaV4\ENTAReports\rpt\BL_Extras.ttx"
Type = CRQA
UserID = Nothing
And the export fails with the exception:
"Failed to load database information. Error in File BL_Extras {9D634275-70C4-42E8-B7EE-C2A69C0CDD2B}.rpt: Failed to load database information."
Why under 64bit is Crystal setting different connection details? And where is it getting the path for the ttx file in the ServerName property, my app and report are on my C drive in a totally different location. That folder on D had never existed on my machine.
I do happne to have the ttx file for this report, but putting it next to the rpt or in the above path makes no difference. I don't have the ttx for other reports though anyway and running as 32bit it works even if I delete the ttx though.
I have searched the error and found several pre-SP1 and non-recordset scenarios. I also read a little about create XML files for the reports but that is going to be too much work as there are hundreds of reports. It's not a lack of a 64bit ADO driver is it?
I thought i'd ask here for other solutions before I step back in time 10 years and make this app 32bit only.
I'm pretty sure this all worked on 2008 with CR2008.....

I exported the data as XML from my datatable like you said. I did it both running as x64 and x86, the output was the same.
I thought i'd eliminate any bad code that might be in my main app by writing a little test app that loads that xml and drops it in a viewer control. I started a new project in VS, added a form with the Crystal Report viewer. I then wrote code to load the rpt file, and read the xml into a dataset, and then setdatasource on a report object to the first table of that dataset (which is what my main app is doing).
Dim crReportDocument As New ReportDocument
Dim filePath As String
Dim ds As DataSet
filePath = "c:\64crystal.xml"
ds = New DataSet()
ds.ReadXml(filePath)
crReportDocument.Load("C:\inetpub\wwwroot\SchedulerManager\rpt\BL_Extras.rpt")
crReportDocument.SetDataSource(ds.Tables(0))
CrystalReportViewer1.ReportSource = crReportDocument
Running it in x86 I am prompted for some parameters that the report required, and then the report renders in the viewer perfectly, no problems.
Running this app in x64 prompted me for the parameters, and then I get a msgbox saying:
Failed to load database information
Error in File BL_Extras {CD6C5C52-744C-433E-9297-87ECC3834262}.rpt:
Failed to load database information.
So then going back to what you asked, I went to the viewer control and click 'choose a crystal report' I get a 'Bad forumula result' error. If I select 'Create a new Crystal Report' and then 'From and existing report' and select the rpt file i'm working with. It then shows the rpt file in the VS designer with all the fields and sections and looks fine, though returning to the viewer gives the 'Bad Formula result' again. Seem to get this on several reports so am assuming its just because there is no data yet.
On this report now in my project I went to set datasource location and selected the XML it then shows NewDataSet with Table under it in the treeview. The update button is disabled if i select the table. If I select the dataset and click update it tells me:
"Some tables could not be replaced, as no match was found in the new data source. Please specify the table required for any unmodifeid tables". The top pane of this window is showing the file details of the ttx that it thinks is located on the D drive.
If I go to database expert and move the table over it then prompts me to find the ttx file. It doesn't let me skip this so I give in and tell it where it is. I then get the link tab. It shows the ttx with 23 fields and my xml table with 27 fields. It has 11 fields linked automatically,
A comparrison of the ttx and XML in notepad shows the following, the bold fields are the ones that did not auto link.
DateOption, ttx:Number, xml:unsignedByte
StartDate, ttx:dateTime, xml:dateTime
EndDate, ttx:dateTime, xml:dateTime
VenueGroups, ttx:Memo, xml:string
Profiles, ttx:Memo, xml:string
Users, ttx:Memo, xml:string
Extras, ttx:Memo, xml:string
RepGrouping: ttx:Number, xml:unsignedByte
IncludeDiscount, ttx:Number, xml:unsignedByte
VgrDescription, ttx:String(50), xml:string
CurSymbol, ttx:String(3), xml:string
CurName, ttx:String(30), xml:string
CurScaleFactor, ttx:Number, xml:short
ProDescription, String(50), xml:string
UseName, String(30), xml:string
TransactionDate, ttx:Datetime, xml:dateTime
StxCode, ttx:Number, xml:int
StxDescription, ttx:String(100), xml:string
MrwID, ttx:String(3), xml:string
MrwDescription, ttx:String(100), xml:string
Sales, ttx:Number, xml:int
Returns, ttx:Number, xml:int
Reserved, ttx:Number, xml:int
GrossSalesAmount, ttx:Currency, xml:decimal
GrossReservedAmount, ttx:Currency, xml:decimal
SalesVAT, ttx:Currency, xml:decimal
ReservedVAT, ttx:Currency, xml:decimal
Right clicking on all of these bold items on the table side (in the link tab) says that those bold fields are type Number. So not sure why the first 8 don't link as they are looking for Number. As for the last 4, in SQL these fields are type money, once read by vb.net into a datatable they are of type decimal. Not sure what crystal is expecting here.
I can manually link the 8, but it tells me for the 4 currency fields that the "data types are not compatibile"
I still don't get why if running as 32bit and passing the datatable from xml or sql to the rpt, even without the ttx, works without issue.
I think for now that i'm going to have to simply compile my main app for 32bit, but would still like to understand what is going on here. Thanks for helping to look into this.
Tony.

Similar Messages

  • 32bit and 64bit apps side by side on win64?

    Hi!
    I've got two applications, one, which accesses the registry needs to be 64 bit and the other, that is a COM dll, needs to be 32 bit. Both are acessing an oracle database.
    Is this possible?
    I've just today stumbled over this problem and am a bit at a loss. :-(
    The database is 11gR2 and runs on Linux on a different server.
    I'm relatively free to use any ODP.NET version that can make this possible.
    Lots of Greetings!
    Volker

    Hi,
    Yes you can run your 32 and 64-bit applications side by side. You will need to install both the 32 and 64-bit oracle client as well as the required data access driver for each application in separate oracle homes. The only gotcha is if these applications are running as a hosted applications within IIS, you will need to be sure you are on a version of IIS that allows you to configure separate application pools for 32 and 64-bit worker processes. i.e IIS 7.0. IIS 6.0 allows you to configure worker processes for 32-bit on x64, but it has to be one or the other. You cannot use both at the same time. See the following: http://support.microsoft.com/kb/894435. If you are running IIS 7 then you can configure separate application pools for the 32 and 64-bit apps. If you are running IIS 7 then its easy to configure the application pool for your 32-bit hosted app to enable 32-bit support by setting a property of the app pool.
    HTH
    Jenny

  • TNS Timeout Error with both 32bit and 64bit drivers installed

    I have a server running WIndows 2008 64bit and SQL Server 2012 64bit. I have both the 32bit and 64bit Oracle ODBC drivers installed. 32bit is for SSIS and SSRS uses 64bit. I have an ODBC connection setup for both the 32bit and 64bit. I have the datasources setup for the 64bit and when I test it it works. When I go to run a query I get TNS timeout errors. Any ideas?

    Thank you very much, Curt!
    It's right: When the 64bit version is running, then the PSDs will be opened by this.
    But the configuration under "Bridge Edit/preferences/file type assoiciatons" has the same result as under the "Windows/Systemcontrol/Standardprograms": Never they show the name "Adobe Photoshop.exe (64bit)" - only "Adobe Photoshop.exe" In both cases (Bridge and systemcontrol) I have the possibility to choose the "right" Photoshop.exe by going to the right file (32bit OR 64bit), but the name of the .exe is ever the same: Only "Adobe Photoshop.exe". There is no difference.
    And so even if the 64bit version is preferred (in Bridge), the PSD-files will be opened in the 32bit-version, when no one of both versions is running.
    But - so or so - you have given me a way to solve my basic-problem!
    And when I find the time for experiments, I will show what happens, when I rename the 64bit-exe to "Adobe Photoshop64.exe" to get two different filenames for Photoshop in the Windows-System. (I'm not shure if this will function: When in the Photoshop-System are intrinsic lnks/references to "Photoshop.exe", then I will have no success! Therefore I have to make a HDD-Clone with the whole Windows-System, all Apps and my Working-data before I try to rename. Perhaps there is "no way back to the activation" after renaming the .exe ...
    Thank you and kind regards,
    Oh-Mann

  • Does iTunes come with 32bit and 64bit install?

    I have Windows 7 and it's a 32bit and 64bit Gaming Laptop G73SW.
    I've done all the troubleshoot tips, which has just made my computer worse.eg all icons changed, things now missing, so probably have to do a System Retore to get it all back.
    Every time i speak to Apple,  they're suggestions just make my computer stuffed, iTunes takes over all my programs etc.
    Simply put: Does iTunes come with a 32bit and 64bit Install??? If not i won't be using that program.
    Which makes it hard for my line of work atm as an Alpha and Beta Games Tester for many Private Platforms i play on.

    open minds entertainment wrote:
    It's 1 Computer especially made for games
    Well genius, it's either a 32bit or 64bit system, it cannot be both.
    Please learn to clearly describe the situation or it is unlikely that appropriate and relevant assistance will be provided.
    Keep in mind, these are user to user support forums.  The attitude that you spewed above is unlikely to get you any further assistance.

  • TS3367 My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    Had the same problem, the only fault and the reason why it happend is a bad wifi connection!
    Could ofc be something else, but thats my two cents!

  • I have installed db-32bit, and installed obiee-64 in windows7 with 64bit.

    HI,
    I have installed db-32bit, and installed obiee-64 in windows7 with 64bit. while creating repository through rcu, it is populates with an error and showing my installed db is not supporting, what is the scenario to replace db11g 32 bit with 64? and is it the right way to install, please let me know and also would like to know, if i want to uninstall db do i need to uninstall rcu and obiee as well?

    Hi Satya,
    You can install OBIEE 11g 64 bit with Oracle DB 32bit. I have done this many times without any issue.
    Have a look at the following links:
    http://123obi.com/2013/04/obiee-11-1-1-7-0-installation-on-windows-7-part-1/
    http://123obi.com/2013/04/obiee-11-1-1-7-0-installation-on-windows-7-part-2/
    user10888725 wrote:
    Hi Srikanth,
    Thanks for your prompt reply, that means no need to uninstall OBIEE11g right?
    Thanks,
    Satya.
    How did you install OBIEE 11g 64bit successfully if you get an error while installing RCU?
    Please mark it Helpful/Correct, if it is
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • Installing PS CS5.1 32bit and 64bit

    I accepted the defaults while installing photoshop and it seems 2 versions installed?  Do I need both the 32bit and 64bit versions on Windows 7 64bit ?  Also, when I look at installed programs it only indicates Photoshop CS5 without any 32bit or 64bit designation.  What is necessary here.  Are there bugs with the 64bit version like MS Office so the 32 bit version installs also? 
    thanks
    Milton

    Both 32 and 64 bit variants are provided in case you have plug-ins or drivers that only work with one.  For example, older plug-ins are generally 32 bit only, and there are no 64 bit TWAIN drivers.
    64 bit Photoshop will allow you access to your entire memory space, in excess of 2 GB, while 32 bit Photoshop will be limited.
    Advice:  Keep 'em both, use 64 bit primarily, and use the 32 bit version if/when you have to.
    -Noel

  • Satellite A350D PSAKCE - Bios 32bit and 64bit update

    Hello guys.
    I need to upgrade my A350D PSAKCE bios. But I don't know what is the difference between Windows_BIOS_Package_V330_1 and Windows_BIOS_Package64_V330_1. Which should I install? I am using Windows 7 Ultimate 64bit edition.

    Hi
    Usually you should not get any serious issues if you would downgrade the OS to 32bit and will still use the BIOS 64bit. But in some very rare cases some features like FN buttons or similar would not function very well
    It could be also possible that only 3.2GB RAM would be recognized due to 32bit OS limitation
    So in your case I would stay with 64bit OS.
    Greets

  • Can 32bit and 64bit clients coexist?

    Hello folks,
    I have a Windows Server 2003 64bit machine running Websphere 6.0 Express (32bit). Additionally it's running a custom 64bit application. Both apps need to connect to separate 10g databases. Can the 32bit and 64bit Oracle client installs coexist on this machine?
    Thanks for any advice!
    -Sangamon

    To clarify, Websphere needs a 32bit JDBC driver, our custom application needs a 64bit ODBC driver. I've got Websphere working, but I'm having trouble getting the ODBC driver to work. I'm wondering if there's a problem with having 2 clients installed.

  • How to use crystal report with php

    Hello every body
    can any body know how to use crystal report with php any helping material, code or tutorial for my problem ill be very thankful for helping me
    farooq

    Hello sir
    i am sudeep and i need to deploy crstal reports in php
    i want to integrate it in sugar crm (open source project(
    can u plz tell me how to do it
    i have written this code
    <?php
    //echo phpinfo();exit;
    $ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
    $crapp = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");
    //$crapp = new COM("CrystalRuntime.Application.10");
    $reportToRun="C:\Report4.rpt";
    $creport = $crapp->OpenReport($reportToRun, 1);
    //reportToRun=full path to *.rpt file
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['User ID'] = $user;
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['Password'] = $pass;
    //fomatType = integer 22=xls, 31=pdf etc
    $creport->ExportOptions->FormatType = $formatType;
    //type 1 is to output to a file I think 2 is email
    $creport->ExportOptions->DestinationType = 1;
    //location = full path to report output file
    $creport->ExportOptions->DiskFileName = $location;
    $creport->DiscardSavedData();
    $creport->Export(False);
    ?>
    thanks in advance

  • Does every web client and/or app use 'significant energy?'

    Brand new MacBook Pro (non-retina,) with upgraded 2.9 ghz Intel i7, and maxed 16GB 1600 DDR3 RAM.
    So far, I've attempted to use Safari, Firefox, and Chrome.  Upon using it for more than a few minutes, or having multiple tabs open, it shows under "Apps Using Significant Energy," with the battery icon.  If used constantly, I could probably squeeze 3-4 hours of battery life before charging the laptop, which seems quite low for a newer machine.  Certainly, it's no MacBook Air, but shouldn't it see a bit more juice than that?  Only occasional videos, no constant YouTube or streaming services.  Mostly searches, jobs, etc.  I've also noticed that my installed Adobe CC programs take a loooong time to startup, but didn't know if that issue is common, or if anything can be done.
    So:
      ** are all the web applications juice hogs?  I kinda like Firefox the most, and Chrome has some neat customization features, but they all end up like little piggies in a sloth.
      ** could it be the MBP?  Would resetting anything possibly positively affect the speed, battery longevity, programs on startup, etc?
    I'm decent at tinkering if I know the proper steps to ensure I'm doing everything just right.  Also, I have AppleCare on the expensive machine, so worst case, I can bring to an authorized store- but I don't want to waste their time if this is just nothing.  I've searched the discussions forums for previous advice, and nothing really, precisely answered the issue.
    Thanks, and cheers!

    The point is you are bound to do VB.Net for web services and it is not VB at all.
    The syntax surely resembles VB but wait till you see what you have instead of good old PRINT!
    VB.Net is not a continuation of VB, it is something radically different that you will have to learn. And if I had to choose between learning VB.Net and Java/Swing, I would go for the latter. I think the third choice, C#, is definitely the winner on all aspects of programming on the Windows platform. The GUI building gap is not as wide as it was with Visual C++ and VB, in fact, it is almost non-existant: .Net's Windows-forms can be developed rapidly either with C# or VB.Net; basically you get the same tool to develop GUIs.
    All things said, there is an excellent article at http://www.theserverside.com/resources/article.jsp?l=SOAP-And-EJB discussing when to opt for SOAP in an EJB environement.
    Hope it helps.

  • HT1311 trying to update apps in the app store. My old apple id comes up. I've already signed in and out off itunes and the app store several times with the current id.  still everytime i try to update the apps the old id comes up

    trying to update apps in the app store. My old apple id comes up. I've already signed in and out off itunes and the app store several times with the current id.  still everytime i try to update the apps the old id comes up

    Apps and their updates are permanently tied to the ID used to purchase them originally.  It will always ask you for your old ID if they were purchased using that ID.  The only way to stop this would be to delete them from your phone and your iTunes library, then repurchase them using your current ID.

  • Regarding 32bit and 64bit libraries

    Hi,
    Can any one please clarify my quries below.
    1) What is the difference between 32bit and 64bit library.
    2) How to identify the 32bit and 64bit library? Is there any naming convention fallowed?
    3) From which version onwards of Sun Studio, 64 bit libraries are supported?
    Regards,
    Vignesh

    The platforms suppported by Sun compilers have both 32-bit and 64-bit modes of operation. The two modes cannot be mixed in a single program. A 64-bit platform can run 32-bit code, but not the other way around.
    On the supported platforms, 32-bit mode is known a ILP32, meaning that types int, long, and pointer are all 32 bits. 64-bit mode is known as LP64, meaning that type int is still 32 bits, but types long and pointer are 64 bits. (Other systems, not supported by Sun compilers, can have different definitions.)
    The 64-bit mode of the processors supports different instruction sets. The amd64 processor also has different register sets. The layout of objects is different in the two modes, and the way functions are called is different. (There are other differences as well.)
    A program compiled in 32-bit mode must link to 32-bit libraries, not 64-bit libraries, for reasons which I hope are now obvious. A program compiled in 64-bit mode must link to 64-bit libraries.
    The Sun compilers automatically link to the right library version of system libraries, as long as you use consistent options when compiling and linking. For example, you could build a 64-bit sparc program this way:   CC -xarch=v9 -c f1.cc
      CC -xarch=v9 -c f2.cc
      CC -xarch=v9 f1.o f2.o -o myprog The 64-bit version of the various system runtime libraries will be linked automatically, given the -xarch=v9 option on each command line.
    If you create both 32-bit and 64-bit versions of a library of your own, you must arrange to name them differently or put them in different subdirectories. If you give them the same name and put them in differrent subdirectories (which is the convention for system libraries on Solaris), you can use different -L options at link time to point to the right directory.
    You can use the Solaris "file" command to find out whether a program or library is 32-bit or 64-bit.`
    Example, this time on a Solaris Opteron system:
    % file /usr/lib/libCrun.so.1
    /usr/lib/libCrun.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available
    78% file /usr/lib/amd64/libCrun.so.1
    /usr/lib/amd64/libCrun.so.1: ELF 64-bit LSB dynamic lib AMD64 Version 1 [CMOV], dynamically linked, not stripped, no debugging information available

  • What's different between 32bit and 64bit ?

    Hi all,
    What's different between 32bit and 64bit for Oracle Database 10g Release 1 ?
    such as "Oracle Database 10g Release 1 (10.1.0.2) for Microsoft Windows (32-bit)"
    and "Oracle Database 10g Release 1 (10.1.0.2) for Microsoft Windows (64-bit Itanium)"
    Thanks
    fish

    What's different between 32bit and 64bit ? oooh, about 32 bits ;)
    what is different between (x64) and (64-bit Itanium)This really is the short of question google could answer better but in a nutshell Itanium is the Intel 64bit chip (AKA the Itanic, due to its troubled history). Whereas x64 is the appelation given to AMD's 64bit Opteron chips; I believe x64 was coined by Microsoft but Sun use it as well.
    Cheers, APC.

  • Configuring 32bit and 64bit extproc

    Hi All
    Version 10.2.0.4 (Itanium)
    Is there any way we can configure 32bit and 64bit extproc in a same database? I have C programs compiled in 64bit and 32bit versions which I would like to use in the same database.
    thanks in advance

    You can configure as below in listener.ora file.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = <oracle_home_dir> )
    (PROGRAM = extproc)
    (ENV = "EXTPROC_DLLS=ONLY:<custom_dll_directory>/<custom_shared_library>,LD_LIBRARY_PATH= *<oracle_home_directory>/lib32*;*<oracle_home_directory>/lib*")
    Edited by: Karthick on Jan 11, 2012 7:12 AM

Maybe you are looking for

  • What is the 2350.FD1 server error?

    I keep trying to download the PS program and it will not complete without giving me this error and cancelling.

  • Postings in FB01 transaction

    Hello friends,i have an urgent requirement to post the AR,AP and G/l account's . Currently there exists a bdc program to perform the above job but the program has been a dependent on the file format  i.e, if i give the file sequence as for ar 01 , 50

  • Webdynpro

    Hi Guys, I am new to abap dynpro and i developed one application and  and has been activated without errors but when i execute it, the webpage opens but it doesnt show me the content but displays error as show below: The following error text was proc

  • Which vpn is safe to download on my mac?

    I often travel to the far east where many sites are blocked so I'd like to use a Virtual Private Network. any suggestion?

  • Warning Permissions Cannot Be Repaired

    I just purchased a new Imac with Leopard installed. After downloading the software updates, I ran permission repair and got a warning that stated that certain permissions have been modified but could not be repaired. After consulting with AppleCare I