Failed to view report when using ActiveXViewer.cab of Crystal Reports XI

Hi
I failed to run Active Server Pages sample application that uses Crystal Reports XI Developer Edition on windows server 2003 machine ie 6.
What i am getting is a grey page with tiny x mark, meaning that activex failed to load (if i am not mistaking)
I have followed "Troubleshooting Report Designer Component Application Issues" document and succeded in
1. manually activeX installing (checked in ie and it a matching object appeared there).
2. succesfully ran the "test.wsf" (xsl was created)
but still in ie activex won't load.
Any help will be appreciated...
thx
Edited by: Daniel Polonsky on Mar 11, 2009 11:29 AM

Try this code, the report source uses Enterprise but you should be able to replace that with local file:
Sub Window_Onload
   'On Error Resume Next
   Dim webBroker
   Set webBroker = CreateObject("CrystalReports115.WebReportBroker.1")
   if err.number <> 0 then
        window.alert "The Crystal Report Viewer is unable to create its resource objects."
   elseif ScriptEngineMajorVersion < 2 then
        window.alert "IE 3.02 users on NT4 need to get the latest version of VBScript or install IE 4.01 SP1. IE 3.02 users on Win95 need DCOM95 and latest version of VBScript, or install IE 4.01 SP1. These files are available at Microsoft's web site."
   else
     Dim y, z, yy
     z = 10
     y = 4
     Dim URLwebSource(13)
     Dim webSource(13)
     Set router = CreateObject("CrystalReports115.ReportSourceRouter.1")
     for x = 0 to y
     Set webSource(x) = CreateObject("CrystalReports115.WebReportSource.1")
     next
'     for x = 0 to y
     'reportIDs(1) = 763
     'response.write reportIDs(x)
<%
     for x = 0 to 4
     response.write(VBCRLF&"URLwebSource(" & x & ") = ""/crystalreportviewers115/viewrpt.asp?id=" & reportIDs(x) & "&apsuser=Administrator&apspassword=&apsauthtype=secEnterprise""")
     next     
%>
'      URLwebSource(x) = "/crystalreportviewers115/viewrpt.asp?id=" + reportIDs(0) + "&apsuser=Administrator&apspassword=&apsauthtype=secEnterprise"
'     next
     for x = 0 to y
     'webSource(x).PromptOnRefresh = True
     webSource(x).ReportSource = webBroker
     webSource(x).URL = URLwebSource(x)
     next
     for x = 0 to y
     router.addreport webSource(x)
     next
     CRViewer.ReportSource = router     
   end if
   CRViewer.ViewReport
End Sub
Thank you
Don

