Question about Microsoft Dynamics GP 10 & Crystal Reports

Hello.
I am extremely beginner on Crystal Report.
I have some questions regarding Crystal Report and Microsoft Dynamics GP10
I have Microsoft Dynamics GP sample code for how to run Crystal Report from GP. Unfortunately, I couldn't able to run this code successfully.
Below is the sample code: 
local reference Report,crxApplication;
crxApplication = COM_CreateObject("CrystalReports11.ObjectFactory.1");
Report = crxApplication.OpenReport(Path_MakeNative(IN_sPath));
I am getting an EXCEPTION_CLASS_OBJECT_EXCEPTION error on -> Report = crxApplication.OpenReport(Path_MakeNative(IN_sPath)); statement
I am using Crystal Report version 11.0.0.895
Do I need the Developer edition to run these code?
What if other workstation is installed other version of Crystal Report?
I mean that I noticed that different version of Crystal Report use different way to create com object.
For example,
XI(RDC) use CrystalRuntime.Application.11
XI(RAS) use CrystalReports11.ObjectFactory.1 XI R2 (RDC) use CrystalRuntime.Application.115
Any help appreciated!!

Hi Kicheol,
Yes to develop in Crystal Reports you must have a developer version so you all the required files and are licensed to do so.
You wrote:
I mean that I noticed that different version of Crystal Report use different way to create com object.
For example,
XI(RDC) use CrystalRuntime.Application.11
XI(RAS) use CrystalReports11.ObjectFactory.1 XI R2 (RDC) use CrystalRuntime.Application.115
RDC is a COM report engine which you are using
RAS is an InProc report engine that has replaced RDC as the desktop and WEB reporting engine. RDC has been deprecated and no longer shipped in CR 2008.
Once you get the Developer Version there will be links on the start page to download and have access to the developer help files, samples and much more to get you going.
Thank you
Don

