Javascript : Object Expected error.

Hi,
I have used a javascript in my sharepoint portal. Whenever I open the page in IE, it shows me "Object Expected" error at Line:1 Char:1.
Here is the code snippet that I have used:
$(document).ready(function() {
 // Create an array of unique user id's scraped from img rel tags
 var IDs = new Array();
 $('.author-image').each( function() {
  if($.inArray($(this).attr('rel'),IDs ) == -1) {
   IDs.push($(this).attr('rel'));
 // When sp.js is loaded run our function to display images
 ExecuteOrDelayUntilScriptLoaded(function() {DisplayAuthorImage(IDs);}, 'sp.js')
I am not able to figure out what is causing this error?

Sorry but you are in the wrong forum.
Try posting in the Web forum.
http://forums.asp.net/130.aspx/1?HTML+CSS+and+JavaScript
That is the forum for IIS based JavaScript delivered to a browser.
Here is a possibility:
http://stackoverflow.com/questions/312150/where-should-a-script-block-with-jquery-code-be-placed-on-an-asp-net-mvc-master
be sure jquery is being copied to target and specified correctly in the 'src=' statement on the <script.. tag
¯\_(ツ)_/¯

Similar Messages

  • I am getting object expected error in javascript for autocomplete function

    Hi,
    I want to search list items like autocomplete function using jquery.
    I added code in CEWP, but i am getting "Object expected" error. I have checked using alert
     $().SPServices({
        operation: "GetListItems",
        async: false,
    I think SPservices is not working.
    Please help me!!

    Hi,
    According to your post, my understanding is that you wanted to search list items like autocomplete function using jquery.
    You can use the below code to get the Titles of the Announcements list as the values of the autocomplete function.
    <script type="text/javascript" src="/SiteAssets/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery.SPServices-2014.01.min.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery-ui-1.10.4.min.js"></script>
    <script type="text/javascript">
    window.onload = function() {
    window.setTimeout(readyCall, 1000);
    function readyCall(){
    var externalParties = [];
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "Announcements",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function() {
    externalParties.push($(this).attr("ows_Title"));
    $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
    source: externalParties,
    minLength: 1
    </script>
    More information:
    jQuery Library for SharePoint Web Services
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Object expected error in Javascript

    Hi,
    I am facing Object expected error . Here is my code
    window.onload = function() {
      window.setTimeout(readyCall, 1000);
    function readyCall(){
      var externalParties = [];
      $().SPServices({
        operation: "GetListItems",
        listName: "Test",
        CAMLViewFields: "<ViewFields><FieldRef Name='Name'/></ViewFields>",
        async: false,
        completefunc: function (xData, Status) {
          $(xData.responseXML).SPFilterNode("z:row").each(function() {
            externalParties.push($(this).attr("ows_Name"));
      $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
        source: externalParties,
        minLength: 3
    }</script>

    Hi,
    According to your post, my understanding is that you wanted to use SPServices with jQueryUI’s Autocomplete Function on InfoPath Forms in SharePoint.
    You can use the code below:
    <script type="text/javascript" src="/SiteAssets/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery.SPServices-2014.01.min.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery-ui-1.10.4.min.js"></script>
    <script type="text/javascript">
    window.onload = function() {
    window.setTimeout(readyCall, 1000);
    function readyCall(){
    var externalParties = [];
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "Announcements",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function() {
    externalParties.push($(this).attr("ows_Title"));
    $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
    source: externalParties,
    minLength: 1
    </script>
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Object expected error in java script...

    Dear All,
    we have Java Struts 1.1...
    I am getting "Object Expected" error while processing jsp page.
    I want to modify the text field so that only number and one dot(.) should be entered.
    I have one function and i am calling it as "onkeypress" event.
    Below is the function....
    function isNumberKey(evt)
    alert("here");
    var charCode;
    clearerror();
    charCode = (evt.which) ? evt.which : event.keyCode
    alert("here");
    if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
    return false;
    return true;
    and below are html tags...
    <td>Total No Of Customers  *</td>
    <td><html:text property="noOfCustomersUnit" onkeypress="return isNumberKey(event)" style="width:160px"/></td> Please suggest how to solve the issue....

    Why? This is not a javascript forum.
    In any case, run it in firefox which has decent Javascript error handling functionality, then do some Google searches on Javascript event handling to try and figure out what you're doing wrong. It might be something browser specific and I suggest you look into using something like JQuery for standardized and proven ways to do things like event handling logic in stead of rolling your own Javascript stuff.

  • Object Expected error in Struts JSP file

    Hi,
    I have a very simple JSP file as shown below.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <html>
    <head>
    <title>pqGlobalStoreProfile.jsp</title>
    </head>
    <body onLoad="getSessionData();disableFieldsLocale();">
    <html:form action="/pqGlobalStoreProfile.do">
    <table cellpadding=5 cellspacing=0>
         <tr><td colspan=2><h3><b>Pq Global Store/Modify Profile</b></h3></td></tr>
         <tr><td>Profile Key *</td><td><html:text property="profileKey"/></td></tr>
    </table>
    </html:form>
    </body>
    </html>
    It is throwing an "Object Expected' error at Line 9 Char 1.
    I am not sure about what is causing this error.
    Thanks.

    it's a Javascript error, cuz it's calling these 2 methods when the page loads...
    onLoad="getSessionData();disableFieldsLocale();"
    Where are these methods defined? Cuz I don't see any inline Javascript, nor a linked script.
    I hope you don't think that those onload functions are going to call Java code defined in the JSP page or something, cuz... well, they aren't.

  • Object expected error

    i have written a jsp with other jsp included inside it.
    i am accessing the javascript function present in the outer jsp by the inner jsp <href: javascript........> tag . i am getting object expected error of javascript. any suggestions plz.
    thanks

    its a very big files. i dont think i can paste.. anyways i try . TY
    included jsp
    <%--
    --%>
    <%@ page language="java" import="java.lang.*,java.util.*" %>
    <%@ page buffer = "32kb" %>
    <%@ page import="com.wolterskluwer.atlas.crn.CRNSearcherConst"%>
    <%@ page import="com.wolterskluwer.eip.crn.PortalHelper" %>
    <%@ page import="com.wolterskluwer.eip.crn.MonitorManager" %>
    <%@ page import="com.wolterskluwer.eip.crn.TrackerSort" %>
    <%@ page import="com.wolterskluwer.eip.common.tools.log.Log" %>
    <%@ taglib uri="documentProvider.tld" prefix="dp" %>
    <%@ taglib uri="documentCache.tld" prefix="dc" %>
    <%@ taglib uri="diag.tld" prefix="diag" %>
    <%@ taglib uri="oscache.tld" prefix="oscache" %>
    <jsp:useBean id="userProfile" type="com.wolterskluwer.eip.crn.beans.UserProfile" scope="session" />
    <%
         MonitorManager monMan;
         monMan = (MonitorManager) request.getAttribute("monMan");
    %>
    <%-- define link for help page --%>
    <%
    StringBuffer mycrn_helplink = new StringBuffer(64);
    mycrn_helplink.append("javascript:reSetTimerTop(),displayPopupWindow('" + PortalHelper.getContextWebHelpURL("Publications-search.htm") + "'," + (String)application.getAttribute(CRNSearcherConst.APPLICATION.HELPPAGES_DIMENSIONS) + ")");
    //     check if it is content viewer header,
    //     which is a litte bit diferent then other crn headers
    boolean isContentViewerHeader = false;      
    if(request.getParameter("contentViewerHeader") != null &&
      request.getParameter("contentViewerHeader").compareTo("true") == 0){
         isContentViewerHeader = true;    
    %>
              <!-- TOP MATTER -->
              <DIV id="top-matter">
                   <DIV class="top-left-col">
                        <jsp:include page="../siteid.jsp" />
                   </DIV>
                   <DIV class="top-middle-col">
                       <jsp:include page="headermiddlecol.jsp" />                        
                   </DIV>
                   <% if (!isContentViewerHeader){ %>                    
                        <jsp:include page="../ssouserprofileproductaccess.jsp" />
                   <% } %>     
                   <DIV id=search-strip>
                        <% if (!(request.getParameter("doNotShowSearchStrip") != null && request.getParameter("doNotShowSearchStrip").compareTo("true") == 0)){ %>
                      <DIV class=left-col>
    <%-- --%>                       
                  <% Log.debug("crn_mainheader.jsp: before using cache tag"); %>
              <% Log.debug("crn_mainheader.jsp: key=[request.cachekey_userid]; request.cachekey_userid=[" + request.getAttribute("cachekey_userid") + "]"); %>
              <% String key = "CrnMainHeader"+userProfile.getUserId()+request.getAttribute("ignoreaccessrights");%>
              <% Set keyList = (Set) application.getAttribute("CacheKeyList");
                   if(keyList!=null) {
                        keyList.add(key);
                        application.setAttribute("CacheKeyList", keyList);
              %>
              <oscache:cache key="<%=key%>" scope="application" groups="<%=userProfile.getUserId()%>" refresh="<%=PortalHelper.getWebCacheRefresh()%>">
                   <% Log.debug("CRN cache: [crn_mainheader.jsp].[globalnavdropdown] - is recalculating"); %>
                   <% monMan.start("WSCRN.MyCRN.Header.GlobalNavCategory (XSLT)"); %>         
                   <dp:documentProvider id="globalNavCategory" scope="page" pagerId="htmlPager">
                        <dc:cacheDocument cacheName="<%= CRNSearcherConst.APPLICATION.EXTENTED_CSH_DOCUMENTPROVIDER_CACHE %>">
                             <csh:cshextract DOMDocumentID="<%= CRNSearcherConst.APPLICATION.EXTENDED_CSH_DOM_ID %>" DOMDocumentScope="application"/>
                        </dc:cacheDocument>
                        <%-- apply xsl filter to get rid of unsubscribed nodes --%>
                        <dp:xmlTransform isXSLTFilterEnabled="true"
                                             xslFileUri="<%= PortalHelper.getCSHFilterXSLFileUrl() %>"
                                             >
                             <dp:xmlParam name="subscribedProductsAssm" value="<%= userProfile.getProductsSubscribedAssm() %>" />
                             <dp:xmlParam name="listItemSeparator" value="<%= userProfile.LISTITEM_SEPARATOR %>" />
                             <dp:xmlParam name="showUndefinedPubs" value="false" />
                             <dp:xmlParam name="nav-type-toShow" value="Global" />
                             <%-- diagnostic mode when access rights have to be ignored --%>
                             <diag:paramCheck name="<%= CRNSearcherConst.DIAG.IGNOREACCESSRIGHTS %>" value="on">
                                <dp:xmlParam name="showNotSubscribedPubs" value="true" />
                            </diag:paramCheck>
                           </dp:xmlTransform>
                        <%-- generate drop-down box with only subscribed nodes that have attribute nav-type equal to Global --%>
                        <dp:xmlTransform isXSLTFilterEnabled="true" xslFileUri="<%= PortalHelper.getGlobalNavigationDropDownXslFile() %>"
                                             dtdUri="<%= PortalHelper.getDTDUrl(PortalHelper.getAssembliesCollectionId()) %>" >
                             <dp:xmlParam name="CRNSearcherConst.URL.GLOBAL_NAV_PATH" value="<%= CRNSearcherConst.URL.GLOBAL_NAV_PATH %>" />
                             <dp:xmlParam name="CRNSearcherConst.URL.GLOBAL_NAV_LINK" value="<%= CRNSearcherConst.URL.GLOBAL_NAV_LINK %>" />
                             <%-- diagnostic mode when access rights have to be ignored --%>
                             <diag:paramCheck name="<%= CRNSearcherConst.DIAG.IGNOREACCESSRIGHTS %>" value="on">
                                  <dp:xmlParam name="ignoreaccessrights" value="true" />
                             </diag:paramCheck>
                        </dp:xmlTransform>
                   </dp:documentProvider>
                   <% monMan.stop("WSCRN.MyCRN.Header.GlobalNavCategory (XSLT)"); %>
                   <form name="sites" style="margin-top: -2px;margin-left:5px;">
                        <select name="browseCRN" onchange="goToURL()">
                             <option value="0" selected>Browse the CRN...</option>
                             <option value="mycrn.jsp">My CRN</option>
                             <%
                             List trackerCatList = (List) application.getAttribute("TrackerCategoryList");
                             String prodSub = userProfile.getProductsSubscribed();
                             if(TrackerSort.hasTrackerSubscribed(trackerCatList, prodSub)) {
                                  %><option value="mytracker.jsp">My Trackers</option><%
                             %>
                             <%-- display dynamic global navigation options --%>
                             <dp:displayPage ifInPlaceThenDisplay="true" scope="page" documentProviderId="globalNavCategoryDocumentProvider" />
                        </select>
                   </form>
              </oscache:cache>                            
    <%-- --%>                       
                            <IMG height=17 alt="" src="../img/label_search.gif" width=50>
                       </DIV>   
                      <DIV class=middle-col style="width:330px;">
                                  <% monMan.start("WSCRN.MyCRN.SimpleSearchDisplay-searcher.AllFile"); %>
                                  <jsp:include page="../search/searcher/simpleSearchDisplay-searcher.jsp">
                                       <jsp:param name="<%= CRNSearcherConst.URL.FORM_ACTION_URL %>" value="<%= CRNSearcherConst.JSPFILES.SEARCHRESULTS_PAGE %>" />
                                       <jsp:param name="<%= CRNSearcherConst.URL.SEARCHMASKFORM_HIDDEN_FIELD %>" value="<%= CRNSearcherConst.JSPFILES.SIMPLESEARCH_MODULE %>" />
                                  </jsp:include>
                                  <% monMan.stop("WSCRN.MyCRN.SimpleSearchDisplay-searcher.AllFile"); %>
                        </DIV>
                        <%-- modifed PM 1/4/2006 --%>
                      <DIV class=right-col
                           style="
                           <% if(isContentViewerHeader){ %>
                                position: absolute;top: -45;right: 2;text-align:right;width:580px;padding:0px;margin:0px;     
                           <%}else{%>
                                margin-top:-1px;text-align:left;margin-left:0px; 
                           <%}%>">
                             <% if (isContentViewerHeader){ %>                    
                                  <jsp:include page="../ssouserprofileproductaccess.jsp" />
                             <% } %>                                
                           <% if (!(request.getParameter("doNotShowSearchHelp") != null && request.getParameter("doNotShowSearchHelp").compareTo("true") == 0)){ %>                      
                           <A href="<%= mycrn_helplink.toString() %>" target="_top" style="margin-left:3px;margin-right:3px;">Search Help</A>|<%}%><A href="advancedsearch.jsp" target="_top" style="margin-left:3px;margin-right:3px;">Advanced Search</A>|<A href="<%= CRNSearcherConst.JSPFILES.RULESEARCH_MODULE %>" target="_top" style="margin-left:3px;margin-right:3px;">Rule Search</A>|<A href="savedsearches.jsp" target="_top" style="margin-left:3px;">My Searches</A>
                      </DIV>   
                      <% } %>                                   
                    </DIV>       
              </DIV>
    <%--  main jsp--
    <%--
    <%@ page language="java" %>
    <%@ taglib uri="diag.tld" prefix="diag" %>
    <%@ page import="com.wolterskluwer.eip.crn.PortalHelper" %>
    <%@ page import="com.wolterskluwer.eip.crn.MonitorManager" %>
    <%
         MonitorManager monMan = new MonitorManager();
         monMan.start("WSCRN.ContentViewerTop.TotalTime");
         request.setAttribute("monMan",monMan);
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <HEAD>
    <TITLE>content-viewer-top.html</TITLE>
    <!-- characterset is set to ISO-8859-1 to match encoding in docview.xsl that generates document in ISO-8859-1 encoding -->
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <link rel="stylesheet" type="text/css"  href="../css/content-viewer_screen.css"/>
    <link rel="stylesheet" type="text/css" href="../css/global.css">
    <script language="javascript" type="text/javascript" src="../jscript/contentviewer.js"></script>
    <script type="text/javascript">
    var oImgExpand = new Image;
    oImgExpand.src = "../img/toc_expand.gif";
    var oImgCompact = new Image;
    oImgCompact.src = "../img/toc_compact.gif";
    function toggleExpand(){
         oFrameset = parent.document.getElementById("framesContent");
         oImg = document.getElementById("toc-button");
         oBut=document.getElementById("s_h_button");
         if (oImg.src.indexOf("img/toc_expand.gif")>-1){
              oImg.src = oImgCompact.src;
              oFrameset.cols = strTemp;
              oBut.value="Hide TOC";
         }else{
              strTemp = oFrameset.cols;
              oImg.src = oImgExpand.src;
              oFrameset.cols = "0,*"; //changed from 192 to 0 by artp
              oBut.value="Show TOC";
    function OpenWindow(strURL, strName, intWidth, intHeight,toolbar){
         objPopUp = open( strURL, strName, "toolbar="+toolbar+",width="+intWidth+",height="+intHeight+",scrollbars=yes,resizable=yes,menubar=yes,personalbar=yes,location=yes");
         //reSetTimerTop();
    function printContent(){
         parent.frameRight.print();
    </script>
    <script type="text/javascript" src="../jscript/minmax.js"></script>
    </HEAD>
    <BODY>
    <DIV id="content-viewer-top-stretch">
         <jsp:include page="../WEB-INF/jspinclude/mainparts/crn_mainheader.jsp" >
              <jsp:param name="contentViewerHeader" value="true"/>
         </jsp:include>
    </div>
    <div id="content-viewer-top">
         <% monMan.start("WSCRN.ContentViewerTop.ContentViewerHeader"); %>
         <jsp:include page="/WEB-INF/jspinclude/contentviewer/contentviewerheader.jsp" />
         <% monMan.stop("WSCRN.ContentViewerTop.ContentViewerHeader"); %>
    </div>
    </BODY>
    </HTML>
    <% monMan.stop("WSCRN.ContentViewerTop.TotalTime"); %>
    <diag:paramCheck notName="showtime">
    <%
         out.print("<!--");
         out.print(monMan.report("\n"));
         out.print("-->");
    %>
    </diag:paramCheck>
    <diag:paramCheck name="showtime" value="on">
    <%
         out.print(monMan.report("<br>"));
    %>
    </diag:paramCheck>Message was edited by:
    bobz

  • Object expected error in IE

    Hi
    2 issues:
    First is:
    Line 80
    Object expected error in IE
    URL: www.5minuteretreats.com
    I don't know if its the MMpreload images or the PLHFO menu it
    is referring to.
    Second is:
    Also getting "line 271 column 16: end tag for element "A"
    which is not open."
    p="</a>";
    I am unsure of the <a> tag. It appears to be part of
    the Random Image script (kaosweaver - DW extension). Not sure what
    would happen if I delete it.
    Any assitance would be great.
    R3

    8) - what makes you think I *didn't* have to look it up?
    I thought about using "flotsam", but decided not to....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Ken Ford - *ACE*" <[email protected]> wrote in
    message
    news:[email protected]...
    > College educated people.
    >
    > I had to look up the word :-)
    >
    >
    http://www.m-w.com/dictionary/detritus
    >
    > --
    > Ken Ford
    > Adobe Community Expert
    > Fordwebs, LLC
    >
    http://www.fordwebs.com
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> That too. There is detritus all over the page that
    should be removed.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Ken Ford - *ACE*" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> This onmousemove on the <body> tag is
    causing the error:
    >>>
    >>> onmousemove="closesubnav(event);"
    >>>
    >>> --
    >>> Ken Ford
    >>> Adobe Community Expert
    >>> Fordwebs, LLC
    >>>
    http://www.fordwebs.com
    >>>
    >>>
    >>> "romeo the 3rd"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Hi
    >>>> 2 issues:
    >>>>
    >>>> First is:
    >>>> Line 80
    >>>> Object expected error in IE
    >>>>
    >>>> URL: www.5minuteretreats.com
    >>>>
    >>>> I don't know if its the MMpreload images or
    the PLHFO menu it is
    >>>> referring to. Second is:
    >>>> Also getting "line 271 column 16: end tag
    for element "A" which is not
    >>>> open."
    >>>> p="</a>"; I am unsure of the <a>
    tag. It appears to be part of the
    >>>> Random Image script (kaosweaver - DW
    extension). Not sure what would
    >>>> happen if I delete it.
    >>>> Any assitance would be great.
    >>>> R3
    >>>>
    >>>>
    >>>>
    >>

  • IE8  Portal 10.1.2.0.2 buildUIembed.html Object Expected error

    After upgrade IE to IE8, Web admins are unable to switch to WYIWYG mode,
    Issues with IE8:
    Webpage error details
    Status Bar shows following error:
    Message: Object expected
    Line: 820
    Char: 5
    Code: 0
    URI: http://hostname:7777/images/buildUIembed.html
    After talking to Oracle support, they said IE8 is not supported with Portal 10.1.2.0.2 version so only option is to upgrade to 10.1.4.x version.
    This issue can be fixed by simple replacing some lines in buildUIembed.html
    $ORACLE_HOME/portal/images/buildUIembed.html
    Make a copy of buildUIembed.html.
    Replace these lines (Line# 819 and 1292 ) :
    ** Please note, you will find same block of code at two places ( around line # 819 and 1292 )
    Replace this BLOCK of code
    if (element.UserOnClickToolbar) {
    eval(element.UserOnClickToolbar + "anonymous()");
    WITH following
    if (element.UserOnClickToolbar) {
    // eval(element.UserOnClickToolbar + "anonymous()");
    var str = element.UserOnClickToolbar.toString();
    var pos = str.indexOf("anonymous");
    if (pos >= 0)
    eval(element.UserOnClickToolbar + "anonymous()");
    else
    eval(element.UserOnClickToolbar +"onclick()");
    After change:
    1. Bounce portal
    2. cleanup modplsql cache ( $ORACLE_HOME/Apache/modplsql/cache), delete all files & dir from cache.
    3. clear IE8 browser cache (Tools->Delete Browser History) and also try Tools->Developer Tools->Cache->Clear Browser Cache), exit from Browser & start it again to test.
    Edited by: sanjaygupta on Jun 9, 2010 5:03 PM

    Will this workaround, or something similar, work in Portal 9.0.4.0.99?
    We are planning to implement IE8 throughout the enterprise and ran into a similar error in the RTE. We are making plans to upgrade/re-engineer our Portal, but that will be a project that won't be finished until after the IE8 implementation, so we are looking for short-term solutions that will still enable our content contributors the ability to use an RTE within Portal 9.0.4.0.99.
    Thanks,
    Jeff

  • Object Expected Errors in IE 6/ 7

    www.crystalhoyt.com
    Error messages on every page relative to the navigation bar.
    Says that an object is expected, char 1. I can't figure out what is
    "missing" because I made the navigation bar with the Dreamweaver
    Menu Tool.
    Please advise.

    you are missing the JavaScript for the navigation bar.
    Click any of the images in the navigation bar and look in the
    Behaviors Panel.
    Double-click on of the Set Nav Bar Images behaviors there and
    then click OK in the Set Nav Bar Image window.
    This will write the necessary JavaScript to the page.
    You will need to do this on all of the pages.
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "tkatcher" <[email protected]> wrote in
    message news:f42htn$4ld$[email protected]..
    > www.crystalhoyt.com
    >
    > Error messages on every page relative to the navigation
    bar. Says that an
    > object is expected, char 1. I can't figure out what is
    "missing" because I made
    > the navigation bar with the Dreamweaver Menu Tool.
    >
    > Please advise.
    >

  • EP IAC iview javascript object required error

    Hi,
      We have installed EP 6.0 SR1 and ITS 6.20 with service pack 19(with hotfix) in one domain. We have created IAC iviews in Enterprise portal. We are accessing the enterprise portal from different domain and we are getting javascript error <i>object required</i> sometimes. This error comes while loading the IAC iview and it comes randomly. But when we access the portal from the domain where we installed the portal & ITS we are not getting this javascript error.
    Did anyone encountered this type of error before???.
    Please help..
    Regards
    Vasu

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Javascript - Object required error for visual studio 2010

    Hi - I have downloaded the crystal report RTM for visual studio 2010.
    My App server is windows 2008.
    We are using crystal reports as part of CRM application
    I am getting  javascript error 'Object Required'  at the following line:
    The debugger after the error message refers to this:
    bobj.crv.stateManager.setComponentState('ctl00_ContentPlaceHolder2_CrystalReportViewer1__UI',eval('('document.getElementById('__CRYSTALSTATEctl00$ContentPlaceHolder2$CrystalReportViewer1').value')'));
    The website has all the required aspnet_client files and have made sure the application is able to load them.
    When tried with a new sample solution the reports work.
    Please help. I need to make the crystal reports work with the CRM solution...

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Help, I continue to get a 'object expected' error from DW CS3 SWF video insert?

    I am trying to use DW CS3 to place video into my website.  Seems simple enough, 'insert media', 'flash video', etc.  However, I have been unable to get it to play or even show up.  The source file is an FLV file in the same directory as the index pages that should be showing it.  Here is the link, http://www.fishart.us the error line begins with 'AC_FL_Runcontent'.

    any one with ideas???
    i've been doing some more research... and found a possible solution... where i could send the video thru a server proxy... but the only thing is doing that might slow down my process... i was wondering if there was any other solution to this problem??

  • Javascript error: object expected

    hai..
    i used two javascript show(),hide(id) methods for particular page items... i had called those methods from the templates bcoz im passing some id from the template that is needed in the page level javascripts...
    now my problem is for some i didnt not implemented those methods hide(id) & show() bcoz it is not needed for me in that page , but its showing me error saying 'Object Expected' .. how can i overcome this problem...
    do i need to override the method in each n every page... is there any alternate solution for this...
    anoo

    Hello,
    >> but its showing me error saying 'Object Expected' .. how can i overcome this problem...
    Another option is to condition these show/hide functions. You can use something like this:
    if ($x(‘id’)){
       hide(‘id’);
    }That will prevent the functions from running if the element ID ‘id’ is not rendered on the page.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefits us all.

  • "Object expected" JavaScript error in IE7/IE8 using AC_RunActiveContent v1.7

    So this is a low-priority but annoying problem I seem to be having on a site with the AC_RunActiveContent embedding script that Flash CS3 automatically generates (v1.7, according to the comments). In IE7 and IE8, I keep getting these alerts when the page first come up:
    Line: 39
    Char: 1
    Error: Object expected
    Code: 0
    URL: etc.
    What's weird is that Line 39 of the file seems to be in the midst of a try-catch thing, so I don't see why that error should even be showing up. Mind you, the site is working fine - the Flash shows up fine - like I said, not high-priority. I'd just like to try and get rid of that error if I can. Anyone else have any idea what's going on here, and how I might be able to fix it?

    Bump. Also, additional details: Yes, I did upload the script to the server. Yes, it's being found and read properly by the browsers, including IE7 and IE8; I've confirmed this using the Developer's Toolbar. So it's not the same problem that everyone who's asked about this before has had; yes, I did dig up those posts via Google before I came here, and yes, I have made sure. So any other thoughts?

  • Error: object expected in WAD-javascript

    hi all,
    i have written a .js file which i am using in WAD templates.
    there are certain functions which , when i move to the .js file i get the error: object expected.
    if i keep those functions in the template i do not get ne error.
    i just can't figure out why it is happening.
    please help
    Godhuli

    i guess after moving to file in the MIME repository, you have properly linked it. if you still get this error it may be that server cache is causing problem.
    you can invalidate the server cache from SMICM transaction. (this you may have to do it every time you change the .js file and reload it to MIME repository)
    also check this thread for clearing cache
    How to clear Cache in SAP BW
    Regards
    Raja
    Message was edited by: Durairaj Athavan Raja

Maybe you are looking for

  • I can no longer see the account balance on my iTunes gift card.  Why?

    Where can I find the account balance from my iTunes gift card, on my macbook pro, in the iTunes store?

  • My wrt1900 is now unplugged

    i'd say it started about 2 months ago and i had to unplug and go back to the old unreliable netgear router that is slow and keeps kicking android devices off. I don't know what happened, but one day i could no longer log in to smartwifi, kept telling

  • Problems generating multiple services from the same EAR using servicegen

    I have a single EJB JAR that contains multiple stateless session beans. I want to expose each of these individually as a service. So I have defined the following in my build file: <servicegen destEar="${ear.file}" warName="${war.file.name}" contextUR

  • Synthesis client Location field

    I'm testing out the Synthesis client for SyncML on a Palm Treo with Calendar Server and it seems to be working fine for everything that I would expect, except for one thing: It doesn't appear to sync the Location field. Is this a limitation that is n

  • 468Max S3 Standby

    Can any one put this board into S3 Standby then get out of it?  I have tried but when I wake it up it turns back on and sits there looking at me, monitor and USB's do not turn on and the IDE light just stays lit?  Any ideas or does other people's wor