Report Viewer Javascript error

I have a good report that works great if I export to pdf.
objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
When I load the CrystalReportViewer
CrystalReportViewer1.ReportSource = objdoc;
returns a javascript error:
TreeWidget_getHTML JScript
file:
allinOne.js
this instruction:
to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
because b[c++] is undefined for some values ...
The only problem I have when I load the report in the ReportViewer.
The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.

Is there any resolution for the above issue?
I have the similar problem.
To reproduce the error just add a reference to a js script file in the page head:
<script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
where the Array prototype has an extension like: "Array.prototype.testing = true;"
on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
..item.init() < is undefined = no init function for the runtime object, item..
tryed this fix (works fine):
treeview.js line 711
     for (var i in sub)
       if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
best regards, Zsolt

Similar Messages

  • Report Viewer Configuration Error

    Hi,
    I manage a TFS 2010 Server that makes heavy use of Reporting Services, and I have a user that reported the following error
    when attempting to open a report in the Microsoft Visual Studio Report Viewer:
    Report Viewer Configuration Error
    The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Resevred.ReportViewerWebControl.xsd" type = "Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer,
    Version=10.0.0.0, Culture=neutral, PublicKeyToken=################" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*"
    path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=10.0.0.0, Culture=neutral, PublicKeyToken=################" /> to the system.webServer/handlers section for
    Internet Information Services 7 or later.
    Has anyone seen this error before, or have any advice on finding a solution?
    Thank you.

    Hi HealthServices3300,
    You can try to install "Microsoft Report Viewer 2010 Redistributable Package" on your server to check if it works for you.
    For the web.config info, it's for web application. And I'd like to know how did you create the report, and whether the report is for a web app or reporting service. From the error message and report, seems it's not a TFS issue. If it's SSRS project
    issue, please post this issue to
    this forum. If it's a report viewer control issue, you can post this issue in
    this forum for a professional response. After that, please update this thread with the new thread link. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hidden Report Viewer Confiugration Error on aspx pages that use report viewer web control

    I try to fix the problem. The error below is embedded on aspx pages that use report viewer web control. Please note that the div element is hidden, and the reportviewer is displaying correct contents.
    Div element hidden on aspx page
    <div id="ReportViewer1_HttpHandlerMissingErrorMessage" style="border-color:Red;border-width:2px;border-style:Solid;padding:10px;display:none;font-size:.85em;">
    <h2>
    Report Viewer Configuration Error
    </h2><p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add &lt;add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt; to the system.web/httpHandlers section of the web.config file, or add &lt;add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt; to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
    </div>
    I tried adding the two elements to web.config, but to no avail.
    Add below to system.web/httpHandlers
    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    or add below to system.webServer/handlers for Internet Information Services 7 or later.
    <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    The required assemblies below are installed under C:\Windows\assembly folder. I have installed both Microsoft ReportViewer 2010 Redistributable, and 2008 SP1.
    Microsoft.ReportViewer.WebForms, version 10
    Microsoft.ReportViewer.Common, version 10
    Below is the whole web.config:
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    -->
    <configuration>
    <connectionStrings>
    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
    </connectionStrings>
    <appSettings>
    <add key="car" value="myCar" />
    <!--<add key="ReportViewerServerConnection" value="WebForm.Lab.ReportConnection, WebForm" />-->
    </appSettings>
    <system.web>
    <httpHandlers>
    <add verb = "*" path = "Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />-->
    </httpHandlers>
    <compilation debug="true" targetFramework="4.0">
    <assemblies>
    <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    </assemblies>
    <buildProviders>
    <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </buildProviders>
    </compilation>
    <authentication mode="Forms">
    <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>
    <membership>
    <providers>
    <clear />
    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
    </providers>
    </membership>
    <profile>
    <providers>
    <clear />
    <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
    </providers>
    </profile>
    <roleManager enabled="false">
    <providers>
    <clear />
    <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
    <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
    </providers>
    </roleManager>
    <pages>
    <controls>
    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
    </controls>
    </pages>
    </system.web>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
    <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </handlers>
    <httpProtocol>
    <customHeaders>
    <remove name="X-Powered-By" />
    </customHeaders>
    </httpProtocol>
    </system.webServer>
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding name="WebService1Soap" />
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://localhost:58269/WebService1.asmx" binding="basicHttpBinding"
    bindingConfiguration="WebService1Soap" contract="ServiceReference1.WebService1Soap"
    name="WebService1Soap" />
    </client>
    </system.serviceModel>
    </configuration>
    Any idea?
    Update:
    IIS is7.5, AppPool is Integrated.
    I have tried below, none of them works:
    1) Add it only to system.web\httpHanders. Changed AppPool to classic, still got hidden error.
    2) Add it only to system.webServer\handlers. Integrated mode,still got hidden error.
    3) Add both to both element. Integrated mode, still got hidden error.

    Hi Kingofwebguru,
    According to your description, when you use reportviewer control, you got the error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
    To troubleshoot the problem, please refer to the following steps:
    Click Start, click Run, then type InetMgr.exe and click OK.
    Click plus sign next to server name to expand it.
    Click Application Pools in left pane.
    In Application Pools list, click DefaultAppPool.
    In the Actions pane, in Edit Application Pool section, click Edit Settings to check the Pipeline mode.
    Configuration settings for the HTTP handlers are specified in the system.web/httpHandlers element and the system.webServer/handlers element. of your application Web.config file. The handler specified in system.web/httpHandler is used by Internet Information
    Services (IIS) 6.0 or IIS 7.0 in Classic mode, whereas the handler specified in system.webServer/handlers is used by IIS 7.0 in Integrated mode. To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS
    will not run the application, but will display an error message instead.
    For more information about Web.config Settings for ReportViewer, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/ms251661.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Hyperlink to SSRS Report throws JavaScript Error

    Hoping this is the right place to get help here. I'm not sure if this is an error in ASP.NET, SQL Server 2005 Reporting Services or some compatibility issue between VS 2010 and VS 2013 Express for Web.
    I have an ASP.NET web form written in VS 2010 / VB.NET. The form has three hyperlink controls that have NavigateURL properties that are set at runtime. Those URLs point to reports on a SQL Server 2005 Reporting Server. The app runs in our Intranet and we use
    Windows authentication throughout. I am using the ASP.NET Development Server (Version 4.0.30319.18408) locally.
    This app used to work just fine, but recently it broke. Now when I run my code and click the hyperlink control (IE is the default browser) I get a JavaScript error of monumental complexity/density.
    The URLs work in IE. They work in FireFox. If I set FireFox to be my default browser it's opens fine from VS. But when I run it in IE I get the error. 
    When I click the Hyperlink, I get a messagebox saying "Javascript runtime error. Access is Denied." [Break] [Continue] [ Ignore] 
    Behind that, in Visual Studio, there's a 'Script Block [dynamic] tab open. It has a lock symbol on it and the window is FILLED with hugely dense and incomprehensible Javascript.  If I break, I'm dropped into the code. The offending line is:
    this.FieldFocus=function(a){var b="undefined"!=typeof LP?LP.getBrowser().selectedTab.linkedBrowser:null;if("undefined"==typeof LP||b){var c=b?b.contentDocument:document;if(c&&!("undefined"!=typeof c.FieldFocusDone&&!0==c.FieldFocusDone))if("undefined"!=typeof
    c.LPlpUseLastPassLogin&&!0==c.LPlpUseLastPassLogin)lploggedin?(c.LPlpUseLastPassLogin=!1,LP.FieldFocus(a)):(lp_showNotification("UseLastPassLogin",b,0,"login",null),c.LPlpUseLastPassLogin=!1,c.LPlpm_setupFocusHandler=!1,c.FieldFocusDone=!1);
    else{if(lpNotificationsAfterClick)lpCheckGenPwAndFF(b,c,!1);else if("undefined"==typeof c.LPlpgenerateandfill&&"undefined"!=typeof c.LPlpfillforms)lp_showNotification("FillableFormDetected",b,0,"formfill");else
    if("undefined"!=typeof c.LPlpgenerateandfill)lp_showNotification("GeneratePassword",b,c.LPlpgenerateAids,"generate",c.LPlpgenerateForm,null,c.LPlpgenerateandfill,c.LPlpfillcurrent);else return;c.FieldFocusDone=!0}}};
    Needless to say, I have no frickin' clue what this is. I'm new to web programming, so this is totally beyond my abilities. 
    Possible Factors:
    Compatibility view is on for all Intranet sites, but turning that off makes no difference.
    I recently upgraded from WinXP to Win7 64-bit. 
    I also recently tried loading the Web Project into VS 2013 Express. 
    I'm not sure which of these may be a factor, just thought I'd mention them.
    Fix Attempts:
    I tried removing my fancy code and just setting the correct URL in code. Error.
    I created another hyperlink control, and in code I copied NavigateURL from the existing control to this one. Clicking that one WORKS. WTH?
    Any help would be deeply appreciated, thanks.
    Barry

    Well you can post a question in the ASP .Net forum and see if you can get an answer.
    "The URLs work in IE. They work in FireFox. If I set FireFox to be my default browser it's opens fine from VS. But when I run it in IE I get the error. "
    The above makes no sense to me. The URLs work in IE but when I run it in IE I get the error?
    This makes no sense either "This app used to work just fine, but recently it broke" as apps don't just break. Something changes to cause an issue with them. Which systems did the app "break" on? What upgrades were recently done on those
    systems?
    When you opened the project in Visual Studio Express 2013 for web is that when the app broke? Maybe the app requires more than Visual Studio 2013 Express for web has available.
    Was Visual Studio 2010 an Express edition for web? Or did it have more capability than that?
    Did you load a newer version of IE on that system? As the WebBrowser control, from what I understand, uses the current rev of IE on the system as "The
    WebBrowser control is a managed wrapper around a component installed with Internet Explorer. Use this property to determine which version of Internet
    Explorer is installed. This is useful when your application uses a feature of Internet Explorer that is present only in certain versions. If the required version is not present on the local machine, you can provide alternative functionality or prompt the user
    to upgrade". Maybe something there occured. Or do you use the WebBrowser control?
    Is Visual Studio 2010 on the Win 7 64 bit machine? If so does that app not work in that too?
    Did you compile the app to AnyCPU rather than X86 or X64 or try to compile it to one of the other two to see if that corrected the issue?
    There's obviously something going on which you've not taken into account from a to b.
    Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
    will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads.

  • Crystal Report Viewer Control error

    Please Help, I have a web application developed in .net 2005 which is using crystal reports developer product version 10.0.0.533.
    This web application with crystal is working fine on my local machine with OS windows xp, but on the windows server 2003 the application web form is running into "couldnot load file or assembly 'CrystalDecision.VSDesigner, Version=10.0.0.3300' or one of its dependencies"
    I have compared the assembly information of my local machine with that of the server and could not see the crystaldecision.vsdesigner version 10.0.0.3300 on the server 2003. I have uninstalled microsoft .net 2005 and crystal reports and installed crystal first and visual studio .net 2005 next and vice versa but still could not see that particular assembly available in the windows 2003 server.
    Please suggest as what to do for the assembly to be available on the server so crystal report viewer control can be created with out error. Thanks for any help.

    Hello Sunitha,
    Visual Studios 2005 ships with a bundled edition of Crystal Reports.  This bundled edition is based on the v10 code stream, but it is not CR10.  It's CR.NET for Visual Studios and it's v10.2. Crystal Reports 10.0 and the bundled CR.NET 10.2 for VS2005 are not interchangeable.
    The stand alone version of Crystal Reports 10 is not expected to integrate correctly into VS2005.  If you have CR10 Developer installed on your VS2005 machine you can force VS2005 to use the CR10.0 assemblies, but it is not supported.
    You need to clean up your application so that it's referencing the 10.2 version assemblies and then deploy the 10.2 runtime files.  You can visit the [Crystal Reports for Visual Studio .NET Runtime Distribution - Versions 9.1 to 12.0|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReportsruntimeforVisualStudio.NET] Wiki for a nice overview of the various versions of Crystal Reports, as well as a listing of the runtime files to match the version of Crystal Reports that is being used.  For VS2005 and bundled CR.NET look at the "CR 10.2 (VS .NET 2005)" section of the Wiki.
    Sincerely,
    Dan Kelleher

  • Interative report Charts Javascript error

    Hi All,
    I have a interactive report, when I generate a chart from the drop down action menu, it throws javascript error "null is null or not an object".
    Also I was wondering if I could include onclick event to this chart like the other normal apex charts.
    Thanks,
    Manish

    Hi Joel,
    I have noticed this in IE 7 also, I did little bit of investigation and found that chart id is not getting initialized in case of interactive report. I have created another page with the same code and passed a value to the chart id. Hopefully Apex team will take care of it in their next release. Thanks.
    without javascript error --> http://apex.oracle.com/pls/otn/f?p=50942:16
    with javascript error--> http://apex.oracle.com/pls/otn/f?p=50942:15
    <div id="apexir_CHART">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="n1" width="700" height="400">
                      <param name="movie" value="/i/flashchart/swf/AnyChart.swf" />
                      <param name="flashvars" value="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" />
                      <param name="wmode" value="transparent" />
        <embed type="application/x-shockwave-flash" src="/i/flashchart/swf/AnyChart.swf" flashvars="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" wmode="transparent" id="n1" width="700" height="400">
       </embed>
    </object>
    </div>Thanks,
    Manish.

  • SAP 9.0 PL10 Crystal Report Viewing/Editing error

    When trying to preview any crystal document in SAP, I'm getting a "The procedure entry point could not be located in the dynamic link library C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjectEnterprise XI 4.0\win32_x86\rasauditingw.dll". I've manually registered the dll, and still get the error on the first view of any document. Subsequent previews no longer show the error, until you log out of SAP. This is all happening in the SAP Client, and only happens after I install the Crystal Server Integration piece required by the Crystal Report Addin to edit Crystal Reports. Anyone else getting this?

    This isn't the issue. Crystal Reports runs fine. Opening from all programs works fine. It's when in SAP, and you try to preview any marketing document for the first time only, I get a windows error box stating "The procedure entry point could not be located in the dynamic link library C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjectEnterprise XI 4.0\win32_x86\rasauditingw.dll". Clicking OK on the box allows the document to be previewed, and crystal viewer opens properly. This above note does not reference this issue, or is it relevent to this version of SAP 9.0.

  • Crystal report viewer version error

    Now I am tring to call reports in crystal reports server by asp.net.  My server is crystal reports server xi, and for develop I also installed crystal report server client-side part on my develop machine, and crystal reports xi designer xi,r2.
    My program is to call the rpt files on server and show them by CrystalReportViewer control, however I get the error message below:
    Parser Error Message: The base class includes the field 'CRViewer', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer).
    Source Error:
    Line 10:     <form id="form1" runat="server">
    Line 11:     <div>
    Line 12:       <CR:CrystalReportViewer ID="CRViewer" runat="server" AutoDataBind="true" />
    Line 13:     </div>
    Line 14:     </form>
    My code is:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CRSTest._Default" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
          <CR:CrystalReportViewer ID="CRViewer" runat="server" AutoDataBind="true" />
        </div>
        </form>
    </body>
    </html>
    code behind:
               ReportDocument rd = new ReportDocument();
               string sampleReportName = "MyTest";
                SessionMgr sessionMgr = new SessionMgr();
                EnterpriseSession enterpriseSession;
                EnterpriseService enterpriseService;
                InfoStore infoStore;
                InfoObjects infoObjects;
                InfoObject infoObject;
                ReportAppFactory reportAppFactory;
                // Logon to an Enterprise session.
                  enterpriseSession = sessionMgr.Logon("Administrator", "1Qaz2wsx", "MOSSDEV-COYD:6400", "secEnterprise");
                // Query for the sample report from the Enterprise CMS.
                enterpriseService = enterpriseSession.GetService("InfoStore");
                infoStore = new InfoStore(enterpriseService);
                infoObjects = infoStore.Query("Select SI_CUID From CI_INFOOBJECTS Where SI_NAME='" + sampleReportName + "' And SI_INSTANCE=0");
                infoObject = infoObjects[1];
                string reportCUID = infoObject.CUID;
                rd.EnterpriseSession = enterpriseSession;
                rd.FileName = "cecuid:///" + reportCUID;
                rd.SetDatabaseLogon("sqluser", "123456", "172.31.69.90", "AVIS_FMIS");
                CRViewer.ReportSource = rd;
    I check my assembly folder, I found three CrystalDecisions.Web dlls with different version, 11.5.3700.0, 11.5.3300.0, 10.5.3700.0, I try to refer to 11.5.3700.0 it says there is two CrystalDecisions.Web ddls exist in GAC.
    Could you tell why? and how to refer to the right dll?
    Thanks in advance

    11.5.3700.0, is CrystalDecisions.Web.dll for XIR2 and the 2.0 framework
    11.5.3300.0, is CrystalDecisions.Web.dll for XIR2 and the 1.1 Framework
    10.5.3700.0, is CrystalDecisions.Web.dll for Crystal reports basic that ships with Visual Studion2008
    all of these can co-exist in the GAC, so that part is fine.  The problem is that you most likely have multiple references to CD.Web.dll in the config file of your application... IE an additional reference was added to the <add assembly..../> tag in your web.config.
    delete all <add assembly ../> tags from web.config except the one adding 11.5.3700.0
    If you have more than one project in your solution, make sure there are no other versions of CD.Web.dll in those projects as well.

  • Interactive report javascript error: missing ) in parenthetical

    Running on 11g, APEX 3.1.2.00.02:
    I have several interactive reports that appear to the user to hang up when they try to sort by clicking a column header (the spinny circles never go away and the page doesn't do anything). Upon the column header click, Firebug reports a javascript error: "missing ) in parenthetical", which I now believe is related to this string:
    <SCRIPT SRC="/oracle_smp_chronos/oracle_smp_chronos.js"></SCRIPT>
    being appended to the results of an AJAX call the report makes to get refreshed data.
    I believe the expected result data (JSON format?) is no longer valid with that string at the end.
    We had to prevent that from happening when running our own onDemand service, but I don't know how to stop it in this case.
    Has anyone seen, or solved, this one before? Can anyone tell me how to turn off that smp_chronos stuff to see if I'm right? It's for performance monitoring or some such, isn't it?
    TIA,
    AFC

    Our DBA tells me: there is a setting in the web cache called End-User Performance monitoring. it need to be disabled ( "Site-Specific End-User Performance Monitoring Rules")
    This took care of the problem.
    Thanks for listening.
    AFC

  • Basic Search Item javascript error

    When I use the Basic Search Item to submit a search, I get a Javascript error:
    Error: 'document.mysearchform.p_looplink' is null or not an object
    Examining the page HTML shows that submitting the serach runs this function
    function fetch() {
    var purl;
    purl = location.href;
    document.mysearchform.p_looplink.value = purl;
    document.mysearchform.submit;
    but the form mysearchform doesn't have a field called p_looplink
    The form fields are
    INPUT TYPE="text" NAME="ms" SIZE="15" MAXLENGTH="30"
    INPUT TYPE="submit" VALUE="Go"
    INPUT TYPE="hidden" NAME="pg" VALUE="33"
    INPUT TYPE="hidden" NAME="search_type" VALUE="Simple"
    INPUT TYPE="hidden" NAME="ll" VALUE=""
    INPUT TYPE="hidden" NAME="p_action" VALUE="SUBMIT"
    INPUT TYPE="hidden" NAME="_dad" VALUE="portal"
    INPUT TYPE="hidden" NAME="_schema" VALUE="PORTAL"
    This bug only appears when you have your browser set to report all Javascript errors - it doesn't prevent the search from working.
    Any ideas about what's going on here?
    Does the basic Search Item (not the portlet) work properly for anyone else?
    Rob

    hi rob,
    this problem is reported in bug 3801639. it is fixed in portal 10.1.2.
    regards,
    christian

  • What are the reasons for following Javascript error in Report Viewer

    Post Author: dhuka
    CA Forum: Crystal Reports
    Hello Everybody!
    I am using Crystal Reports 10 in my web application. But unfortunately I am surrounded with strange problem related to it because of which I have been unable to deploy is on client-side. In my application the error given below is displayed as javascript error in Report Viewer and report is not displayed. But more frustrating part is that I am getting the same error due to different problem with reporting and I am stuck with it as I am unable to figure out what's causing the error now. Earlier this error appeared due to problem with parameter passing to stored procedure which I resolved it and error vanished but once again it has shown up. Moreover this error now appears less frequently and randomly therefore it is even difficult to trace the cause.
    Problem with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
    Line: 40Char: 12Error: Expected ')'Code: 0URL: http://myServer/myApp/myForms/myReports/ReportViewer.aspx
    So can anybody tell me what factors might be causing this errors as the error text is very vague in nature and gives no idea about the actual error.
    Guys, I hope for your kind co-operation.
    Regards,

    Post Author: dhuka
    CA Forum: Crystal Reports
    Thanks for you reply Krishna.
    But this syntax error is the one that is creating problem for me as I cannot trace it. The form ReportViewer.aspx contains only a report viewer object which remains un-binded to any ReportDocument even at runtime.
    At code behind ReportViewer.aspx I have code below that associates SQL Stored Procedure Parameter and Report Filter along with report name. Once all above is associated with ReportDocument, I export ReportDocument to PDF file format and display the report. Here I dont' even bind ReportDocument with my ReportViewer. Moreover, as I mentioned previously this error is encountered randomly (with no reasonable explanation so far) on client PC (while browsing through application).
    I hope below code give you good idea of the way I am implementing my reporting.
    Looking forward to you solution. Please note that I am only passing the ReportFileName and Parameter and Filter Criteria to this form while dataTable by itself using the connection information.
    <<<<<<<<<<<<<<<<<CODE BEHIND of REPORTVIEWER.ASPX>>>>>>>>>>>
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim strKeys() As String
    Dim strReportFilter As String
    Dim strReportName As String
    Dim strError As structError
    Try
    ReDim strKeys(0)
    If strReportName = "" Then
    strReportName = Context.Session("ReportName").ToString()
    If Not Session("ReportParameters") = Nothing Then
    Dim char_Delimiter() As Char = ";".ToCharArray()
    strKeys = Session("ReportParameters").ToString().Split(char_Delimiter)
    End If
    If Not Session("ReportFilter") = Nothing Then
    strReportFilter = Session("ReportFilter").ToString()
    End If
    Else
    Session("DataTable") = Nothing
    End If
    If Not ViewParameterReport(strReportName, strKeys, strReportFilter, strError) Then
    ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
    Exit Sub
    End If
    Catch ex As Exception
    strError.strMsg = Err.Description
    ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
    Finally
    End Try
    End Sub
    Private Function ViewParameterReport(ByVal str_ReportName As String, ByVal str_ReportParameters() As String, ByVal strReportFilter As String, ByRef strError As structError) As Boolean
    Dim str_ReportPath As String = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
    Dim crLogInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo
    Try
    str_ReportPath = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
    o_Rpt = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    o_Rpt.Load(str_ReportPath & "\rpts\" & str_ReportName)
    If Context.Session("DataTable") = "" Then
    crLogInfo = New TableLogOnInfo()
    crConnectionInfo = New ConnectionInfo()
    crLogInfo = o_Rpt.Database.Tables(0).LogOnInfo
    crConnectionInfo = o_Rpt.Database.Tables(0).LogOnInfo.ConnectionInfo
    clsDbCnn.SetDBProperties()
    crConnectionInfo.ServerName = clsDbCnn.Server
    crConnectionInfo.DatabaseName = clsDbCnn.Database
    crConnectionInfo.UserID = clsDbCnn.UserID
    crConnectionInfo.Password = clsDbCnn.Password
    crLogInfo.ConnectionInfo = crConnectionInfo
    o_Rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
    Else
    ds_MISReports = New DataSet()
    ds_MISReports = CType(Session("DataTable"), DataSet)
    o_Rpt.SetDataSource(ds_MISReports)
    End If
    If Not IsPostBack Then
    Dim param_Fields As CrystalDecisions.Shared.ParameterFields = New ParameterFields()
    Dim iCount As Integer
    If str_ReportParameters.GetUpperBound(0) <> 0 Then
    For iCount = 0 To str_ReportParameters.Length - 1 Step 2
    o_Rpt.SetParameterValue(CStr(str_ReportParameters(iCount).ToString()), CStr(str_ReportParameters(iCount + 1).ToString()))
    Next
    o_Rpt.RecordSelectionFormula = strReportFilter
    End If
    End If
    'crViewer.DisplayGroupTree = False
    'crViewer.ReportSource = o_Rpt
    SetDBLogonForReport(crConnectionInfo, o_Rpt)
    Dim TargetFileName As String
    Dim fs As System.IO.FileStream
    Dim FileSize As Long
    Dim GenDS As DataSet
    'Dim oRD As New ReportDocument()
    Dim crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject()
    Dim oExO As ExportOptions
    Dim oExDo As New DiskFileDestinationOptions()
    'Build Target Filename
    TargetFileName = str_ReportPath & "\Pdfs\" & Session.SessionID & ".pdf"
    'Export to PDF
    oExDo.DiskFileName = TargetFileName
    oExO = o_Rpt.ExportOptions
    oExO.ExportDestinationType = ExportDestinationType.DiskFile
    oExO.ExportFormatType = ExportFormatType.PortableDocFormat
    oExO.DestinationOptions = oExDo
    o_Rpt.Export()
    o_Rpt.Close()
    'Send the file to the user that made the request
    Response.Clear()
    Response.Buffer = True
    Response.AddHeader("Content-Type", "application/pdf")
    Response.AddHeader("Content-Disposition", "attachment;filename=MyReport.pdf;")
    fs = New System.IO.FileStream(TargetFileName, IO.FileMode.Open)
    FileSize = fs.Length
    Dim bBuffer(CInt(FileSize)) As Byte
    fs.Read(bBuffer, 0, CInt(FileSize))
    fs.Close()
    Response.BinaryWrite(bBuffer)
    Response.Flush()
    Response.Close()
    o_Rpt = Nothing
    Return True
    Catch ex As Exception
    strError.strMsg = Err.Description
    Return False
    Finally
    crConnectionInfo = Nothing
    crLogInfo = Nothing
    End Try
    End Function
    Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, _
    ByVal myReportDocument As ReportDocument)
    Dim myTables As Tables = myReportDocument.Database.Tables
    Dim count As Integer
    For count = 0 To myTables.Count - 1
    Dim myTableLogonInfo As TableLogOnInfo = myTables(count).LogOnInfo
    myTableLogonInfo.ConnectionInfo = myConnectionInfo
    myTables(count).ApplyLogOnInfo(myTableLogonInfo)
    myTables(count).Location = myConnectionInfo.DatabaseName & ".dbo." & myTables(count).Location.Substring(myTables(count).Location.LastIndexOf(".") + 1)
    myTables(count).LogOnInfo.ConnectionInfo.ServerName = myConnectionInfo.ServerName()
    Next
    End Sub

  • Crystal Reports XI R2 Javascript error when viewing web report

    Post Author: msilka
    CA Forum: General
    I have an ASP web application that was working fine with XI but when I upgraded to XI R2 I received the following error when displaying a report in the report viewer.
    Line: 461
    Char: 1
    Error: Object expected
    Code: 0
    URL: my report URL
    When I debug with a javascript debugger the line in question reads as
    addOnloadFunction(reportViewerNamebobjInit);
    I need to get the reports to run without this error.
    Thank you

    The only personal folders visible from under Admin panel are for users Administrator and Guest. I've tried to query CMS tables but these store entries not in plain text so I cannot identify entries connected to personal folders. I have also tried to do this via Query Repository tool but all returned entries were ok.
    I have also noticed that when trying to load group from LDAP after it returns error "LDAP: Failed to commit objects to server : Duplicate object name in the same folder." entry for this group is created in CMS table. Also this group is then visible in admin Groups panel. No users are created with the group and when I'm trying to list users belonging to added group it returns "internal secLDAP security plug-in error" but without any other suggestion what went wrong.

  • 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.

  • Javascript errors with Crytical Report XI

    I am using EP6 SP2 and CR XI. And deployed the compatible iview provided by BusinessObjects. 
    If I chose to display one BW report or one Folder in the iview, such as :
    http://gdtelnotes.gd.ctc.com/businessobjects/enterprise11/sap/desktoplaunch/InfoView/CrystalEnterprise_Report/view.do?objId=2274
    Everything is OK.
    However, if I chose to display logon page of CR, such as:
    http://gdtelnotes.gd.ctc.com/businessobjects/enterprise11/sap/desktoplaunch/InfoView/logon/logon.do
    Javascript errors will occur. 
    Any instructions will be appreciated.
    Many thanks,
    Summer

    Hi,
    i have exactly the same error when upgrading tot 4.1.1.
    In APEX 4.1.0 everything is working fine, but now in 4.1.1 in every IR report i got "gReport is empty or undefined" error message.
    <script language="JavaScript" type="text/javascript">
    ;(function($){
    gReport = new apex.worksheet.ws('');
    $.htmldbIrBusyGrap=$.fn.htmldbIrBusyGrap=function(){
    /* for bind IR ajax */
    /* check do we have IR on page */
    if($('#apexir_WORKSHEET_REGION').length>0){
      /* replace apex internal function _BusyGraphic */
      gReport._BusyGraphic=function(pState){
       if(pState==1){
        /* ir ajax start trigger htmldbIrAjaxStart event and show loading icon */
        $.event.trigger('htmldbIrAjaxStart');
        /*goModal('apexir_LOADER', {position:['30%',]});*/
         html_ShowElement('waitRegion');
        //$('#waitRegion').modal({persist:true,overlayCss:{backgroundColor:'#606060'},position:['30%',]});
        }else{
        /* check is there data stored to #apexir_WORKSHEET */
        if(!$('#apexir_WORKSHEET').data('htmldb')){
          /* store data to #apexir_WORKSHEET */
          $('#apexir_WORKSHEET').data('htmldb',{irReady:true});
          /* trigger htmldbIrReady event */
          $.event.trigger('htmldbIrReady');
         /* hide loading icon and trigger htmldbIrAjaxEnd*/
             html_HideElement('waitRegion');
         //$.modal.close();
        $.event.trigger('htmldbIrAjaxEnd');
       return;
      $.event.trigger('htmldbIrReady');
    $.htmldbIrReady=$.fn.htmldbIrReady=function(fn){
    $(function(){if($.isFunction(fn)&&$('#apexir_WORKSHEET_REGION').length>0){$('#apexir_WORKSHEET_REGION').bind('htmldbIrReady',fn)}});
    })(jQuery);
    addLoadEvent(function(){$.htmldbIrBusyGrap();});
    </script>When i add the following line in the javascript just above the call of the gReport
    gReport = new apex.worksheet.ws('');then the pages are loaded without any error, but my custom icon is not displayed.

  • Control the / interact with Report Viewer via Javascript

    Hi
    i have some questions about client control of the report viewer. I would want to use some custom buttons in order to use the report viewer functionalities, as an example to print, or to known when a customer leaf through the report pages saving something in a javascript variable.
    Is it possible to interact with the report viewer? There is a reference text?
    Thanks

    I've never done it with JavaScript, but you could use the built in events to keep track of some information about report navigation. Some of the available events are below.
    CrystalReportViewer Events
    Description
    CrystalReportViewerBase.AfterRender Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report rendering process is finished.
    CrystalReportViewerBase.AfterRenderContent Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report content rendering process is finished.
    CrystalReportViewerBase.AfterRenderObject Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object rendering process is finished.
    CrystalReportViewerBase.BeforeRender Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report rendering process starts.
    CrystalReportViewerBase.BeforeRenderContent Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report content rendering process starts.
    CrystalReportViewerBase.BeforeRenderObject Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object rendering process starts.
    CrystalReportViewer.Drill Event
    Event fires when a report is drilled down on.
    CrystalReportViewer.DrillDownSubreport Event
    Event fires when the user drills down on a subreport.
    CrystalReportViewerBase.Error Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object throws an exception.
    CrystalReportViewer.Navigate Event
    Event fires when the user navigates through a report.
    CrystalReportViewerBase.OnRenderScript Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the HTML script generation starts.
    CrystalReportViewerBase.OnRenderStyle Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the HTML style class generation starts.
    CrystalReportViewerBase.ReportPartBookmarkNavigation Event
    (Inherited from CrystalReportViewerBase Class.) Event fires after navigation to a report part in the same report or another report is finished.
    CrystalReportViewer.ReportRefresh Event
    Event fires when the data in the report is refreshed.
    CrystalReportViewer.Search Event
    Event fires when text is searched for in the report.
    CrystalReportViewer.ViewZoom Event
    Event fires when zoom level of the viewer changes.
    CrystalReportViewerBase Events
    Description
    CrystalReportViewerBase.AfterRender Event
    Event fires when the report rendering process is finished.
    CrystalReportViewerBase.AfterRenderContent Event
    Event fires when the report content rendering process is finished.
    CrystalReportViewerBase.AfterRenderObject Event
    Event fires when the report object rendering process is finished.
    CrystalReportViewerBase.BeforeRender Event
    Event fires when the report rendering process starts.
    CrystalReportViewerBase.BeforeRenderContent Event
    Event fires when the report content rendering process starts.
    CrystalReportViewerBase.BeforeRenderObject Event
    Event fires when the report object rendering process starts.
    CrystalReportViewerBase.Error Event
    Event fires when the report object throws an exception.
    CrystalReportViewerBase.OnRenderScript Event
    Event fires when the HTML script generation starts.
    CrystalReportViewerBase.OnRenderStyle Event
    Event fires when the HTML style class generation starts.
    CrystalReportViewerBase.ReportPartBookmarkNavigation Event
    Event fires after navigation to a report part in the same report or another report is finished.

Maybe you are looking for

  • How to create matrix object manually ?

    hello expert, i am trying to create a matrix report object manually, i found some steps on google but they are not working to success. please help me to create one. google steps: To create a matrix object: 1. In the Paper Layout view, click the Repea

  • First DSLR for filming

    Hey everyone, I am looking for a DSLR for filming purposes. I have been recently watching reviews and video footages to see which is the best for me. Obviously a 5d mark II or III would be the best choice but unfrtunately I cannot afford it. I have a

  • Old Elements 2.0

    Trying to install an old PS Elements 2.0 I had on a PC to my new iMac, this is what happens...... 1) Insert disc 2) Select "English" 3) Select VISE "Install Photoshop Elements" 4) Select "US English" click "Continue" 5) This message pops up no matter

  • WMI variable problem on 2012 R2

    I've been using WMI command line event consumers for years now that trigger on certain WMI events for auditing purposes. The methods that I've used in previous versions of Windows no longer work on 2012 R2 (and possibly 2012 -- never tried it). From

  • How to hide or masked my Lync 2013 phone number?

    I need to make outbound calls in France, Belgium and Switzerland, to our customers, but I don't want that they see my Lync phone number and call me back. Is there any chance to hide my number or just to masked it?