Unknown javascript error **** Strange error.

Hello,
I am trying to do date validation for mm/dd/yyyy format. My javascript passes for al month and day values except for 08 and 09 (both for day and month). Only for 08 and 09 when I try to do parseInt it returns 0. Its working fine for other months and days. Am clueless.
i tried writing a simple js file as below which once again throws 0 for only 08 and 09. It looks strange. Pls help...
<html>
<head>
<script language="javascript">
var num = "09"
alert(parseInt(num))
</script>
</head>
</html>

parseInt(string, radix)
The top-level function, parseInt, find the first integer in a string.
There are two arguments. The mandatory string argument is the string which is presumed to contain an integer. The optional radix argument specifies the base of the integer and can range from 2 to 36. For example, 16 is the hexidecimal base (0123456789ABCDEF).
If no radix argument is provided or if it is assigned a value of 0, the function tries to determine the base. If the string starts with a 1-9, it will be parsed as base 10. If the string starts with 0x or 0X it will be parsed as a hexidecimal number. If the string starts with a 0 it will be parsed as an octal number. (Note that just because a number starts with a zero, it does not mean that it is really octal.)
Please do the changes accrodingly.
Hope this helps.

Similar Messages

  • Unknown javascript error

    Hi All experts,
             I am having one problem in running the application.
         In my view i am having one dropdown(which is of type toolbardropdownbykey).
        intitially when the page is loaded, values are coming into the dropdown properly.
        But there is one (edit)linktourl to each taskname. if i am clicking that edit link then it is giving unknown javascript error "activeoffsetonscreen is undefined".... but data is populating properly and application is running properly after selecting the dropdown. how can i debug that error.
    if any one give their email id, then i can send u the screen shots of my error.
    plz give me the solution  or how to debug the error.

    Hello Guys,
    I have a response to a OSS note regarding this problem from SAP. Please follow note 913297. SAP says this has been fixed with latest release of SP15 and the note talks about how to apply the patch on SP15 onwards.
    I had this problem on SP14 and i dont see this problem on SP16.
    Hope this helps,
    Regards,
    Rajit Srinivas

  • JavaScript error: unknown jsval type

    Almost every time I save after making a change in
    Dreamweaver, I get this message:
    "The following translators were not loaded due to errors:
    The following JavaScript error(s) occurred:
    unknown jsval type ----- for XDR."
    Where those hyphens are in the last line are two boxes and an
    uppercase A with an umlaut (two dots) above it -- in other words,
    some strange characters.
    Does anyone know what this means? I can't reproduce the
    message now, but the new content is not appearing.
    Thanks,
    Ellen
    P.S. I posted this a while ago but no one answered and I'd
    really like to know what's causing it.

    You can try this simple fix (if Windows) -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "Ellen Finkelstein" <[email protected]>
    wrote in message
    news:edvp0d$1l4$[email protected]..
    > Almost every time I save after making a change in
    Dreamweaver, I get this
    > message:
    > "The following translators were not loaded due to
    errors:
    > The following JavaScript error(s) occurred:
    >
    > unknown jsval type ----- for XDR."
    > Where those hyphens are in the last line are two boxes
    and an uppercase A
    > with
    > an umlaut (two dots) above it -- in other words, some
    strange characters.
    >
    > Does anyone know what this means? I can't reproduce the
    message now, but
    > the
    > new content is not appearing.
    > Thanks,
    > Ellen
    > P.S. I posted this a while ago but no one answered and
    I'd really like to
    > know
    > what's causing it.
    >

  • JavaScript error "unknown fsval type" in template

    I recemtly added an image and some text to a template. The
    new stuff has some simple links, that's all. I updated all the
    files based on it and uploaded them, but they don't shown the new
    content.
    However, sometimes in Dreamweaver, I get this message:
    "The following translators were not loaded due to errors:
    The following JavaScript error(s) occurred:
    unknown jsval type ----- for XDR."
    Where those hyphens are in the last line are two boxes and an
    uppercase A with an umlaut (two dots) above it -- in other words,
    some strange characters.
    Does anyone know what this means? I can't reproduce the
    message now, but the new content is not appearing.
    Thanks,
    Ellen

    You can try this simple fix (if Windows) -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    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
    ==================
    "Ellen Finkelstein" <[email protected]>
    wrote in message
    news:edvp0d$1l4$[email protected]..
    > Almost every time I save after making a change in
    Dreamweaver, I get this
    > message:
    > "The following translators were not loaded due to
    errors:
    > The following JavaScript error(s) occurred:
    >
    > unknown jsval type ----- for XDR."
    > Where those hyphens are in the last line are two boxes
    and an uppercase A
    > with
    > an umlaut (two dots) above it -- in other words, some
    strange characters.
    >
    > Does anyone know what this means? I can't reproduce the
    message now, but
    > the
    > new content is not appearing.
    > Thanks,
    > Ellen
    > P.S. I posted this a while ago but no one answered and
    I'd really like to
    > know
    > what's causing it.
    >

  • Strange JavaScript Errors

    Hello,
    i get strange Java-Script Errors when working with VC.
    IE 7, low-security local intranet zone, already cleaned all caches, etc
    MS XML 3,4,6 installed
    Adobe SVG installed
    Clicking on the "new" icon in the Toolbar: JavaScript Error Line 131:
    http://xxx:50000/VC/servlet/Fetcher?urn=core.dev:common.NewModelDlg_Comp.htm%26ver=1201097712691
    Compose-Menu: NO entries
    Configure-Menu: Much empty space between the "General"-Header and Model-Name Entry
    Menu: Model -> New: shows Composite View ModelType only
    Toolbar: new model: shows all model types
    VC 7.0 was running just fine, but VC 7.1 is absolutely bricked....
    Anyone the same Problems??
    Thanks,
    Kai

    Hi Kai,
    I don't know if this will solve your problem but I noticed that you are using MS XML 3.4.6 and on [Visual Composer Prerequisites|http://help.sap.com/saphelp_nwce10/helpdata/en/5a/ce36945e8d4f99b1e1ade2fa27657c/frameset.htm] it is stated that the required version is MS XML 4.0 or higher.
    Regards,
    Udi

  • Access denied error when Loading document library for "contribute" users : Unknown SPRequest error occurred. More information: 0x80070005

    Hi,
    We are facing a very strange issue on a SharePoint Publishing portal. Domain users (contribute level access) have access to document libraries under specific sub sites. Every morning if they try to access the document library pages, users complain about "Access Denied" issue on document library page. But if a SP Farm admin account login on site, and browse to document library page, access denied issue seems to disappear for end users also. For whole day it works fine. But next day access denied error occurs again. I am not sure why this is happening. I have looked into Event Log and SharePoint Logs, found following information useful, but not sure what to do next.
    Please help.
    Event log Details:
    Server: WFE01
    Event Type: Error
    Event Source: Office SharePoint Server
    Event Category: Publishing
    Event ID: 5169
    Date:  17/11/2009
    Time:  07:47:31
    User:  N/A
    Computer: SPWFE01
    Description:
    Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    SP Log files:
    All logs are for process: w3wp.exe (0x031C)                        0x17F4 Windows SharePoint Services  
    ·     Begin OnLoad of XmlConsoleDataSource from file "EditingMenu".
    ·     Attempting to load XML from config file "EditingMenu".
    ·     PermissionMask check failed. asking for 0x00010000, have 0x00000000
    ·     Unknown SPRequest error occurred. More information: 0x80070005
    ·     Access Denied for /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx.
    ·     StackTrace: Microsoft.SharePoint.Utilities.SPUtility:Void HandleAccessDenied(System.Exception), Microsoft.SharePoint.SPGlobal:Void HandleUnauthorizedAccessException(System.UnauthorizedAccessException), Microsoft.SharePoint.Library.SPRequest:Void OpenWeb(System.String, System.String ByRef, System.String ByRef, System.String ByRef, System.Guid ByRef, System.String ByRef, UInt32 ByRef, System.Guid ByRef, UInt32 ByRef, UInt32 ByRef, UInt32 ByRef, UInt16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int32 ByRef, Boolean ByRef, System.String ByRef, System.String ByRef, Int32 ByRef, Int16 ByRef, ...
    ...System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.Object ByRef, Boolean ByRef, UInt64 ByRef, Boolean ByRef, Boolean ByRef, System.Guid ByRef, System.Guid ByRef, Int32 ByRef, System.DateTime ByRef, System.DateTime ByRef, System.String ByRef), Microsoft.SharePoint.SPWeb:Void InitWeb(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPSecurableObjectImpl get_SecurableObjectImpl(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPRoleAssignmentCollection get_RoleAssignments(), Microsoft.SharePoint.Publishing.WebControls.ConsoleXmlUtilities:System.String ConfigurationXml(System.String, Boolean), Microsoft.SharePoint.Publishing.W...
    ...ebControls.ConsoleXmlUtilities:Microsoft.SharePoint.Publishing.WebControls.ConsoleNode GetConsoleNodeCollectionFromXmlFile(System.String, Boolean), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void LoadTreeFromConfigXml(), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void OnLoad(System.EventArgs), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Page:Vo...
    ...id ProcessRequestMain(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(), System.Web.UI.Page:Void ProcessRequestWithNoAssert(System.Web.HttpContext), System.Web.UI.Page:Void ProcessRequest(System.Web.HttpContext), System.Web.HttpApplication+CallHandlerExecutionStep:Void System.Web.HttpApplication.IExecutionStep.Execute(), System.Web.HttpApplication:System.Exception ExecuteStep(IExecutionStep, Boolean ByRef), System.Web.HttpApplication+ApplicationStepManager:Void ResumeSteps(System.Exception), System.Web.HttpApplication:System.IAsyncResult System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object), System.Web.HttpRuntime:Void ProcessRequestInternal(System.Web.HttpWorkerReque...
    ...st), System.Web.HttpRuntime:Void ProcessRequestNoDemand(System.Web.HttpWorkerRequest), System.Web.Hosting.ISAPIRuntime:Int32 ProcessRequest(IntPtr, Int32),
    ·     Releasing SPRequest with allocation Id {E3BC24ED-F243-4DBD-8625-EE7CF9FDA039}
    ·     Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Releasing SPRequest with allocation Id {D1A87724-6FB6-4009-B6D1-D7E15918E213}
    Pryank Rohilla
    MCTS, MCAD

    Hi pryank,
    From the log, it seems that the users don’t have permission on this page:
    /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx
    Does the sub site have unique permission instead of inheriting permission from the parent site? If no, you need to make the sub site to inherit permission from the site collection so that master page also inherits the right. If this is not allowed in your organization, please go to “Site Actions”à “Site Settings” à “Master Pages and Page Layouts” to give users permissions on this document library.
    Hope this helps.
    Lu Zou

  • Aperture help not working - getting JavaScript error message

    My Aperture 3 has been having a lot of strange issues lately, most, but not all of which have been cleared up by holding down command + option while starting up and going through all three of the choices there.
    One problem that remains is the inability to open the Help files. I keep getting the following message:
    “The Help Library requires JavaScript.
    If JavaScript is not enabled, you will not
    be able to view all the content.”
    Help works in all other applications, like Pages and Final Cut Pro. I don’t get JavaScript error messages in any other applications.
    I’ve already done an erase and restore from a Time Machine backup, and an archive and install. I reinstalled Aperture, although not by using the Terminal command suggested in the kbase article # HT3805.
    If I go the Terminal command route, will I lose all my projects, albums, and editing? What about Mobile Me galleries?
    I have a guest user on the computer, and when I log on to that user and open Aperture, the Help Library works fine. So, I know the problem is in my user account somewhere, but I don’t know how to address it. Any ideas?

    Welcome to the forums.
    The fact that you have access to java in another user suggests that it is a local setting or preference.
    In the applications folder/utilities there is an application Java Preferences, try resetting this and seeing if it works.
    If not, try deleting the java preferences file in your users folder
    systemHD/Users/user/Library/Preferences/com.apple.java.JavaPreferences.plist
    relaunch the app Java Preferences which creates a new preferences file for you, then try Aperture again.
    Let us know how this goes.
    Tony

  • 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

  • JavaScript error in menus.xml

    I'm working with DW 8, and some template files created in DW
    MX2004.Has anyone experienced the following error when closing old
    template files?
    While executing DWMenu_File_Close command in menus.xml, the
    following JavaScript error(s) occurred:
    Exception thrown in native function.
    I've gotten a similar error before, but it had to do with
    imbedding library items inside template pages. But, all of those
    had been created in DW MX2004. Any ideas?

    You can find anything you want on these forums or on the
    internet. The
    question is - is it credible. This one is not.
    What extensions do you have installed?
    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
    ==================
    "safetypin" <[email protected]> wrote in
    message
    news:[email protected]...
    >I was looking around the forum a little, and I found
    someone talking about
    >how
    > it was related to the fact that there was javascript on
    the page. I opened
    > each
    > template file, removed the link to the javascript
    (nothing was embedded),
    > saved
    > it (it crashed), reopened dreamweaver and then when I
    opened the file, it
    > didn't crash anymore. So, I added the link to the
    javascript file back in
    > there, and it looks like everything is ok now. But, in
    case it happens
    > again,
    > this are the files that are giving me trouble:
    >
    >
    http://digitalevent.net/Templates/index.dwt
    >
    http://digitalevent.net/Templates/index2.dwt
    >
    http://digitalevent.net/Templates/index3.dwt
    >
    > &
    >
    >
    http://digitalevent.net/index.htm
    >
    http://digitalevent.net/index2.htm
    >
    http://digitalevent.net/index3.htm
    >
    > Those were the only three html files I tested for the
    error. The weird
    > thing
    > was, sometimes there was a noticable delay between
    closing a file and the
    > exception being thrown. Sometimes I was actually able to
    open two or three
    > files (I click pretty fast sometimes) before the
    exception would be
    > thrown. I
    > think this is why I thought I had discovered the problem
    before. I also
    > tried
    > to detaching the html files from the templates, but that
    didn't help.
    >
    > This is the second time I've run into the exception
    being thrown while
    > executing DWMenu_File_Close command in menus.xml. The
    first time, as I
    > mentioned before, it was related to Library items being
    embedded in a
    > template
    > (I think). I removed the Library item and it worked
    fine. Eventually I
    > think I
    > solved it by recreating the Library items entirely, by
    copying and pasting
    > each
    > line from a text file. Really strange, but I think the
    common element is
    > that
    > it has happened while dealing with a
    site/template/library item created in
    > DW
    > MX2004. Are there any known conflicts, or anything I can
    do to avoid this
    > in
    > the future?
    >

  • Javascript error in BEx after system database copy

    Hello,
    we made a database copy of our BW 3.1 system on another hardware. After having done everything described in the How-To-Guide "Enable SAP BW Web functionality", we called the BEx via URL. The login screen displays and also the Report menu, but there occur JavaScript errors on the page, that didn't occur in the copy master. E.g.
    "SAPBWSSgdo is null or not an object" or
    "SAPBWItemCatalog undefined".
    These errors prevent the choice menu for BW report value options to be displayed, which is quite annoying. Does anybody know where the error might come from? Are there any components required by BEx which weren't copied with the database copy?
    Thanks for your help in advance,
    Volker Hofmann

    Hi Beat,
    thanks you're helping me! The MIME-Repository objects like JS-Files, stylesheets and images can be read. The strange thing is:
    The J2EE engine is hosted by a provider. When they're calling the BEx web reports, they're displayed correctly. But when we call them (via proxy!), the error occurs. Even the application management doesn't know where the error comes from, after having checked if the proxy caches old data. The error is still not resolved...
    Do you have another idea?
    Regards,
    Volker

  • Insert Image Javascript Error

    I've had this problem since I switched from MX2004 to version
    8, and now on CS3. When I click on Insert Image I get a message
    that in Image.htm a javascript error occured. The strange thing is
    I have a second computer with CS3 installed and since re-installing
    windows have not experienced this problem on that computer. I have
    followed the instructions in:
    Technote:
    Troubleshooting JavaScript errors in Dreamweaver but this
    doesn't help.
    I am using Windows XP SP2 with Dreamweaver setup to connect
    via RDS to my Windows Server 2003 Coldfusion web server.
    If anyone has some useful insight to this very frustrating
    issue that Adobe seems to have no support information on I would be
    very grateful

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    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
    ==================
    "matstone98" <[email protected]> wrote in
    message
    news:fdt7os$67g$[email protected]..
    > I've had this problem since I switched from MX2004 to
    version 8, and now
    > on
    > CS3. When I click on Insert Image I get a message that
    in Image.htm a
    > javascript error occured. The strange thing is I have a
    second computer
    > with
    > CS3 installed and since re-installing windows have not
    experienced this
    > problem
    > on that computer. I have followed the instructions in:
    >
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19105&sliceId=2
    > but this doesn't help.
    >
    > I am using Windows XP SP2 with Dreamweaver setup to
    connect via RDS to my
    > Windows Server 2003 Coldfusion web server.
    >
    > If anyone has some useful insight to this very
    frustrating issue that
    > Adobe
    > seems to have no support information on I would be very
    grateful
    >

  • Javascript error in TLN=1

    Hi everybody, i'm working in EP SP13; i put TLN = 1 in the way the documentation says.
    Now (sometime) i get a strange javascript error during the navigation in the portal: it says "object required" on row 777.
    When i get this error i'm not able to navigate anymore in the portal, it always remains in the home page.
    The problem gets solved when i put TLN=2 again.
    What could be the cause of this behaviour?
    Thanks in advance.

    Hi Pier,
    You should change number of TLN levels in <b>two</b> places:
    1. <b>In the TLN iView</b> - the property <i>Number of Display Levels</i>.
    2. <b>In the Desktop Innerpage (inside the framework page)</b> - the property <i>Number of Display Levels in TLN</i>.
    Hope that helps,
    Yoav.

  • Javascript Error in EP7 when accessing SRM - Shop iView - SRM5.0

    Hi SDN
    We are expriencing a problem with our "Shop" iView rendered via EP7.  On a PC with the Sun JVM 1.4.2.10, when the Shop iView/Page loads, our users are havong a javascript error in their IE instance.  I've started the JVM console and got this description of the error.
    --> One funny thing, is that this error is not occuring if we are switching to the MS JVM embedded in IE...
    Have you ever had that on your side?  What can be done to fix this? We are on SRM 5.0 SP11. 
    Thanks!
    Eric L.
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.String com.sapportals.portal.epcf.DataBag.getObjectType(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObjectType: urn:com.sapportals.portal.SWF2EPCM:DataBag BbpMainDataBag class Null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.Object com.sapportals.portal.epcf.DataBag.getObject(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObject: urn:com.sapportals.portal.SWF2EPCM:DataBag BbpMainDataBag null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.String com.sapportals.portal.epcf.DataBag.getObjectType(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObjectType: urn:com.sapportals.portal.SWF2EPCM:DataBag BbpMainDataBag class Null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.Object com.sapportals.portal.epcf.DataBag.getObject(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObject: urn:com.sapportals.portal.SWF2EPCM:DataBag BbpMainDataBag null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.String com.sapportals.portal.epcf.DataBag.getObjectType(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObjectType: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0000.0001.00000000 class Null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.Object com.sapportals.portal.epcf.DataBag.getObject(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:12:30 AM INFO
         DataBag #0 getObject: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0000.0001.00000000 null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.convertParams(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    Edited by: Eric Longpré on Aug 27, 2008 9:21 AM

    I am having almost the same issue.  This is what my java console throws "load: class com.sapportals.portal.epcf.EPCMfactory not found."

  • IE Javascript Error when Creating-Posting SC - JDK/JVM issue in SSL mode?!?

    Hi SDN
    We are running on SRM 5.0, with server at 5.5 and we have just implemented SP 11. Since then, our users running IE with the Sun JVM 1.4.2_10 are getting a JavaScript error everytime an applet loads (EPCF) on their page (in this case, it is the applet within the Document & Attachments section). Moreover, our portal is being hosted on an SSL secured server within our DMZ, in conjunction with a Provencia IDS System, Blue Coat hardarware, RadWare, ...etc.
    The only way we can make that page work, is by disabling the Sun JVM (1.4.2.10) and use the MS Version of the Java Virtual Machine within IE. At that point, no issue with the applet on our SSL Secured Portal. Even funnier, is that when I'm calling directly the Portal Server (without the SSL proxy), even if i run the Sun JVM, I'm not getting the error. Since we have over 1000 users, it would be impossible to have all of them making that change... We need to make that work, especially that the IE JVM is not supported anymore.
    Have you ever experienced something like that? If yes, what have you done to fix it? Any suggestion, OSS notes
    Thanks in advance
    Eric L.

    Hi Andrea
    This is the Javascript Error I'm receiving (extracted for the JVM Console).  I thought I've found an OSS Note (1140460) but it did'nt work.
    22/08/08 10:29:30 AM INFO
         DataBag #0 getObjectType: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0002.0001.00000000 class Null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.Object com.sapportals.portal.epcf.DataBag.getObject(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:29:30 AM INFO
         DataBag #0 getObject: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0002.0001.00000000 null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.convertParams(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

  • JavaScript error with CourseBuilder

    Hi!
    I intend to use CourseBuilder for a simple test.
    I've done the CourseBuilder tutorial and everything went
    fine.
    Two weeks later I tried to implement an interaction in my
    page... and got an error message after I had clicked on the action
    manager tab:
    "Action manager data was invalid. “ The next message
    was about a JavaScript-error in onLoad (coursebuilder
    interaction.htm).
    It was not possible any more to edit the interaction in any
    site (also not in the tutorial test site...).
    I already have de-/re-installed all extension (and only try
    CourseBuilder alone), de-/re-installed dreamweaver, deleted all
    support files, build a new test site...
    I'm confused about it - but I need to deliver the test pretty
    soon.
    Maybe I did a basic mistake?
    Your help would be appreciated very much
    Kind Regards
    STH

    It's still very strange. I really have tried quiet a lot of
    options but I still can't start the action manager in
    CourseBuilder. In the last weeks I googled a lot. There are some
    mistery reports that CourseBuilder stoped to work suddenly. But
    eighter is was solved by a new installation or there was no answer.
    Finally I made it with forms and layers in dreamweaver
    directly.
    Even though you have to do more editing...
    at least you are not sitting in front of a black box without
    knowing what's going on.
    STH

Maybe you are looking for