Similar Messages

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • Have not been able to see comments at bottom of espn website page. Have zoomed in aand set view to default with no luck. I can view comments when using IE or Chrome.

    Have not been able to see comments at bottom of espn website page. Have zoomed in and set view to default with no luck. I can view comments when using IE or Chrome.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • How to use oracle functions in Crystal Reports XI using Oracle Server

    Hi all,
    Is it possible  to use oracle functions in Crystal Reports XI using Oracle Server as Data Source.
    If i try to use a procedure,i am getting error with message "Invalid Arguement Provided".
    Functions are not visible objects like tables,views and stored procedures.
    The  jdbs driver i m using is oracle.jdbc.driver.OracleDriver.

    I think it is not possible to add functions in crystal directly for any database. You need to use those functions in a stored procedure and add that storedprocedure as a datasource.
    [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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233353335333833323333%7D.do]
    regards,
    Raghavendra

  • Wrapping Crosstab using SAP Hierarchy in Crystal Reports

    Hi Experts,
    hope you are fine!
    Need some advice and helpful hints achieving my goal.
    Frontend Tool: Crystal Reports for Enterprise SP2 or even Crystal Reports 2008.
    DataSource is BEx Query with Profit Center Hier. in columns and a cost type structure in Rows.
    Using a Cross Tab and selecting the PC in columns, results in that Crystal is displaying the hierarchy as it is, which is actually good.
    But not readable if you have more than 150 child nodes and more than 15 Levels.
    I am looking for a optimized way to display such a scenario.
    Whtin this lesson the mentor is explaining how to wrap columns within crosstabs.
    Link: [http://www.crystalkeen.com/articles/crystalreports/crosstabwrapping.htm]
    The formula @EachRegion is counting the rows and the formula @GroupRegions is than defining the number of regions to be displayed in the columns.
    I was looking to replace the formula @EachRegion with the HierarchyLevel(GroupingLevel) function which is delivering the same result, but due to any reason I can not group on this formula.
    My intention was grouping on the level number and  keep all nodes on the samel level together so the wrapping should happen level wise. The report finally should look like this using a cross tab:
    Group 1                               level 0
                cost a                       50
                cost b                       20
    Group 2                               level 1
               cost a
               cost b
    Or do you have other option to have a better view on this, maybe using subreports or anything what Crystal is offering?
    Apologize if this sounds a bit confusing, but your hints are much appreciated.
    Thanks and bye

    Hi Debi,
    thanks for your reply.
    The formula for grouping purposes is: HierarchyLevel(GroupingLevel({ZTEMP_Profit-Center\Profit-Center}))
    The result is that for each node the level number is displayed.
    I tried to put in the detail section or grouping section thinking that it should be used first in the report somewhere but wo success.
    appreacite your response.
    bye

  • Using HTML script in Crystal Reports??

    Can anyone let me know how to use HTML scripts in Crystal Reports?
    I just need to develop report using HTML so that the output of the report will be in RIch text fomat

    Hi,
    You can't design a report using HTML script.  I'm not exactly clear on what you want to do but if you have an HTML app, you have to design the report in Crystal and from your application, call the viewer.  This will allow you to have the report appear in your program. 
    If you are talking about formatting the report, you can set each object as a class in your CSS and call it from your program. 
    I guess a little more information on what you are trying to accomplish may help answer your question more directly.
    Thanks,
    Brian

  • [Infoview - BOXI3.1] Error when attempting to schedule a crystal report

    Hi,
    I have an error, when i attempt to schedule a report.  When i click on the "Format" link I get the error below:
    An error has occurred:Item SI_XSLT_INFO was not found in the collection.
    Googling this error suprisingly returns no results!  I have no idea what could be at fault and would love to get some help from any experts!  I am a very new user to business objects enterprise.
    Thanks a lot in advance,
    Dom

    Hi Friend,
    I faced the same problem while scheduling the crystal report in BO XI R3 Infoview.
    How I resolved it is by publishing(Using Publishing Wizard) the crystal report in the BO XI R3 enterprise and then scheduling. It worked fine.
    The crystal report which I created was in Crystal Reports XI and the new BO XI Infoview supports Crystal Reports 2008.
    I think this might be the problem.
    Thanks and Regards

  • Report exported in Crystal Reports 9 won't work in Crystal Reports XI R2

    Hello,
    I have a .NET client that has been using Crystal Reports 9 for some time to generate reports and then exporting them to Crystal Reports format (.rpt), and saving the report including the data so that the user can open it at a later time and preview/print. This has been working fine so far.
    Now we're in the process of updating our system to Crystal Reports XI R2. When a user selects an old report (that was originally created in CR9) to preview, CR XI prompts the user to submit a value for a string parameter that was originally submitted to the report when it was generated in CR9 but the value was set as either Nothing or the empty string. If we try to print the report then CR XI throws this error (probably because of the same parameter):
    CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Missing parameter values. ---> System.Runtime.InteropServices.COMException (0x8004100E): Missing parameter values.
    at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)
    at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
    --- End of inner exception stack trace ---
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
    at CrystalDecisions.ReportSource.EromReportSourceBase.HandleException(Exception exception)
    at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
    at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
    Is there a solution to this? I've tried to submit a value to the parameter in code and then exporting the report again but that doesn't work. Any help appreciated.

    Hello,
    Currently the FP is not available from our public site, it should be soon though.
    Here's a link to get to our download page. If it asks please agree to download the authentication certificate.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Thank you and sorry for the delay.

  • Free Report Writer for Oracle Database except Crystal Report and Data Vison

    Dear All,
    I want Free Report Writer for Oracle Database except Crystal Report and Data Vision software.
    Wr are working on Linux and windows both platform.
    Any one have direct link or website address for it ?
    Regards,
    Vipul Patel
    Ahmedabad

    Please check the following link -
    http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=open+source+report+writer+for+oracle&meta=&btnG=Google+Search
    Regards.
    Satyaki De.

  • Cannot return data in Discoverer report when using specific AR tables/views

    When using any of the following tables (logged in as Administrator responsibility), I get no data returned...
    AR_RECEIVABLE_APPLICATIONS
    AR_PAYMENT_SCHEDULES
    RA_CUSTOMER_TRX
    RA_CUSTOMER_TRX_ALL
    When running in TOAD or SQL Plus, I have to set my Org ID to return data. It was my assumption that the security calls would automatically do that in Discoverer when setup as an APPS mode EUL. Discoverer 10g is the version.
    Pulling anything from any of those tables results in no rows returned in Discoverer. Is there a special security call I must make in the SQL?

    Also you should try another thing.
    If you brose data only from AR.RA_CUSTOMER_TRX_ALL do you get any data?
    From the 4 "tables" you mentioned this is the only TABLE while all other are views with security mechanism in it.
    In the finance the system administrator is not defined so that it will see the whole data, you need to log in using a proper responsibility.
    If you already have the sys admin then open the application and add to yourself AR responsibilities such as "%AR Manager", "%AR Superuser" .
    After that you can log in with those responsibilities and you'll get the data.

  • KBase ID 344488: Logon failed when connecting to universe in Crystal Report

    My question is related to  [KBase Article ID:344488|http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=344488&sliceId=&dialogID=24618166&stateId=1%200%2024614949]
    Article refers to: Crystal Reports XI
    Symptom
    When attempting to create a connection to a universe in Crystal Reports, after clicking OK in the Database Expert Query Panel, the following error message appears:  "Logon failed".
    The query is not generated. In the Universe folder of Database Expert, the following message appears: "u2026no items found".
    I'm running BOE XI and Crystal Report XI R2 with MS SQL Server 2005 using ODBC.
    The resolution psoted in the KBase Article ID:344488 does not resolve the issue in my case.  Does anyone have any ideas on what to look at next?

    Hello Donald,
    I'll describe the process flow when Crystal Report reports off of a Universe, in hopes the info will help narrow down your issue.
    When you create a Crystal Report and open an Universe, it connects to the Enterprise system and uses a Report Server on Enterprise to generate the SQL Statement.   After you create the Query in the Query Panel, and add the Query to the report, the SQL Statement is sent to the Crystal Report Designer. 
    The Crystal Report Designer makes a local connection to the database and sends the SQL Statement to retrieve data.
    You're using ODBC connectivity.  If the defined ODBC isn't identical between the server where the Report Server is running, and the client where the Crystal Report Designer is running, then you'd get the Logon failed error.
    Other than checking the drivers, I'd recommend that the ODBC connection on both server and client point to the same database, and allow use of the same database logon credentials.
    Sincerely,
    Ted Ueda

  • Controlling Access to Certain Reports When Using Crystal Reports Server

    Hi,
    I was wondering exactly how security is managed when using Crystal Reports Server?  Do you assign rights to individual reports via user ids in Active Directory?  Or what exactly is used for user authentication?  Is it possible to create local accounts?  Thanks.

    Usually access is controlled by permissions which are set in the CMC (BO web admin tool). You can map 3rd party groups from AD or LDAP and then assign permissions to those groups or set up security with built in enterprise groups as well. You may elect to use any combination of the above. For more complex security models there can use database and row level security built into our meta layers called business views and universes.
    Regards,
    Tim

  • Problem modifying the connection details in a Report when using Weblogic 12

    Hi
    I have a j2ee application that uses the Java Reporting Component (JRC). At runtime, the code programmatically changes the connection type and schema name of a crystal report before running it. The connection that was used when designing the report is replaced with new JNDI parameters pointing to a Weblogic/Oracle datasource.
    The application works perfectly when using Weblogic 11, but the same code and report fails when deployed to Weblogic 12.
    I used Version 12.2.207.916 of the JRC, and updating  to the most current version I could find (12.2.217) did not solve the problem.
    The code snippet below shows how the connection and schema name is replaced for each of the tables in the report (not all the code is shown here)...
            PropertyBag propertyBag = new PropertyBag();
            propertyBag.put("Database DLL", "crdb_jdbc.dll");
            propertyBag.put("JNDI Datasource Name", jndiName);
            propertyBag.put("Initial Context", "");
                while (tableList.hasNext()) {
                    ITable table = tableList.next();
                    ITable tableNew = (ITable) table.clone(true);
                    IConnectionInfo connectionInfo = table.getConnectionInfo();
                    connectionInfo.setAttributes(propertyBag);
                    connectionInfo.setKind(ConnectionInfoKind.SQL);
                    tableNew.setQualifiedName(newQualifier + "." + table.getName());
                    tableNew.setConnectionInfo(connectionInfo);
                    dbController.setTableLocation(table, tableNew);
    The setTableLocation() function throws the following exception ...
    2014-05-13 16:46:27,173 ERROR [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']  JRCCommunicationAdapter         detected an exception: Unexpected database connector error
                    at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2409)
                    at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
                    at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
                    at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
                    at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
                    at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
                    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
                    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
                    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
                    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
                    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
                    at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)
                    at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)
                    at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)
                    at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)
                    at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)
                    at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
                    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)
                    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)
                    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)
                    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)
                    at com.systest.reporting.engine.crystal.CrystalReportEngine.replaceConnection(CrystalReportEngine.java:523)
                    at com.systest.reporting.engine.crystal.CrystalReportEngine.changeDataSource(CrystalReportEngine.java:449)
                    at com.systest.CrystalReportPane.setReportDataSourceDetails(CrystalReportPane.java:170)
                    at com.systest.CrystalReportPane.commandLoad(CrystalReportPane.java:136)
                    at com.systest.ReportRunner.CrystalReport.Load(CrystalReport.java:401)
                    at com.systest.ReportRunner.SaveReportToFile(ReportRunner.java:1385)
    Any idea what I can do to fix this ?
    Thanks in advance!

    Last reference in any documentation re. version of supported weblogic is 10.3.x. And it may very well be that things worked in weblogic 11, but as versions go by the differences get bigger and eventually the app stops working.
    I'll ping the Program Manager for definitive info and future support. Once I have the info, I'll update this Discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • HttpClient progress not reported when using HttpBufferContent

    Hi,
    I'm using Windows.Web.Http.HttpClient to upload files to a range of services. It was working fine while using HttpStreamContent, but I had to change it to use HttpBufferContent to allow re-sending the request if the service failed(Resending a request using
    HttpStreamContent throws a cryptic exception). Well the change worked, but the progress is broken now. When using HttpBufferContent it report to have sent the 100% of the bytes instantly which is a clear bug.
    I hope you can improve these components, the api is very good, but the implementation is pathetic.
    Regards,
    Alvaro.
    Alvaro Rivoir

    HttpBufferContent moves all the data to lower networking APIs all at once. That is why progress jumps from 0% to 100%.
    As you described, HttpStreamContent fails when the request needs to be sent twice (e.g., server requires credentials) and the given stream only implements
    IInputStream. To allow the stream to be sent multiple times and show a more detailed progress, make sure to provide a stream that implements
    IRandomAccessStream.
    Using HttpStreamContent will show progress in multiples of 65536 bytes, since the stream is consumed in 65536 bytes long buffers.

  • Empty report returned from WEBI and Crystal report when using external hier

    Hi,
    WEBI and Crystal report build from BEX query returned empty report when we used external hierarchy 0PROFIT_CTR.  In BEX we don't have any problems with it.
    No authority check is perfomed on the hierarchy when we start the report in WEBI/Crystal. Only check on the hierarchy is performed when the root authorization is assigned to the user

    We using BO4  SP12