Similar Messages

  • Question about printing an image/control Using Report Generator

    The attached VI is an example of creating a report from a control or image. My problem is that when the control (xy graph) gets too large in the vertical direction it clips the image but, the horizontal is scaled to the width of the report. 
    First question is why does it scale in the horizontal and not the vertical? See the Test.pdf for what I am talking about. 
    Second, is it possible to control this behavior (edit/create an alternate for the Append Control Image to report or the Report VI's)?
    I have found many work around but ultimately it comes back to; why automatically scale one direction but not the other?
    For this application I don't mind that the graph is scaled down in the horizontal I just wish it would do the same thing in the vertical axis (I don't even want it to be a 1 to 1 zoom ratio, just fill the avalible report space).
    Thoughts?
    Attachments:
    Print XY Graph TEST.vi ‏55 KB
    Test.pdf ‏217 KB

    I agree all of the workarounds have limitations. One workaround, that I'm not sure if you have tried yet is change the numeric constant from 50 to 20 (I attached a picture showing which constant I am talking about). This seems to fix the issue just because the image never becomes larger than the report page itself.
    Let me know if that option creates any problems for you as well.
    Kevin S
    Applications Engineer
    National Instruments
    Attachments:
    Block Diagram.PNG ‏29 KB

  • Need help with question about Microsoft Excel?

    I have recently begun using Microsoft Office for Mac. My question is related to the Excel program. I have used this for years on a PC where when the program opens, it shows a Workbook with a single page. However, on the Mac, when it opens, it shows many pages, the first going from column A to G, the second going from H to N, etc. and each page with the text "Click to add data". This continues forever. I would like to have just one sheet as on the PC. I have not found a way to limit this view to a single page. I have looked in the Preferences and in "View", but nothing seems to change the configuration. Any suggestions?
    Thanks

    My zoom only shows the magnification and does not give a "one page" option. However, I did find an icon that I loaded into the menu bar which gives the one page view. This may be due to the version 2004 that I am using.
    I also find that if I want to change the number of columns and rows, I change the size of each. I assume this is correct.
    Thanks for the help. This is slightly different that the PC version, but I am sure over time, there will be no problem.

  • Question about Microsoft Office integration.

    Hi,
    I'm a new user in the SAP portal & KM and I'm wondered about the complexity when I publish a document in KM. In Microsoft Sharepoint is very easy, just publish the document from Office.
    Is there any way to do the same in SAP KM ? From Word, for example...
    Regards,
    Joan

    Hi,
    for connecting Windows to SAP KM you can use WebDAV and the Portal Drive. With the Portal Drive, the KM access is transparent for the user, it will be as if he is acessing a network share.
    If you're looking for some SharePoint like features inside Office like: Online Useres, Check-In/Out, Create Tasks, etc. this isn't possible. The SharePoint protocol was until recently closed to Microsoft alone. For a more closly tight integration of SAP and Microsoft you can take a look into Duet. But this is for more than just publishing Office documents.
    br,
    Tobias

  • Question about  Load Average in the AWR report

    Hi,
    I've some database in 11.2 RAC on AIX.
    I was analyzing the root causes of eviction.
    Looking AWR Report before the reboot I see:
    DB1
    Host CPU (CPUs:    6 Cores:    3 Sockets: )
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    4.18     12.33     60.9      12.6       1.6      26.5
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      27.4
                  % of busy  CPU for Instance:      37.3
    %DB time waiting for CPU - Resource Mgr:      10.6
    DB2
    Host CPU (CPUs:    6 Cores:    3 Sockets: )
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    3.77    13.93     60.7      12.5       1.6      26.7
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:       6.9
                  % of busy  CPU for Instance:       9.5
      %DB time waiting for CPU - Resource Mgr:       0.0
    Do you think these value ar high?
    This is vmstats at the time of reboot:
    DATA
    RUN
    BCK
    AVM
    FRE
    PRE
    PPI
    PPO
    PFR
    PSR
    PCY
    FIN
    FSY
    FCS
    CUS
    CSY
    CID
    CWA
    07/21/2013
      00:08:17
    31
    0
    7.400.345
    579.923
    0
    81
    0
    0
    0
    0
    3.292
    187.010
    19.560
    84
    16
    0
    0
    07/21/2013
      00:08:17
    17
    1
    7.390.187
    589.884
    0
    176
    0
    0
    0
    0
    3.681
    169.994
    21.482
    81
    19
    0
    0
    07/21/2013
      00:08:17
    27
    1
    7.402.121
    577.816
    0
    115
    0
    0
    0
    0
    3.150
    157.210
    18.503
    84
    16
    0
    0
    07/21/2013
      00:08:48
    19
    1
    7.422.966
    564.179
    0
    211
    0
    0
    0
    0
    2.396
    152.667
    19.368
    84
    16
    0
    0
    07/21/2013
      00:08:48
    19
    1
    7.427.693
    559.268
    0
    162
    0
    0
    0
    0
    2.990
    154.733
    19.843
    85
    15
    0
    0
    07/21/2013
      00:08:48
    23
    1
    7.441.204
    545.530
    0
    204
    0
    0
    0
    0
    2.137
    171.501
    18.151
    84
    16
    0
    0
    This is mpstat:
    DATA
    CPU
    MIN
    MAJ
    MPC
    INT
    CS
    ICS
    RQ
    MIG
    LPA
    SYSC
    US
    SY
    WT
    ID
    PC
    07/21/2013
      00:08:48
    0
    12896
    44
    0
    1279
    3030
    1362
    2
    367
    100
    27313
    86
    14
    0
    0
    0.49
    07/21/2013
      00:08:48
    1
    11055
    93
    0
    1123
    3137
    1315
    1
    222
    100
    31860
    85
    15
    0
    0
    0.51
    07/21/2013
      00:08:48
    2
    5938
    51
    0
    1465
    3840
    1294
    2
    532
    100
    29992
    85
    15
    0
    0
    0.49
    07/21/2013
      00:08:48
    3
    6266
    57
    0
    1247
    3177
    1046
    2
    511
    100
    22793
    85
    15
    0
    0
    0.51
    07/21/2013
      00:08:48
    4
    2661
    18
    0
    1729
    4087
    1707
    4
    264
    100
    24647
    85
    15
    0
    0
    0.49
    07/21/2013
      00:08:48
    5
    4211
    10
    0
    1395
    2709
    1101
    2
    209
    100
    21019
    86
    14
    0
    0
    0.51
    07/21/2013
      00:08:49
    0
    9372
    27
    0
    1150
    2583
    1219
    0
    245
    100
    47745
    82
    18
    0
    0
    0.47
    07/21/2013
      00:08:49
    1
    11327
    13
    0
    726
    1803
    794
    1
    130
    100
    25239
    87
    13
    0
    0
    0.52
    07/21/2013
      00:08:49
    2
    8970
    118
    0
    1459
    4396
    1517
    0
    602
    100
    24833
    81
    19
    0
    0
    0.49
    07/21/2013
      00:08:49
    3
    7328
    267
    0
    1329
    4136
    1273
    2
    586
    100
    25385
    81
    19
    0
    0
    0.51
    07/21/2013
      00:08:49
    4
    8793
    19
    0
    1133
    2583
    1036
    1
    235
    100
    24327
    86
    14
    0
    0
    0.50
    07/21/2013
      00:08:49
    5
    8239
    12
    0
    1309
    2846
    1165
    1
    277
    100
    18513
    86
    14
    0
    0
    0.50
    Thank you

    Thank you Jonathan,
    i'm looking ASH, 15 minutes before the crash.
    I've 13% of buffer busy waits and 13% of cpu quantum
                                                                   Avg Active
    Event                               Event Class        % Event   Sessions
    CPU + Wait for CPU                  CPU                  59.09       0.15
    buffer busy waits                   Concurrency          13.64       0.04
    resmgr:cpu quantum                  Scheduler            13.64       0.04
    The buffer busy waits was caused by an update of a table.
    There are ETL jobs that runs every nigth.
    Looking IO stats I notice a change in the use of the swap:
    before the crash:
    hdisk66        xfer:  %tm_act      bps      tps      bread      bwrtn   
                             1.0      8.2K     2.0        8.2K       0.0
                   read:      rps  avgserv  minserv  maxserv   timeouts      fails
                             2.0      6.7      3.8      9.6           0          0
                  write:      wps  avgserv  minserv  maxserv   timeouts      fails
                             0.0      0.0      0.0      0.0           0          0
                  queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                             0.0      0.0      0.0      0.0        0.0         0.0
    near the crash:
    hdisk66        xfer:  %tm_act      bps      tps      bread      bwrtn   
                            71.0    241.7K    59.0      241.7K       0.0
                   read:      rps  avgserv  minserv  maxserv   timeouts      fails
                            59.0     12.1      0.2    183.5           0          0
                  write:      wps  avgserv  minserv  maxserv   timeouts      fails
                             0.0      0.0      0.0      0.0           0          0
                  queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                             0.0      0.0      0.0      0.0        0.0         0.0

  • Question regarding remapping of fields in Crystal reports 2008

    I have a report that uses 2 BW queries as data source.
    I created a query that may replace the 2 queries
    What specific steps should I follow so that the window for mapping of fields will appear once I changed the data source?
    thanks,
    Donna

    Ideally if there is a change in the query then the window for mapping of fields should appear.The change in query could be of any sort like:
    1.Change in the field type structure at the database end
    2.Chage in the name of a field/table at the database end etc
    However, if you are doubtful and want to avoid doing this directly on the existing report,you may always do it on a new report(just for testing purpose) and then do a 'Set datasource location' to point to the modified query.
    You may keep this thread updated with the progress

  • Question about microsoft word documents

    can I encrypt my documents with password so my document wouldn't be easily seen or open by others?

    Yes, you need to create an encrypted disk image
    EDIT: Actually, I just checked under the "Tools" menu in Word there is a "Protect document" which will take a password.
    -mj
    Message was edited by: macjack

  • Question about Microsoft RemoteApp

    Hello,
    So I have this weird thing going on where if I connect to my RemoteApp farm through the connection broker, one of the applications aren't there. However, if I change the source under Configuration to any of the SH servers specifically, it shows. What gives?
    3x Server 2008 R2 (1 CB, 2 SH)
    Appreciate any help on this. Thanks.
    I've went down the whole security groups road, as well as the the DCOM and WMI permissions suggestions I've been seeing around, but they seem to apply to when all the apps are missing. In this case, it's only missing one...and it's only missing if you use the Connection Broker.
    This topic first appeared in the Spiceworks Community

    TK90 wrote:
    Ok, thank you that works for Excel. Any idea for Word? Also I've tried the builtin help but I wasn't quite sure what exactly to search...
    It looks like there's no way to do that automatically with Word: it seems to always put pages side by side if the window is wide enough to do that (assuming you're using the "print layout" view). If your window is wide enough, or the pages sufficiently zoomed out, you'll get more than two pages side by side.
    You could either make the window narrower, which forces the pages to appear vertically, or zoom the page size up to make them too wide to fit more than one in the window...
    charlie

  • I have a question about Microsoft Outlook development ... ??

    Hi every expert:
    If I click any mail address (TO/ CC/ BCC) in outlook mailItem. Then I want to get mail address which is be clicked. How can I do??
    Pls help me to resolve it ... Thanks.

    Hello Will,
    The
    Recipients property of the MailItem class returns a Recipients collection
    that represents all the recipients for the Outlook item. The
    Type property of the Recipient class returns one of the following OlMailRecipientType constants: olBCC, olCC, olOriginator,
    or olTo.
    You can use the Address or
    AddressEntry property of the Recipient class to get the email address. The Address property returns a string representing the e-mail address of the Recipient.
    Also you may be interested in the
    GetSelectNamesDialog method. The SelectNamesDialog object supports displaying the Select Names dialog
    box for the user to select entries from one or more address lists in the current session. 

  • Crystal Reports Licensing

    I have a question about the various versions of Crystal Reports developer.
    We have a product that uses an older version of Crystal Reports (8.5) and our product will be updating to use Crystal Reports XI, however we have customers that want to create there own reports for use with our product.
    So far not a problem except if our customer wants to purchase a license to use the Crystal Reports 8.5 tools or the Crystal Reports XI tools.
    I have told the customer to purchase a licensed copy of Crystal Reports and they did, however since they did this recently (within the last two weeks) they received the Crystal Reports 2008 product.
    My question is how can I let our customer design custom reports in the older version?
    Can they use an older version tool to do this if they have paid for a proper license in the current version?
    If so, what do I do to allow them to have the tools.
    We are going to run into this for a while until our developers also start using the Crystal Reports 2008 SDK and such to upgrade our product to the latest.
    We have the older tools and proper licensing for them, but our customers can no longer purchase them.
    I do not want to do any thing illegal, but I need to have customers that can design their own reports.
    Thanks.

    No, it does not help.
    Maybe it was my problem in the way I described the question.
    My company has custom applications where the Crystal Reports dll's have been distributed for Crystal 8.5 and the reports that these custom applications use were designed in Crystal 8.5.
    We have licensed copies of this product.
    Our customers want to design with Crystal 8.5 for compatible report file support. (We make them.)
    But they cannot buy the same version product.
    We make them buy the latest product your company sells, so that you get revenue from us distributing our application, but they cannot use the latest product and save it in a backward mode to make it work with our custom application.
    Only reports made with the Crystal 8.5 product work.
    So if they have purchased Crystal Reports 2008.
    Can we give them Crystal Reports 8.5 to use until we update the custom application(s) (about thirty) to use the SDK for Crystal Reports 2008?
    The same goes with Crystal Reports XI. We have licenses for this product for our development.
    We have upgraded our applications to use this newer version, but have not been able to distribute them yet to all our customers.
    We will be doing this soon, but we are already behind again because Crystal Reports XI is no longer sold.
    It is ok that you don't sell the older product. We understand why.
    Our customers have purchased Crystal Reports 2008 because that is what is available.
    Even our newest package uses your design product that you no longer sell (Crystal Reports XI).
    My company needs to have permission for our customers to use the older product until our development can catch up to use your latest product, but only if our customer purchases your latest product.
    My company does not want to do anything illegal and we also want our customers to be able to create their own reports with one or both of your older products until we catch up to your latest product.
    We will always require them to buy your latest product no matter if they will use it yet or not. We also suggest that they upgrade this license or licenses as your products change.
    We will not let them make custom reports without buying your latest product first. That is our requirement and they accept this.
    What do we need to do to allow our customers to install and use the older product?
    Thanks.
    Edited by: Tony Hugel on Oct 22, 2008 4:10 PM
    Edited by: Tony Hugel on Oct 22, 2008 4:19 PM

  • Question about  SAP client setting when create new connection in CR2008

    Dear All,
    I have a question about SAP client setting in Crystal Report 2008 when I try to create a new connection use SAP OpenSQL(SAP Table,Cluster,or Function).
    I have a SAP IDES environment with 5 clients.
    While I try to create a CR standard report use SAP OpenSQL, I entered 800 into Client field in u201CUser logon credentialsu201D. The connection can be created and I can get table list. After I built a report ,I can not get data from IDES client 800, but I can get data from client 000.
    I am sure client 800 has data.I checked client 800 table with Tcord se16.
    I also did other tests and felt confused a lot.
    Even inexistent client, such as u201C00u201Dand u201C8000u201D can be used for creating connection.
    I just want to know how can I get data from client 800.
    Thanks for your kindly help!
    Wayne

    Dear Ingo,
    Thanks for your reply!
    I am not sure about your suggestion clearly. What's your mean all the authorizations to use CR?
    Maybe I should clarify my operations.
    I logon CR2008 as administrator and created two SAP connections with different client.
    There is a table named "/BEV3/CHBALLG" be showed in these connections.
    I checked  clients "000" and "800" both have data in the table.
    I can use client 000 connection create report and get right data, but the report base on client 800 connection could not get data.
    If change to another table,such as "/SAPDMC/LSOFIL", I can get data both form these connections.
    I found one thing is very weird. Client "00" and "8000" do not exist in my IDES environment, but I can use them for creating connection.
    May I have your further suggestions?
    Wayne

  • Crystal Report Viewer Microsoft JScript runtime error

    When I use the crystal viewer control to render a report on the screen I receive the following error message:
    Microsoft JScript runtime error: Object doesn't support property or method 'isObject' ... and the following line is hilighted:
    if(!bobj.isObject(json)).
    Here is the markup for the test page I'm using
    {<body>
    <form id="form1" runat="server">
    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
    AutoDataBind="true" ReportSourceID="crSource" />
    <CR:CrystalReportSource ID="crSource" runat="server">
    </CR:CrystalReportSource>
    </form>}
    I believe I set all info on crSource correctly (report path etc ...) because If I remove the Crystal reports viewer from the page and just use the crsource (i.e crptSource.ReportDocument.ExportToHttpResponse ...) I can export the report OK. Its only when I have the crViewer on the page Is when I recieve this error.
    Web Config
    <assemblies>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <controls>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagPrefix="CR" />
    <http handlers>
    <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    appsettings
    <add key="CrystalImageCleaner-AutoStart" value="true" />
    <add key="CrystalImageCleaner-Sleep" value="60000" />
    <add key="CrystalImageCleaner-Age" value="120000" />
    I am using crystal reports 2008, visual studio 2008, windows 7 pro, MS Sql Server 2005, IE9
    I uninstalled crystal reports, and reinstalled crystal reports 2008 sp3 (Full build) - No help
    When I goto help about visual studio it says crystal reports 2008 (No specific version info)
    Assembly cache on the machine has
    12.0.2000.0 and 12.0.1100.00 as the vast majority ... a few (Design and Engine) have older 10.5.3700 and so forth (There are so many)
    I found this problem on the web with different solutions involving frame work folder or not having IIS setup to server the crystal reports viewer ... this is happening to me on my local development machine using the ASP.Net Develepoment server included with VS2008 ..
    Any help you could give me would greatly be appreciated
    Thanks in advance
    Kevin

    Hi Kevin,
    Take a look at below SAP Note.
    [1531003 - Error: bobj undefined - javascript error |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333331333033303333%7D.do]
    I got this result just by searching 'bobj is undefined javascript' in the top right search box.
    Thanks,
    Bhushan.

  • Dying about calling Crystal Report by Java code

    Hi everybody
    Hi please anybody of u tell me about how can I access Crystal Report file from my java code I really need to know it badly and urgently
    thanks in advance

    If you type "crystal report" in the search box, click search, check the discussion forum area and click search again, you'll find a lot of discussion on this topic including where you can download the Java API. You can also just click the link below to bring up the search results:
    http://search.java.sun.com/Search/java?qt=%22crystal+report%22&col=jsun0&col=jsun1&col=javafrm&rf=0
    V.V.

  • Crystal Reports 2008 Redistribution on 64 Bit Server

    I have a small application that uses Crystal Reports 2008 in not-integrated mode.  Meaning that the .rpt files are seperate from the web application and the web application has to know the absolute path to the .rpt files before it can run them.  My question is how do I deploy Crystal Reports 12 to a windows server 2003 x64 server?  I have installed the redist.msi and the reports won't work I keep getting the following error:
    Server Error in '/imacs' Application.
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    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.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +411
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +220
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       imacs.imacs.viewPrint.lnkView_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\imacs\imacs\viewPrint.aspx.vb:186
       System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +131
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    My only guess is that there is some configuration I am not doing on the server. Can someone help me?

    I think the frustration is coming more from the combination of lack of support for x64 (quite surprising for such an established product) combined with a site that's very difficult to navigate and use (the BusinessObjects site).
    We ourselves have also just invested a great deal of time in building some Crystal Reports for a pilot system for a large US Insurance Company and cannot choose to avoid a 64-bit target server.  We deploy at the end of next week and though we can compile deliberately for 32 bit as outlined in your post, this causes all sorts of other issues with other assemblies we are using that are not binary compiled for a specific platform and that we cannot ourselves recompile.
    To be concise, your posted solution is not really a solution unless a number of other assumptions are true that we all know in practical terms to be unrealistic for anything but the simplest of apps.
    For us, pulling Crystal at this point is embarassing for the customer (they specifically requested that we use it) and for Business Objects, and creates a deadline crunch in our project plan as we convert to Telerik or some other x64 solution.
    We will certainly follow up with phone support to see if there are other choices (doubtful), but given that you offer a trial version of Crystal 2008 I think it's remiss that there are no clear guidelines in a publicly-reachable forum that discuss in detail how to deploy completely to x64 including ensuring that other related issues to using a 32-bit compilation on x64 are mentioned/covered.  I certainly can see that even an advanced developer would continue to hold out hope that there is some configuration option combination that will work.
    Finally, can you provide any guidance on when Crystal Reports will catch up to Windows 2000, 2003 and 2008 and provide a 64-bit runtime?

  • Crystal Reports Server Error - Unable to cast object of type

    Hi Everyone,
    Not sure if this is the right place to post this question but couldn't find a Crystal Reports Server section.
    After doing a windows update on my crystal reports server the following error now occurs when trying to log into .Net InfoView -
    An error has occurred: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'BusinessObjects.Enterprise.Desktop.InfoView'.
    I found the following article which I followed and re-installed the .net components as well as ensured all services are enabled.
    Article: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303335333433323337%7D.do
    The error still occurs.
    I did some further investigation and found that a similar error occurs in the Admin Console when I try and open the Crystal Report DataSources.
    This is the error page that comes up
    Server Error in '/businessobjects/Enterprise11/WebTools' Application.
    Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.
    +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: System.InvalidCastException:
    Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.+
    Source Error:
    +The source code that generated this unhandled exception can only be shown when compiled in debug mode.
    To enable this, please follow one of the below steps, then request the URL:+
    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    2) Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    +Note that this second technique will cause all files within a given application to be compiled in debug mode.
    The first technique will cause only that particular file to be compiled in debug mode.+
    +Important: Running applications in debug mode does incur a memory/performance overhead.
    You should make sure that an application has debugging disabled before deploying into production scenario.+
    Stack Trace:
    InvalidCastException: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.
       +CrystalDecisions.Enterprise.WebContent.WebSamples.DataSources.Common.datasourceInfoFromReports(ArrayList reports) 226
       +CrystalDecisions.Enterprise.WebContent.WebSamples.DataSources.Datasources.Main() 1821
       +ASP.websamples_datasources_datasources_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 531
       +System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 98
       +System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) 20
       +System.Web.UI.Page.Render(HtmlTextWriter writer) 26
       +System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) 25
       +System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) 121
       +System.Web.UI.Control.RenderControl(HtmlTextWriter writer) 22
       +System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2558
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    Any information on how I can fix this is greatly appreciated.
    Regards
    Paul
    Edited by: Paul Griscti on Sep 3, 2008 2:52 AM

    I'd try creating a new Application Pool just for running businessobjects and crystalreportviewers11 and nothing else. 
    Although the apps are .NET, it uses COM Interop for functionality, so using a common app pool with other versions will collide.
    Beyond that - if you have a SAP Business Objects support contract - you might open a new SAP Incident ticket.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • ITunes stops working on new PC 64 bit.

    ITunes stops working on new PC 64 bit. Have tried the reinstall at least 20 times and it still will not work, just says it has a problem and shuts down. I love my IPod, I have legally bought 5,000 songs from ITunes, I would like to PLAY THEM! I

  • Connection Pooling in JDBC

    I have written a jdbc connectivity calss called SQL.java. Here its using normal JDBC connectivity mode public Connection getConnection() throws SQLException { try { Class.forName(bundle.getString("driver")); } catch (ClassNotFoundException e) { e.pri

  • IPhoto Faces Only Recognises Faces in Photo Stream Folder

    Hello, I have imported a host of pictures into iPhoto from a removable hard drive. This has then grouped the photos into events / albums. When I go in to Faces, the only faces it recognises are from pictures in the Photo Stream folder, and none from

  • Scheduling changeover times in non working times

    PP/DS heuristics and or the PP/DS optimiser will not automatically place changeover times in non working times, however other smaller APS systems have such functionality. Has anyone come across this or have a method to use to get APO to do this? May

  • How to move full OS bitlocker partition to larger hard drive?

    Dear Microsoft Win7 Experts, I have a fresh Windows 7 Enterprise image on my laptop's 100 GB hard drive. There is only one C: partition with OS+ stuff and it is Bitlocker encrypted. Now the hardrive is almost full. I want to do following: Buy and ins