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.

Similar Messages

  • Publisher "link to this report" throwing js error

    When viewing a report I'm getting a javascript error when trying to click "Link to this report":
    'reportLinksMenu' is not defined.
    Anyone else having this issue?

    Your post is from 2008...but same javascript error is still available with bip 10g event with latest patchset (that is of may 2011)
    To resolve this error you need to do the following and save your report after thos modifications :
    - Add an RTF template to your report
    - Add a layout to corresponding RTF template for your report
    After thos changes, you'll be able to click on "Link to this report" without geting the javascript error message
    It looks like "Link to this report" throws this error only when there is no layout defined for xdo (that is the report).
    You need to add a template because you cannot save the report if the layout has no template (that is the rtf)

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

  • Google searches throw Javascript error "Debug Error: Exception...."

    I went away for a week. Everything fine. Since I got back (May 6 2010) when I click on any Google search result a pop-up box appears (sometimes when the search results page first appears before clicking anything) with this message:
    "Debug Error:Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366""
    Continual clicking (100+ clicks!) of the OK button eventually clears the dialogue but any subsequent search starts the whole process again. I also not that the style of the Google results p[age has changed.
    I have to use a different browser for Google searches. IE7-OK Opera 9.64 - OK Chrome - OK (naturally)
    I have cleared Cache, History, Cookies etc. I have tried reinstalling FF. I have disabled JavaScript in he browser. All no good.
    I notice in the forums that others are having this problem in the same time range - i.e it has just started happening. I have tired contacting Google with the usual lack of success!
    Help Please!
    == URL of affected sites ==
    http://www.google.com/search?q=google+javascript+error+in+FF+3.6.3&hl=en&start=10&sa=N

    Additional information about my previous post " Google searches throw Javascript error "Debug Error: Exception...."
    I have disabled the Amazon Add-on since the name Amazon appears in the debug message No change.
    I attach a screen shot of the offending dialogue box
    Hope someone can help.

  • SSRS report throwing error :- system.web.aspnethostingpermission failed

    Hi,
    I am facing an issue with SSRS report after implementing HTTPHandler in its web.config file of Report manager.
    My reports were working fine. I deployed a dll in report manager BIN folder and added below tag in the web.config
    <add verb="*" path="*.aspx" type="ISHandler.SyncHandler, ISHandler" />
    ISHandler is the assembly/namespace and SyncHandler is the class name.
    I am getting error when I try to access the report
    error :- system.web.aspnethostingpermission failed.
    Currently web.config contains below settings.
    <securityPolicy>
          <trustLevel name="RosettaMgr" policyFile="rsmgrpolicy.config" />
        </securityPolicy>
      <trust level="RosettaMgr" originUrl="" />
    Can you please help where the security permission is missing ?
    sanmay

    I am unable to see that. Please check.
    sanmay

  • 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

  • Hyperlink from SSRS Report

    Hi , I run ssrs reports form my VB application the hyperlink Does not open. When I run the same report from the server the hypelink opens normaly. Any Suggestion?
    Thanks
    Luis

    Hi Luiso,
    Do you mean the hyperlinks generated by the “Go to URL” or “Go to Report” action in the report? Do you use ReportViewer control in your VB .NET application? Are there any parameters passed from the custom application to the hyperlink URL? Could you post
    the URL of the hyperlink?
    Here, I suggest that you delete the report from the report server, and re-deploy it. If it doesn’t work, please post more information for further analysis.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • BIP Upload Report throwing an error

    Hi All,
    I have created an new report and trying to upload the report on application but it is throwing an error:
    Process XMLPReportServer on Siebel Server terminated.
    I checked the log file and found this error:
    SBL-EAI-04308: Operation 'uploadReport' of Web Service 'http://xmlns.oracle.com/oxp/service/v11/PublicReportService.PublicReportServiceService' at port 'PublicReportService_v11' failed with the following explanation: "oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::executeUploadReport Failure: Due to unable to create new Report as AbsolutePath [SiebelCRMReports/IRIT Service Ticket Printout China/IRIT Service Ticket Printout China.xdo] due to java.util.zip.ZipException: error in opening zip file".
    It will be an great help if we get inputs for this error.
    Thanks and Regards,
    Priya

    did you make sure all the .jar files in your CLASSES folder are correct? see:
    [java.util.zip.ZipException: error in opening zip file - during upload of BI Publisher templates from Siebel 8 (Doc ID 1216653.1)                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Actions menu in Forums throws Javascript error, remains blank

    The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
    I've been trying to post something for a while now, but had to investigate the poor design of the site to gain access to the forum. One must first login to adobe.com, then locate the obscure link under the header to login to the forum section specifically.
    Once logged in the menu works and JavaScript error goes away.
    Why not just use the global auth token, or if you're going to use third party software for the forums, extend their code to work with the global auth token?

    The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
    Let's get one thing clear;  To view these forums, you do not need to be logged on;  Anybody can view the questions and answers without logging in.
    If you want to take part in these forums e.g you want to post a question or you want to post an answer based on your experience or you just want to comment on something, then you need to be logged on.  This is a security issue and all forums that I know of require you to register before you can post anything.
    As to JS error, it is dependent on your systems security configuration.  For example when I am using IE8, I always get an alert message to say that a page contains a script.  Do you want to load the blocked content?  I would answer yes if I know which website I am visiting otherwise it is a NO NO.  In firefox, I have set it to allow all scripts JAVA/JS and so I don't get any such alerts.  I also have Mcaffee Site Advisor installed so it warns me about any sites that are potentially dangerous.
    Hope this clarifies the position based on my experience.
    Hope this helps.

  • Adding custom webpart throwing Javascript error -The collection has not been initialized.

    Hi,
    I created a Javascript CSOM visual webpart and added to page. In the IE developer tools console, I am getting an error as below:
    "SCRIPT5022: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
    SP.Runtime.js, line 2 character 35853".
    My code is as below:
    <script type="text/javascript" src="../../_layouts/15/MicrosoftAjax.js"></script>
    <script type="text/javascript" src="../../_layouts/15/SP.Runtime.js"></script>
    <script type="text/javascript" src="../_layouts/15/sp.js"></script>
    <script type="text/javascript" src="../_layouts/15/sp.ui.controls.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/Rotator.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/bjqs-1.3.js"></script>
    <link rel="stylesheet" type="text/css" href="/_layouts/15/test/CSS/bjqs.css" />
    <SharePoint:FormDigest ID="FormDigestRotator" runat="server">
    </SharePoint:FormDigest>
    <div id="banner-fade">
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    // In Rotator.js
    $(document).ready(function () {
    SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadConfigData);
    function loadConfigData() {
    var clientcontext = new SP.ClientContext.get_current();
    var oweb = clientcontext.get_site().get_rootWeb();
    var olist = oweb.get_lists().getByTitle("LibName");
    var configquery = SP.CamlQuery.createAllItemsQuery();
    Allpictures = olist.getItems(configquery);
    clientcontext.load(Allpictures, 'Include(Title,ImgSubURL)');
    clientcontext.executeQueryAsync(Function.createDelegate(this, this.Configsuccess), Function.createDelegate(this, this.Configfailed));
    How to fix this javascript error? Due to this, the "Check-in" option is not working.
    Update: i believe the error is with "executeQueryAsync". How to fix this?
    Thanks

    Hi,
    I suggest you create a simple demo first, once it works, then add other customization into your project gradually. It will be easier to composite the correct code.
    Please apply the code below in your project for a try:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("callCSOM");
    var clientContext;
    var website;
    var str="";
    // Make sure the SharePoint script file 'sp.js' is loaded before your
    // code runs.
    function callCSOM()
    //alert("call");
    $("#Button1").click(function()
    ExecuteOrDelayUntilScriptLoaded(sharePointReady, "sp.js");
    // Create an instance of the current context.
    function sharePointReady() {
    clientContext = SP.ClientContext.get_current();
    website = clientContext.get_web();
    clientContext.load(website);
    clientContext.executeQueryAsync(onRequestSucceeded, onRequestFailed);
    function onRequestSucceeded() {
    str="website.get_title(): "+website.get_title();
    alert(str);
    function onRequestFailed(sender, args) {
    alert('Error: ' + args.get_message());
    </script>
    <input id="Button1" type="button" value="Run Code"/>
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • OBIEE 11g : Report throwing TNS Error

    Hi,
    We have installed OBIEE 11g in Linux server. After replacing the Out-of-the-box RPD.
    The reports are throwing following TNS Error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)SQL Issued: SELECT 0 s_0, "Assets"."Product"."Product" s_1 FROM "Assets" FETCH FIRST 65001 ROWS ONLY
    What configurations we need to re-check?
    Regards
    Sudipta

    HI,
    Please cross check you rpd connection pool details in physical layer like below.
    Data source name
    Username and password
    Or,
    Login Weblogic Console with admin username/pwd.
    Goto Services -> JDBC -> Data Sources.
    Select Lock & Edit button
    Select Data Source "bip_datasource" link in the available Data Sources list
    Select Connection Pool tab
    .... Change the URL|Driver|Properties|Password
    Select Save button.
    OR,
    you have to go to WEblogic Enterprise Manager (http://<server>:7001/em/. Then go to Business Intelligence folder -> coreapplication. Go to "Deployment" tab and then to "Scheduler" tab. Change the database field to point to the new DB and apply changes.
    Or,
    Please check Database services running or not including TNS listner service also.
    Hope this helps.
    Thanks
    Satya

  • 'Content viewing' in 'Audit Log reports' throws timout error

    I have enabled 'Reports' in the site collection features and I am tryin gto generate the 'Content viewing' in 'Audit Log reports'. This keeps me waiting for a couple of minutes and throws a timeout error. Could you please let me know why is this happening
    and is there any way to resolve it  ?
    I am getting the below error in UI and in my logging database
    System.Exception
    Reason: Request timed out. URL:
    https://Mydomain/Mysitecollection/_layouts/RunReport.aspx/Content_viewing.xml
    Thank you
    Regards Rahul A

    Hi,
    According to your issue, firstly, please check if your hardware performance is poor or the site collection has numerous data, if so, improve the hardware or pull the
    data out of the tables, then check the effect.
    Secondly, if you cannot view audit reports for the site http://servername /sites/sitename
    Try to detach and attach content database for the site you want to view, then check the effect.
    Thanks,
    Rock Wang
    Regards, Rock Wang Microsoft Online Community Support

  • Prompts throwing javascript Error

    Hi All,
    My prompts are throwing error while selecting the values from the dropdown.
    1)saw.isElementAttachToDocumentBody is not a function in Firefox and in other Browsers also.
    Any help in this regard

    Hi,
    I suggest you create a simple demo first, once it works, then add other customization into your project gradually. It will be easier to composite the correct code.
    Please apply the code below in your project for a try:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("callCSOM");
    var clientContext;
    var website;
    var str="";
    // Make sure the SharePoint script file 'sp.js' is loaded before your
    // code runs.
    function callCSOM()
    //alert("call");
    $("#Button1").click(function()
    ExecuteOrDelayUntilScriptLoaded(sharePointReady, "sp.js");
    // Create an instance of the current context.
    function sharePointReady() {
    clientContext = SP.ClientContext.get_current();
    website = clientContext.get_web();
    clientContext.load(website);
    clientContext.executeQueryAsync(onRequestSucceeded, onRequestFailed);
    function onRequestSucceeded() {
    str="website.get_title(): "+website.get_title();
    alert(str);
    function onRequestFailed(sender, args) {
    alert('Error: ' + args.get_message());
    </script>
    <input id="Button1" type="button" value="Run Code"/>
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Standard report throws the error - 'LOAD FAILED, INTERNAL ERROR'

    Hi there,
                      When i run lead origin report or any other standard report, the error says 'LOAD FAILED, INTERNAL ERROR' as mentioned in screen shot. The same i checked in QA server too and error analysis says ''define the correct currency default is EURO''
    All the standard reports has the same problem.
    * these reports are running in UI.

    Hi Himanshu,
    Where is the detailed error screenshot in SAP GUI.
    Thanks,
    Faisal PC

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • How do I convert a scaned document to pdf?

    How do I convert a scanned document to pdf.

  • Just wondering ... wich mac is better??

    Which mac is better?? The Mac Book Pro or Mac Book Air. I already have the Pro, but I want to buy a new one. Which one should I buy?

  • EXS24 Mapping Problem

    Hi, I have put 127 drum samples into the exs24 - via it's zone mapping part, but when i put them in it spreads every single one across the keyboard. I have told it to give each sample a zone width of '1' and to map 'contiguous zones' but it still doe

  • New imac not working properlyHELP

    Hi I have had a new imac for a week. I cannot get on to an apple site at all, had to get here with my Sony laptop. It just hangs when I try to load an apple website, and if I get it to load, I cannot get to support pages WHY Also today iphoto stopped

  • Exchange console is Madatory for FIM SSPR email notification

    Hi, We  are trying to trigger a mail once user reset his successfully. would like to confirm, is it Mandatory to install the exchange console on FIM server only for email notification in case of successful password reset and OTP on email. If exchange