Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Cisco SDM don't working Internet explorer 8

Hi:

I'been trying to run the cisco SDM application, but when you enter the username and password in the second window show up this :  I tried with diferent versions of java jre from 1.4.2 to the latest.

<!---
 *
 * runAPP.shtml
 *
 * Copyright (c) 2004 by Cisco Systems, Inc. All rights reserved.
 *
 *-->
<HTML>
<HEAD>
<script language="javascript" src="common.js"></script>
<script language="javascript" src="appsupport.js"></script>
<script language="javascript" src="localized_msgs6.js"></script>
<script language="javascript">
function getcookie(cookiename) {
  var cookiestring=""+document.cookie;
  var index1=cookiestring.indexOf(cookiename)
  if (index1==-1 || cookiename=="") {
    return "";
  }
  var index2=cookiestring.indexOf(';',index1);
  if (index2==-1) index2=cookiestring.length;
  var c = unescape(cookiestring.substring(index1+cookiename.length+1,index2));
  return c;
} // getcookie()
function cookieLifeTime() {
  var UTCstring;
  Today = new Date();
  nomilli=Date.parse(Today);
  Today.setTime(nomilli+365*24*60*60*1000);
  UTCstring = Today.toUTCString();
  return UTCstring;
} // cookieLifeTime()
function setcookie(name, value) {
  cookiestring=name+"="+value+";EXPIRES="+cookieLifeTime()+";path=/";
  document.cookie=cookiestring;
  return getcookie(name);
} // setcookie()
function docRoot() {
    var args = location.search;
    if (args && args.indexOf("SDMONPC=") != -1) {
        var curLoc = location.protocol + "//" + location.host + location.pathname;
        var i = curLoc.lastIndexOf('/');
        var j = curLoc.lastIndexOf('\\');
        if ((i == -1) || (i < j)) i = j;
        var curBase = unescape(curLoc.substring(0, i));
        i = curBase.lastIndexOf('/');
        j = curBase.lastIndexOf('\\');
        if ((i == -1) || (i < j)) i = j;
        var curBase = curBase.substring(0, i);
        i = curBase.lastIndexOf('/');
        j = curBase.lastIndexOf('\\');
        if ((i == -1) || (i < j)) i = j;
        curBase = curBase.substring(0, i + 1);
        return curBase;
    }
    return "/archive/";
}
function getArg(searchArgs, arg) {
  var i = searchArgs.indexOf(arg);
  if (i == -1) return ""; // error
  var j = searchArgs.indexOf("&", i + arg.length);
  if (j == -1) return searchArgs.substring(i + arg.length);
  return searchArgs.substring(i + arg.length, j);
}
var APP = getArg(location.search, "APP=");
var app = APP.toLowerCase();
var VNAME = getArg(location.search, "VN=");
if (VNAME == "") {
    VNAME = APP.toUpperCase();
} else {
    VNAME = VNAME.replace(/_/g, " ");
}
var GIF = getArg(location.search, "GIF=");
if (GIF == "") GIF = APP; // use default
var APPLET = getArg(location.search, "APPLET=");
var appFs = getArg(location.search, app + "FS=");
// handle case where only common.tar was missing on router
var commonFs = getArg(location.search, "commonFS=");
if (commonFs == "") appFs = "";
if (APPLET == "") APPLET = APP; // use default
document.writeln("<TITLE>" + VNAME +" " +msg_launch_title + "</TITLE>");
</script>
<META name="copyright"  content="Copyright (c) 2002 - 2003 Cisco Systems Inc.">
<META name="copyright2" content="All rights reserved">
</HEAD>
<BODY BGCOLOR="#D9E5E5">
<script language="javascript">
function closeApp() {
    window.name = "";
    setClose();
}
function displayNewWindow(url, winTitle) {
    var newWin = window.open(url, winTitle);
    newWin.focus();
}
// called by Java when it is done initializing
function clearLoadingMessage() {
    // clear out loading image
    document.images["loading"].src = "blank.gif";
    loadingComplete = true;
}
function resetApp(ipAddress, wirelessEnabled) {
    // launched from es.html, the super-spiffy Express Setup start page from Byju
    window.opener.resetIp(ipAddress, wirelessEnabled);
}
function setClose() {
    setTimeout(close, 500);
    window.location.replace("blank.html"); // force page unload to commit suicide
}
</script>
<script language="javascript">
var counter = 0;
function delayLaunch() {
    if ((counter < 50) && (getcookie("TOP_RELOADED") == "0")) {
        counter = counter + 1;
        setTimeout(delayLaunch, 200);
        return;
    }
    var args = location.search;
    var i = args.indexOf("SYNC=1");
    if (i != -1) {
        args = args.substring(0, i) + args.substring(i + 6, args.length);
    }
    var url = location.protocol + "//" + location.host + location.pathname + args;
    location.replace(url);
}
function displayGraphics() {
document.writeln('<center><img src="' + docRoot() + appFs + app + "/" + app + "/" + GIF + '_splash.jpg" name="appTitle" width="438" height="328" align="center" border="0"></center>');
document.writeln('<br />');
document.writeln('<center><img src="' + docRoot() + appFs + app + '/' + app + '/loading.gif" width="397" height="18" name="loading"></center>');
}
</script>
<SCRIPT language="JavaScript">
var port = '';
function displayPrefix() {
document.writeln('<CENTER>');
document.writeln('<FONT FACE="Arial,Helvetica">');
}
function displayApplet() {
if (window.location.port != ''){
    if ((window.location.protocol == 'http:'  && window.location.port != 80)
     || (window.location.protocol == 'https:' && window.location.port != 443))
    {
        port = ':'+window.location.port;
    }
}
document.title += ' ('+getHost()+')';

var ff = (navigator.userAgent.indexOf("Firefox") >= 0);
var nc = (navigator.userAgent.indexOf("Netscape") >= 0);
var ie = (document.all)?1:0;
var isWindows = (navigator.appVersion.toLowerCase().indexOf("windows")>-1)

// browser version detection
var unsuppIE = msg_unsupported_ie;
var unsuppNC = msg_unsupported_ns;
var unsuppFF = msg_unsupported_ff;
var unsupportedMsg = msg_unsupported_unk;
if (navigator.appVersion && navigator.userAgent.toLowerCase().indexOf("opera") < 1){
    if (ie){
        var p = navigator.appVersion.toLowerCase().indexOf("msie ")
        if (p > 0){
            var m = navigator.appVersion.substr(p).match(/(\d+)\.(\d+)/)
            if (m != null){
                var maj = m[1]
                if (maj < 5 || (maj == 5 && m[2] < 5)){
                    unsupportedMsg = unsuppIE
                }else{
                    unsupportedMsg = null
                }
            }
        }
    }else if (nc){
        var vwArr;
        if (navigator.userAgent.indexOf("Netscape/") >= 0) {
            // override old logic to accommodate Netscape 7 vagaries
            var n = navigator.userAgent.indexOf("Netscape/");
            var len = navigator.userAgent.length;
            var verStr = navigator.userAgent.substring(n + 9, len);
            vwArr = verStr.split(" ")
        } else {
            vwArr = navigator.appVersion.split(" ");
        }
        if (vwArr && vwArr.length > 0){
            m = vwArr[0].match(/(\d+)\.(\d+)/)
            if (m != null){
                var maj = m[1]
                if (maj < 7 || (maj == 7 && m[2] < 1)){
                    unsupportedMsg = unsuppNC
                }else{
                    unsupportedMsg = null
                }
            }
        }
    }else if (ff){
        var vwArr;
        var n = navigator.userAgent.indexOf("Firefox/");
        var len = navigator.userAgent.length;
        var verStr = navigator.userAgent.substring(n + 8, len);
        vwArr = verStr.split(" ");
        if (vwArr && vwArr.length > 0){
            m = vwArr[0].match(/(\d+)\.(\d+)(\.(\d+))?/);
            if (m != null) {
                if (m.length < 5) {
                    if (m[2] < 1) {
                        unsupportedMsg = unsuppFF
                    } else {
                        unsupportedMsg = null
                    }
                } else {
                    if (m[4] < 2) {
                        unsupportedMsg = unsuppFF
                    } else {
                        // if Windows 98, also not supported
                        if (navigator.platform.indexOf("Win32") >= 0) {
                            unsupportedMsg = null
                        }
                    }
                }
            }
        }
    }else{
        if (navigator.userAgent.toLowerCase().indexOf("netscape") > 0){
            unsupportedMsg = unsuppNC
        }
    }
}

var params = ""
var args = unescape(location.search);
if (args && args.length > 1){
    var pairs = args.substr(1).split("&")
    for (i=0; i<pairs.length; i++){
        var nv = pairs[i]
        var nvArr = nv.split("=")

        params += "<PARAM NAME='"+nvArr[0]+"' VALUE='"
        if (nvArr.length > 1) params += nvArr[1]
        params += "'>\n"
    }
}
var dynarchives = '"' + docRoot() + appFs + app + '/' + app + '/' + app + '.sgz,common.sgz"'
var dynapplet   = '"' + APPLET + 'Applet"'
var cacheDir    = '"${user.home}/sgzcache/' + app + '"'
var errorUrl    = '"error.html?APP=' + APP + '"'
if (ie){
    var atag = '<APPLET CODE="com.cisco.nm.util.sgz.Loader" WIDTH="0" HEIGHT="0" ARCHIVE="jploader.jar" MAYSCRIPT>\n'
             + '<PARAM NAME="cabbase"     VALUE="ieloader.cab"'+'>\n'
             + '<PARAM NAME="dynarchives" VALUE='+dynarchives  +'>\n'
             + '<PARAM NAME="dynapplet"   VALUE='+dynapplet    +'>\n'
             + '<PARAM NAME="cacheDir"    VALUE='+cacheDir     +'>\n'
             + '<PARAM NAME="errorUrl"    VALUE='+errorUrl     +'>\n'
             + params
             + '</APPLET>\n'
} else if (nc){
    var atag = '<APPLET CODE="com.cisco.nm.util.sgz.Loader" WIDTH="0" HEIGHT="0" ARCHIVE="jploader.jar" MAYSCRIPT>\n'
             + '<PARAM NAME="dynarchives" VALUE='+dynarchives+'>\n'
             + '<PARAM NAME="dynapplet"   VALUE='+dynapplet  +'>\n'
             + '<PARAM NAME="cacheDir"    VALUE='+cacheDir   +'>\n'
             + '<PARAM NAME="errorUrl"    VALUE='+errorUrl   +'>\n'
             + params
             + '</APPLET>'
} else {
    var atag = '<APPLET CODE="com.cisco.nm.util.sgz.Loader" WIDTH="0" HEIGHT="0" ARCHIVE="jploader.jar" MAYSCRIPT>\n'
             + '<PARAM NAME="dynarchives" VALUE='+dynarchives+'>\n'
             + '<PARAM NAME="dynapplet"   VALUE='+dynapplet  +'>\n'
             + '<PARAM NAME="cacheDir"    VALUE='+cacheDir   +'>\n'
             + '<PARAM NAME="errorUrl"    VALUE='+errorUrl   +'>\n'
             + params
             + '</APPLET>'
}
//alert('using applet:' + atag + ', URL args:' + location.search);
//document.write( '<BR><BR>' + VNAME + ' ' + msg_app_info1 + ' <B>'+getHost()+'</B>'
//              + atag
//              + msg_app_info2 + '<BR>'
//              + msg_app_info3 + '<BR>'
//              + msg_app_info4 + ' ' + VNAME + '.'
//              )
var replacableArray = new Array(VNAME, getHost(), VNAME);
var msgFormattedString = replacedString(msg_App_Information, replacableArray);
document.write(msgFormattedString+ atag);

function replacedString(strToReplace, replacableStrArray) {
     var paramSearch ;
     for(var i = 0; i < replacableStrArray.length; i++) {
     paramSearch = "{"+i+"}";
     strToReplace = strToReplace.replace(paramSearch, replacableStrArray[i]);
     }
return strToReplace;
}

if (unsupportedMsg){
    if (location.search.indexOf("CHECKBROWSER") > 0) alert(unsupportedMsg+"\n" + msg_continue_warning1 + " " + VNAME + " " + msg_continue_warning2 + ".")
}
}
function getHost() {
    var args = unescape(location.search);
    var i = args.indexOf("proxyCodeBase=");
    if (i == -1) {
        return window.location.hostname + port;
    }
    i = args.indexOf("//", i);
    var j = args.indexOf("/", i + 2);
    return args.substring(i + 2, j);
}
</SCRIPT>
<script language="javascript">
function startApp(windowname, filename, tarname, baseurl) {
    var fs = getAppPath(tarname);
    if (fs == "") return false;
    var appWindow = window.open(baseurl + "/archive/" + fs + tarname + "/" + filename,
        windowname, calcWindowDims(640,560)+",toolbar=no,resizable=no,scrollbars=no,status=yes");
    return true;
}

