Javascript Error for Dropdown: oAccessibilityHelper is Undefined

I have developer a WebDynpro (ABAP) component that has a DropdownByKey.
The component is embedded in two different compoents that are part of different WD aplications.
In application A, everything works fine, but in application B, I am getting a JavaScript Error when clicking on the dropdown.
The error message is "oAccessibilityHelper is undefined".
What can I do? Why are the two applications behaving differently? I could find no difference so far.

Because of Web Dynpro's closed rendering system, nothing you do should really be able to cause a JavaScript error.  Anything of a mistake should be caught and reported by the Web Dynpro layer.  So if you have a reproducable JavaScript error you should really search for support notes/open a support ticket.

Similar Messages

  • Javascript error for detailed navigation tree : 't' is undefined

    Hi everybody,
    I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error :
    Error :  't' is undefined.
    Code :  0
    URL :  http://localhost:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false
    Could somebody help me please ?

    Sorry but it's the same result.
    Anybody else?
    Somebody could say me if i modify the parameter of the URL somewhere?
    http://portal:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false&windowId=WID1182328037651
    I talk about the parameter buildTree or NavPathUpdate.
    These parameters are added when ai click on the link of the tree.

  • JavaScript Error for Web Control Value

    Hi,
    I'm trying to follow the code mentioned in this post:
    https://sharepointantics.wordpress.com/2009/11/24/publishingpage-field-modify-field-output/
    To parse the values of the multifield control.
    When I use the script I get javascript errors: "Uncaught SyntaxError:Unexpected Identifier".
    The string returned from the field value for the line of JavaScript is:
    var inputOptionsString = '<a onclick="OpenPopUpPage('http://portal/teams/Data/_layouts/15/listform.aspx?PageType=4&ListId={85548e8f-58c5-4dea-9278-d7d941bf1cce}&ID=9&RootFolder=*', RefreshPage); return false;" href="http://portal/teams/Data/_layouts/15/listform.aspx?PageType=4&ListId={85548e8f-58c5-4dea-9278-d7d941bf1cce}&ID=9&RootFolder=*">Install</a>; <a onclick="OpenPopUpPage('http://portal/teams/Data/_layouts/15/listform.aspx?PageType=4&ListId={85548e8f-58c5-4dea-9278-d7d941bf1cce}&ID=15&RootFolder=*', RefreshPage); return false;" href="http://portal/teams/Data/_layouts/15/listform.aspx?PageType=4&ListId={85548e8f-58c5-4dea-9278-d7d941bf1cce}&ID=15&RootFolder=*">SQL</a>'
    Could the slashes be the issue, or the single quote in the begging after the
    OpenPopUpPage?
    Thanks,
    Reuvy

    There might not be a need for two Java plugins, in order to remove the vulnerable one:
    # Open in a url bar about:plugins
    # Next to the Java plugin marked vulnerable click "Remove"
    #Restart Firefox
    Javascript is a bit different from Java.
    *[[JavaScript settings and preferences for interactive web pages]]
    The web console is a web developer tool used to look at what makes the webpage. Since the video is not playing, something is blocking it. It can be permissions, an extension, hardware acceleration etc. Usually an error message in the console can give a clue. It is located in Tools > Web Developer > Web Console

  • Javascript error for Inserting Pages from a source

    Below is a script I wrote that isn't functioning properly on my large 200 page document that I need it to. Granted there might be a much easier way to script this, but I'm no expert. I have a 200 page document that needs to be 600 pages, basically every page needs to be copied twice (and obviously placed right after the original. So I have the original PDF, then I copied that PDF to use as a source document to copy from. (To clarify if I'm not being clear, the first 3 pages would be page 1, 2, 3,... it needs to be: 1,1,1,2,2,2,3,3,3 etc)
    var targetpage = 0;
    var sourcepage = 0;
    while(sourcepage < 199)
        this.insertPages({
            nPage: targetpage,
            cPath: "source.pdf",
            nStart: sourcepage,
            nEnd: sourcepage
        targetpage++;
        this.insertPages({
            nPage: targetpage,
            cPath: "source.pdf",
            nStart: sourcepage,
            nEnd: sourcepage
        sourcepage++;
        targetpage=targetpage+2;
    It gives me an error that I have no idea means, nor how to correct after only placing a total of 3 pages - so the doc went from 200 to 203 (2 of page 1 as intended, then 1 page of page 2, then for some reason it stops...
    InvalidArgsError: Invalid arguments.
    Doc.insertPages:9:Batch undefined:Exec
    Why is it stopping? And please don't assume I know what I'm doing Thank you.

    Have you read the Acrobat JS API Reference about the insertPages and the path value and restrictions?
    insertPages now needs to use the "privileged context" when not being run as a console or batch event.
    Safe path
    Acrobat 6.0 introduced the concept of a safe path for JavaScript methods that write data to the local hard drive based on a path passed to it by one of its parameters.
    A path cannot point to a system critical folder, for example a root, windows or system directory. A path is also subject to other unspecified tests.
    For many methods, the file name must have an extension appropriate to the type of data that is to be saved. Some methods may have a no-overwrite restriction. These additional restrictions are noted in the documentation.
    Generally, when a path is judged to be not safe, a NotAllowedError exception is thrown (see Error object) and the method fails.

  • Javascript error for instagram videos only in firefox

    I still have no luck with anyone having a solution to this issue , which started with Firefox 35.1 and today Firefox did a 36.0 update and the issue is still not fixed
    Issue , i try to watch videos from Instagram on a motorcycle forum , and on riders own pages and they wont play weather i click on the link to Instagram itself where the video is , or if its embedded into the forum topic (i do not , nor have i ever had a Instagram account , but was always able to view the videos until the 35.01 update) and the video shows up , but when you click on the arrow in the middle of the video to play it , the video just sits there and does nothing , in the lower corner of the web page , right above my taskbar , i see " javascript;" , so i am guessing its some javascript issue , but Oracal does not show any issues , and it only happens in Firefox , Google Chrome plays the same video fine , this is a example of the videos i am trying to watch but wont play
    https://instagram.com/p/zVwLoxI2wQ/?modal=true&utm_source=partner&utm_medium=embed&utm_campaign=video
    https://instagram.com/p/zBkQs1BPYf/?modal=true&utm_source=partner&utm_medium=embed&utm_campaign=video
    I have tried fixes that have been suggested (this is another post i made but help has been limited) https://support.mozilla.org/en-US/questions/1046495 , but they do nothing (resetting firefox , disabling add-ons , all the normal "try this" solutions do nothing) , any actual solutions to this issue ?? , i would really like to be able to watch these types of videos again , i don't understand why this is even a issue , it worked before 35.01 and since it has not , so the issue IS with Firefox , it needs to be addressed , Thanks .... Jim

    There might not be a need for two Java plugins, in order to remove the vulnerable one:
    # Open in a url bar about:plugins
    # Next to the Java plugin marked vulnerable click "Remove"
    #Restart Firefox
    Javascript is a bit different from Java.
    *[[JavaScript settings and preferences for interactive web pages]]
    The web console is a web developer tool used to look at what makes the webpage. Since the video is not playing, something is blocking it. It can be permissions, an extension, hardware acceleration etc. Usually an error message in the console can give a clue. It is located in Tools > Web Developer > Web Console

  • Problems - Javascript errors, when I login Portal from Internet.

    I have the following problem:
    In order to login SAP Portal 7.0, externally, I created a URL in  public host like http://km.mycompany.com,
    and that URL redirects me to my portal URL, like http://myserver.mycompany.com:50000/irj., using SAP WebDispatcher
    The problem is that if logon to http://myserver:50000/irj (from inside my LAN), I can navigate it OK.
    But if I login Portal from the Internet (outside LAN), I have in several pages Portal Javascript errors. I analyzed that these errors occur for example on page User Admin, or the Webdynpro Administrator.
    After analyzing a bit, I found that pages that give me javascript errors (for example, "SSR is undefined" or " 'me' is undefined", that dont let me to click buttons or see gifs images, or display /nwa page) occurs in the pages that does not begin with "/irj" but with "/webdynpro/dispatcher. "
    any ideas ???
    thanks in advance,
    regards,
    Edited by: Leandro  Balboni on Sep 1, 2008 11:44 PM
    Edited by: Leandro  Balboni on Sep 1, 2008 11:45 PM

    Hi,
    JavaScript issues 9 out of 10 have to do with FQDN issues.
    Anotherthing to check in the WepDisp config is:
    wdisp/permission_table = URLpermissions.pfl
    Good luck,
    Benjamin Houttuin

  • JSF web app gives javascript error - 'dojo is undefined' and 'webui is unde

    Hi,
    BACKGROUND: I have created a Netbeans 6 Visual Web Project. I have also integrated my web app with RichFaces 3.1.3. My web application can be viewed properly and correctly when i deploy it on tomcat 6.
    ARCHITECTURE: Our server configuration requires IIS to be our web server and tomcat to be our app server. Both are running on different machines. I have successfully linked up IIS 6 and tomcat 6 using the JK isapi_redirector.
    PROBLEM: However, when i connect to my app via IIS, my starting page opens but the input box components on that page are not displayed and i get several javascript errors that read - 'dojo is undefined' and 'webui is undefined'.
    Any help or advice in this matter will be greatly appreciated.
    Thanks!!!

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • ADC Adaptive Portlet PTHTTPPOSTRequest Javascript Error

    I followed the inline post sample and it is giving me javascript error. PHTTPPostRequest function is undefined.
    The error occurred on this line of code
    var post = new PTHTTPPOSTRequest(postUrl, theForm, handleInlinePostResponse);
    I traced back to the function declaration and it shows that I do have the JS file on my Plumtree server. .....imageserver\plumtree\common\private\js\jsxml\120930\PTXML.js
    Any help would be appreciated.
    Thanks
    Steve

    New Finding. I explicitly added the following line to the code to the portlet
    <script type="text/javascript" src="pt://images/plumtree/common/private/js/jsxml/120930/PTXML.js"></script>
    The portlet works fine on FireFox 0.9.3 and Mozilla .1.7.2 but not IE 6.0. The only error I could get out of IE was
    Internet Explorer cannot open the Internet Site........
    Operation aborted.
    Mozilla works but gave me this error
    Error: uncaught exception: Security Error: Content at http://company.com/portal/server.pt?space=MyPage&cached=true&parentname=CommunityPage&parentid=1&in_hi_userid=1&control=SetPage&PageID=214may not load data from http://plum-box-01/imageserver/plumtree/common/private/js/jsxml/jscomponent.xml.
    What does this means? Should I remove the PTXML.js call and find the problem somewhere else?

  • How do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    how do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)
    == This happened
    ==
    Every time Firefox opened
    == a few months ago
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name Firefox
    Version 3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Adblock Plus 1.2 true
    Adobe DLM (powered by getPlus(R)) 1,6,2,49 true
    AVG Safe Search 9.0.0.825 true {3f963a5b-e555-4543-90e2-c3908898db71}
    AVG Security Toolbar 4.504.019.002 true avg@igeared
    Fasterfox 2.0.0 false
    Forecastfox 0.9.10.2 true {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}
    Java Console 6.0.05 true
    Java Console 6.0.03 true
    Java Console 6.0.07 true
    Java Console 6.0.11 true
    Java Console 6.0.13 true
    Java Console 6.0.15 true
    Java Console 6.0.17 true
    Java Quick Starter 1.0 true [email protected]
    Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
    NoScript 1.9.9.77 true {73a6fe31-595d-460b-a920-fcc0f8843232}
    Java Console 6.0.19 true
    Java Console 6.0.20 true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar 0
    browser.history_expire_days 0
    browser.history_expire_days.mirror 180
    browser.places.importBookmarksHTML false
    browser.places.importDefaults false
    browser.places.leftPaneFolderId -1
    browser.places.migratePostDataAnnotations false
    browser.places.smartBookmarksVersion 2
    browser.places.updateRecentTagsUri false
    browser.startup.homepage_override.mstone rv:1.9.2.3
    extensions.lastAppVersion 3.6.3
    general.useragent.extra.microsoftdotnet ( .NET CLR 3.5.30729)
    keyword.URL http://au.yhs.search.yahoo.com/avg/search?fr=yhs-avg&type=yahoo_avg_hs2-tb-web_au&p=
    network.cookie.prefsMigrated true
    places.last_vacuum 1272511429
    print.print_bgcolor false
    print.print_bgimages false
    print.print_command
    print.print_downloadfonts true
    print.print_evenpages true
    print.print_in_color true
    print.print_margin_bottom 0.5
    print.print_margin_left 0.5
    print.print_margin_right 0.5
    print.print_margin_top 0.5
    print.print_oddpages true
    print.print_orientation 0
    print.print_pagedelay 500
    print.print_paper_data 0
    print.print_paper_height 11.00
    print.print_paper_size -134744073
    print.print_paper_size_type 1
    print.print_paper_size_unit 0
    print.print_paper_width 8.50
    print.print_printer Lexmark 4200 Series
    print.print_reversed false
    print.print_scaling 1.00
    print.print_shrink_to_fit true
    print.print_to_file false
    print.printer_Lexmark_4200_Series.print_bgcolor false
    print.printer_Lexmark_4200_Series.print_bgimages false
    print.printer_Lexmark_4200_Series.print_command
    print.printer_Lexmark_4200_Series.print_downloadfonts true
    print.printer_Lexmark_4200_Series.print_edge_bottom 0
    print.printer_Lexmark_4200_Series.print_edge_left 0
    print.printer_Lexmark_4200_Series.print_edge_right 0
    print.printer_Lexmark_4200_Series.print_edge_top 0
    print.printer_Lexmark_4200_Series.print_evenpages true
    print.printer_Lexmark_4200_Series.print_footercenter
    print.printer_Lexmark_4200_Series.print_footerleft &PT
    print.printer_Lexmark_4200_Series.print_footerright &D
    print.printer_Lexmark_4200_Series.print_headercenter
    print.printer_Lexmark_4200_Series.print_headerleft &T
    print.printer_Lexmark_4200_Series.print_headerright &U
    print.printer_Lexmark_4200_Series.print_in_color true
    print.printer_Lexmark_4200_Series.print_margin_bottom 0.5
    print.printer_Lexmark_4200_Series.print_margin_left 0.5
    print.printer_Lexmark_4200_Series.print_margin_right 0.5
    print.printer_Lexmark_4200_Series.print_margin_top 0.5
    print.printer_Lexmark_4200_Series.print_oddpages true
    print.printer_Lexmark_4200_Series.print_orientation 0
    print.printer_Lexmark_4200_Series.print_pagedelay 500
    print.printer_Lexmark_4200_Series.print_paper_data 1
    print.printer_Lexmark_4200_Series.print_paper_height 11.00
    print.printer_Lexmark_4200_Series.print_paper_size -134744073
    print.printer_Lexmark_4200_Series.print_paper_size_type 0
    print.printer_Lexmark_4200_Series.print_paper_size_unit 1
    print.printer_Lexmark_4200_Series.print_paper_width 8.50
    print.printer_Lexmark_4200_Series.print_reversed false
    print.printer_Lexmark_4200_Series.print_scaling 1.00
    print.printer_Lexmark_4200_Series.print_shrink_to_fit true
    print.printer_Lexmark_4200_Series.print_to_file false
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_bottom 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_left 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_right 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_top 0
    privacy.clearOnShutdown.cookies false
    privacy.clearOnShutdown.offlineApps true
    privacy.cpd.cookies false
    privacy.item.offlineApps true
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 3
    security.warn_viewing_mixed false
    security.warn_viewing_mixed.show_once false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-getplusplusadobe16249
    *Office Plugin for Netscape Navigator
    *Adobe PDF Plug-In For Firefox and Netscape
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r45
    *iTunes Detector Plug-in
    *Garmin Communicator Plug-In 2.8.1.0
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Java(TM) Platform SE binary
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    How do I fix this problem ...javascript (cid) applications.

  • Javascript Error: boot-11.1.1.4.0-0355.js 'undefined' is null or not an obj

    I have several editable table screens, with filter, we are using for administration of the code tables. Randomly when the user saves a change to one of these pages, I get the following errors:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
    Timestamp: Thu, 12 May 2011 19:03:22 UTC
    Message: 'comp' is null or not an object
    Line: 2
    Char: 1
    Code: 0
    URI: https://host.com:8200/USQ/faces/UIShell?_adf.ctrl-state=18hpr3nx1m_114&_afrLoop=604017041395764
    Message: 'undefined' is null or not an object
    Line: 3811
    Char: 2
    Code: 0
    URI: https://host.com:8200/USQ/afr/partition/ie/default/opt/boot-11.1.1.4.0-0355.js
    Message: 'undefined' is null or not an object
    Line: 3811
    Char: 2
    Code: 0
    URI: https://host.com:8200/USQ/afr/partition/ie/default/opt/boot-11.1.1.4.0-0355.js
    Message: 'undefined' is null or not an object
    Line: 3811
    Char: 2
    Code: 0
    URI: https://host.com:8200/USQ/afr/partition/ie/default/opt/boot-11.1.1.4.0-0355.js
    Message: 'undefined' is null or not an object
    Line: 3811
    Char: 2
    Code: 0
    URI: https://host.com:8200/USQ/afr/partition/ie/default/opt/boot-11.1.1.4.0-0355.js
    It looks like a problem with the javascript and the transaction completed popup window. In trying to research this through the forums, I've though it may be a problem with being able to find the component popup window and since that is generated on the fly, I'm not sure of any way to fix this.
    Any help would be greatly appreciated
    Thanks,
    Michelle

    How did you resolve this problem? We have run into something similiar except the adf form works consistently for 1 person but consistently has errors for another. We are suspecting something with IE8 but haven't found the difference/cause yet.
    Thank you.
    Brenda

  • Javascript error: wdaOnMainLoad is undefined

    Hello together
    I'm reading the SDN for quite a while now, and thanks to all of you most of my problems could be solved. So I hope there is anybody who knows a solution to my current problem with WebDynpro for ABAP.
    On our development machine everything works fine, but when it gets to the test and production systems, nothing WebDynpro related works, even the SAP demo applications don't load. All I got is a blank browser page and the following Javascript error (as shown in the thread title):
    wdaOnMainLoad is undefined
    This happends regardless of the browser I'm using, Internet Explorer as well as Firefox. I really don't know, how to solve the problem, or even to track the source of this error. The machines are all new with ECC 6.0 as far as I know.
    EDIT: I just forgot to mention, that I searched SDN and Marketplace for this problem, but I didn't found anything. There are some SAP Notes though (1266588, 1417118, 1454373) that seem interesting, but nothing is related exactly to my problem.
    Edited by: Sebastian Raffel on Jun 27, 2010 6:19 PM

    Sebastian,
    Make sure all the configurations are properly done
    http://www.docstoc.com/docs/14973999/Web-Dynpro-ABAP-Configuration/
    http://help.sap.com/saphelp_tm70/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm
    Thanks
    Bala Duvvuri

  • Spry Menu Bar Javascript Error - items[i].getElements..."a")[0] is undefined

    I have used a spry menu bar on several websites now, and It works very well.
    However, I get a javascript error everytime a page loads. Like I said the menu bar works, but i would like my page to run error free.
    The error is this  items[i].getElements..."a")[0] is undefined
    and it occurs in the following block of code from the spry js file.
    // safari doesn't support tabindex
        if (Spry.is.safari)
            this.enableKeyboardNavigation = false;
        if(this.element)
            this.currMenu = this.element;
            var items = this.element.getElementsByTagName('li');
            for(var i=0; i<items.length; i++)
                if (i > 0 && this.enableKeyboardNavigation)
                    items[i].getElementsByTagName('a')[0].tabIndex='-1';
                this.initialize(items[i], element);
                if(Spry.is.ie)
                    this.addClassName(items[i], this.isieClass);
                    items[i].style.position = "static";

    Hi,
    The problem could be in your HTML-code or even in your modified style sheet.
    So that we do not have to guess, please give us these code, preferably by supplying an online URL.
    Ben

  • 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

  • Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files

    Entire morning wasted.
    Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly.  A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors.  Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
    Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred.  Click 'close' and it appears again...over and over.  Our sites are all unable to open in DW because of this.  It worked fine in earlier versions of DW, including 2014.  It's only 2014.1 that broke everything.
    The fix for this:
    1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
    2. (and the part that's new): The MMDocumentTypes file is located in  C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
    I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
    Chris Lee

    Hi Ivan,
    I'm having that exact same problem now...in addition to that JavaScript error message coming back.  I submitted a bug report last week about this and received the following reply:
    Hi Chris,
    We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
    We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
    Please let us know if you need help regarding anything else. We will be more than happy to help you.
    Thanks,
    Arindam Ghosh
    Dreamweaver Team,
    Adobe Systems
    Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
    Chris

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    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.

Maybe you are looking for