Maybe you are looking for

  • Help! need "How To" for a feature of iBooks on iPad using iTunes

    On the bottom of the iBooks main screen there is "Bookshelf", "Titles", "Authors", "Categories" buttons. Pressing any one will sort books by that tab. In iTunes, the same Column headers can come up when you select them under "View Options". So far, s

  • Kernel 3.0.4-1 with sky2 ethernet driver - VLAN problem

    Hello, after installing kernel 3.0.x (any) VLANs stopped working on sky2 driver. Althoug I can add VLAN to interface, i can't ping anything. Tcpdump does not register any traffic on tagged interface.Of course normal (untagged) traffic works without a

  • ITunes songs when reformatting

    Hey guys and gals, what happens the songs I bought on iTunes Music Store if I have to reformat my computer? I guess I can't transfer them from my iPod Touch to my computer. I don't want to lose my 100$ worth of iTS music because of a virus or somethi

  • Regarding inboundIDOC for posting movement type 701-708 in inventorymgnt

    Hi , I am trying to find the SAP inbound Idoc that is used to post inventory adjustment in SAP ( For Movement type 701-708) in IM .. please guide and also the required field so that i can test it through WE19.. Thanks Rahul

  • HOW to Do MANual setting

    PLEASE HELP ME I WANT TO DO MAnUAL DHCP SETTING IN IPHONE FOR MOBILE DATA OR CELLULAR DATA plz help me....