function getAppPath(appName){
     var strArgs = (location.search).toUpperCase();
     var strStart = (appName + "FS").toUpperCase();
     var strBreakUp = strArgs.substring(strArgs.indexOf(strStart)); //ipsFS=flash:&commonFS=flash:&APP=sdm&GIF=rsdm&APPLET=XDM
     var path = strBreakUp.substring(strBreakUp.indexOf("=") + 1, strBreakUp.indexOf("&")); //will return with colon e.g flash:
     return path.toLowerCase();
}

function startAppIPSPC(windowname,baseurl) {
    // var fs = discoverFsName(tarname + ".tar");
    //if (fs == "") return false;
    var appWindow = window.open(baseurl,windowname, calcWindowDims(640,560)+",toolbar=no,resizable=no,scrollbars=no,status=yes");
    return true;
}

function calcWindowDims(w, h) {
    var x = (screen.width - w)/2;
    var y = (screen.height - h)/2;
    return "width="+w+",height="+h+",top="+y+",left="+x;
}
function displaySuffix() {
document.writeln('</FONT>');
document.writeln('</CENTER>');
}
function displayDocument() {
    displayPrefix();
    displayGraphics();
    displayApplet();
    displaySuffix();
    document.bgColor = "#D9E5E5";
}
if (getArg(location.search, "SYNC=") != "1") {
    displayDocument();
} else {
    setTimeout(delayLaunch, 200);
}
</script>
</BODY>
</HTML>
1 ACCEPTED SOLUTION

Accepted Solutions
Community Member

Re: Cisco SDM don't working Internet explorer 8

Please make sure you have 'allow active content to run in files on my computer' checked in IE.

Path Tools>>>Internet Options>>>Advanced>>>Security>>>

2 REPLIES
Community Member

Re: Cisco SDM don't working Internet explorer 8

Please make sure you have 'allow active content to run in files on my computer' checked in IE.

Path Tools>>>Internet Options>>>Advanced>>>Security>>>

Community Member

Re: Cisco SDM don't working Internet explorer 8

a lot of thanks, i just installed the latest version of java JRE and works like a charm, after i setup the IE settings.

thanks..

5978
Views
5
Helpful
2
Replies
CreatePlease to create content