liable
IS-IT--Management
- Sep 13, 2002
- 31
I set up web deployment on a intranet(intenal)and when I type the link the page partially shows. the graphics are there but at the top it says the below. Further down the screen it says error 404 Internet Information Service. Any ideas would be appriciated.
' file : ACCPACLogo.asp
' purpose : Generates the signon/signoff page of the web desktop
'
' Copyright (c) 2000-2001 ACCPAC International, Inc.
%>
<%
Response.Expires = -1
Response.CacheControl = "No-cache"
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title></title>
</head>
<!--#INCLUDE file="AccpacGlobals.asp" -->
<script src="AccpacUtil.js"></script>
<%
on error resume next
dim strCodebase
strCodebase = Session("aspSess".Codebase
dim strHelpURL
strHelpURL = Session("aspSess".HelpURL
dim strWebSessionMgrCodebase
strWebSessionMgrCodebase = "codebase = """ + strCodebase + "a4wWebSessionMgr.cab#version=" + Session("aspSess".SystemVersion + """"
%>
<%
Response.Write("<script>"
Response.Write("pageCodebase = '" + strCodebase + "';"
Response.Write("pageHelpURL = '" + strHelpURL + "';"
Response.Write("pageServerName = '" + Request.ServerVariables("SERVER_NAME" + "';"
Response.Write("</script>"
%>
<%
dim strLang
if Request("Lang" <> "" then
strLang = Request("Lang"
else
strLang = cstrDefaultLang
end if
Response.Write("<script src=""" + strLang + "/ClientRSC.js""></script>"
Response.Write("<script> pageLang = """ + strLang + """; </script>"
%>
<script>
if (pageBrowserSupported)
pageOriginalTitle = window.parent.document.title;
</script>
<script>
<% if bBroswerSupported then %>
function LaunchApplication(Clsid, Codebase, SignonID)
{
objSessionMgr.LaunchAccpacApp(Clsid, Codebase, pageServerName)
}
<% end if %>
<% if bBroswerSupported then %>
function OnSignon()
{
try
{
target = "signon.asp?signonid=" + objSessionMgr.SignonID;
target += "&SysObjHdl=" + objSessionMgr.CreateSysObjHdl();
target += "&Lang=" + pageLang;
window.parent.frames("frDesktop".navigate(target)
window.parent.document.title = objSessionMgr.CompanyID;
loginbar.style.display = "none"
logoutbar.style.display = ""
}
catch (e)
{
alert(pageSessionMgrErr);
}
}
<% end if %>
<% if bBroswerSupported then %>
function OnSignoff()
{
logoutbar.style.display = "none";
loginbar.style.display = ""
window.parent.frames("frDesktop".frames("frMenu".SignalSignoff();
window.parent.frames("frDesktop".navigate("signon.asp"
window.parent.document.title = pageOriginalTitle;
}
<% end if %>
<% if bBroswerSupported then %>
function Signonoff()
{
// the first try is just to test whether Session Manager object
// has been created or not
try
{
tempSignon = objSessionMgr.IsSignedOn;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
if (!objSessionMgr.IsSignedOn)
{
if (objSessionMgr.Signon())
OnSignon();
}
else
{
if (objSessionMgr.AppsCount > 0)
{
alert(pageAppActivePre + objSessionMgr.AppsCount + pageAppActivePost);
}
else
{
answer = confirm(pageQueryClose);
if (answer)
{
objSessionMgr.Signoff();
OnSignoff();
}
}
}
}
catch (e)
{
alert(pageServerConnectErr);
}
window.event.returnValue = false;
}
<% end if %>
<% if bBroswerSupported then %>
function ForceSignoff()
{
// the first try is just to test whether Session Manager object
// has been created or not
try
{
tempSignon = objSessionMgr.IsSignedOn;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
if (objSessionMgr.IsSignedOn)
{
objSessionMgr.Signoff();
}
OnSignoff();
}
catch (e) {}
}
<% end if %>
<% if bBroswerSupported then %>
function SignalSignonComplete()
{
try
{
objSessionMgr.SignalSignonComplete();
}
catch (e) {}
}
<% end if %>
function DisplayHelp()
{
objSessionMgr.ShowHelp(pageHelpURL, pageHelpFile, pageHelpContext);
}
</script>
<script for="window" event="onload">
<% if bBroswerSupported then %>
if (pageBrowserSupported)
{
try
{
objSessionMgr.ServerName = document.location.hostname;
objSessionMgr.Codebase = pageCodebase;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
objSessionMgr.FirstRunInstallationFile = "a4wossup.exe";
objSessionMgr.FirstRunInstallationPrompt = pageFirstRunPrompt;
objSessionMgr.CheckFirstRun();
}
catch (e) {}
areaSignon.href = "javascript:void(null)";
areaSignon.onclick = Signonoff;
}
else
{
alert(pageIEVersion);
}
<% else %>
alert(pageIEVersion);
<% end if %>
<% ' This is to make sure the bottom pane always navigates to the welcome page when this
' page is loaded. Relies on this if F5 is pressed on the desktop after login %>
window.parent.frames("frDesktop".navigate("signon.asp"
</script>
<body bgColor="#fff8e8" topmargin="0" leftmargin="0">
<map NAME="map1">
<area id="areaSignon" NAME="area1" COORDS="35,0,147,23" shape="RECT"></area>
</map>
<map NAME="map2">
<area id="areaHelp" NAME="area2" COORDS="18,0,118,23" shape="RECT" HREF="javascript:void(null)" onclick="DisplayHelp();return false;"></area>
</map>
<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td colspan="3" height="20"></td>
</tr>
<tr height="23">
<td width=13> </td>
<td>
<a HREF=" target="_blank">
<img src="images/accpac_logo.gif" border="0" WIDTH="140" HEIGHT="12"></a>
</td>
<td width="160">
<span id="loginbar">
<img usemap="#map1" src="images/accpac_signon.gif" border="0" WIDTH="160" HEIGHT="23">
</span>
<span id="logoutbar" style="DISPLAY: none">
<img usemap="#map1" src="images/accpac_signoff.gif" border="0" WIDTH="160" HEIGHT="23">
</span>
</td>
<td width="135" valign="baseline">
<img usemap="#map2" src="images/accpac_help.gif" border="0" WIDTH="135" HEIGHT="23">
</td>
</tr>
</table>
<object classid="clsid44555E4-2447-41C4-9B66-ED4653EC925D" id="objSessionMgr" <%Response.write(strWebSessionMgrCodebase)%> width="0" height="0" VIEWASTEXT>
<param NAME="_ExtentX" VALUE="26"><param NAME="_ExtentY" VALUE="26"></object>
</body>
</html>
' file : ACCPACLogo.asp
' purpose : Generates the signon/signoff page of the web desktop
'
' Copyright (c) 2000-2001 ACCPAC International, Inc.
%>
<%
Response.Expires = -1
Response.CacheControl = "No-cache"
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title></title>
</head>
<!--#INCLUDE file="AccpacGlobals.asp" -->
<script src="AccpacUtil.js"></script>
<%
on error resume next
dim strCodebase
strCodebase = Session("aspSess".Codebase
dim strHelpURL
strHelpURL = Session("aspSess".HelpURL
dim strWebSessionMgrCodebase
strWebSessionMgrCodebase = "codebase = """ + strCodebase + "a4wWebSessionMgr.cab#version=" + Session("aspSess".SystemVersion + """"
%>
<%
Response.Write("<script>"
Response.Write("pageCodebase = '" + strCodebase + "';"
Response.Write("pageHelpURL = '" + strHelpURL + "';"
Response.Write("pageServerName = '" + Request.ServerVariables("SERVER_NAME" + "';"
Response.Write("</script>"
%>
<%
dim strLang
if Request("Lang" <> "" then
strLang = Request("Lang"
else
strLang = cstrDefaultLang
end if
Response.Write("<script src=""" + strLang + "/ClientRSC.js""></script>"
Response.Write("<script> pageLang = """ + strLang + """; </script>"
%>
<script>
if (pageBrowserSupported)
pageOriginalTitle = window.parent.document.title;
</script>
<script>
<% if bBroswerSupported then %>
function LaunchApplication(Clsid, Codebase, SignonID)
{
objSessionMgr.LaunchAccpacApp(Clsid, Codebase, pageServerName)
}
<% end if %>
<% if bBroswerSupported then %>
function OnSignon()
{
try
{
target = "signon.asp?signonid=" + objSessionMgr.SignonID;
target += "&SysObjHdl=" + objSessionMgr.CreateSysObjHdl();
target += "&Lang=" + pageLang;
window.parent.frames("frDesktop".navigate(target)
window.parent.document.title = objSessionMgr.CompanyID;
loginbar.style.display = "none"
logoutbar.style.display = ""
}
catch (e)
{
alert(pageSessionMgrErr);
}
}
<% end if %>
<% if bBroswerSupported then %>
function OnSignoff()
{
logoutbar.style.display = "none";
loginbar.style.display = ""
window.parent.frames("frDesktop".frames("frMenu".SignalSignoff();
window.parent.frames("frDesktop".navigate("signon.asp"
window.parent.document.title = pageOriginalTitle;
}
<% end if %>
<% if bBroswerSupported then %>
function Signonoff()
{
// the first try is just to test whether Session Manager object
// has been created or not
try
{
tempSignon = objSessionMgr.IsSignedOn;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
if (!objSessionMgr.IsSignedOn)
{
if (objSessionMgr.Signon())
OnSignon();
}
else
{
if (objSessionMgr.AppsCount > 0)
{
alert(pageAppActivePre + objSessionMgr.AppsCount + pageAppActivePost);
}
else
{
answer = confirm(pageQueryClose);
if (answer)
{
objSessionMgr.Signoff();
OnSignoff();
}
}
}
}
catch (e)
{
alert(pageServerConnectErr);
}
window.event.returnValue = false;
}
<% end if %>
<% if bBroswerSupported then %>
function ForceSignoff()
{
// the first try is just to test whether Session Manager object
// has been created or not
try
{
tempSignon = objSessionMgr.IsSignedOn;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
if (objSessionMgr.IsSignedOn)
{
objSessionMgr.Signoff();
}
OnSignoff();
}
catch (e) {}
}
<% end if %>
<% if bBroswerSupported then %>
function SignalSignonComplete()
{
try
{
objSessionMgr.SignalSignonComplete();
}
catch (e) {}
}
<% end if %>
function DisplayHelp()
{
objSessionMgr.ShowHelp(pageHelpURL, pageHelpFile, pageHelpContext);
}
</script>
<script for="window" event="onload">
<% if bBroswerSupported then %>
if (pageBrowserSupported)
{
try
{
objSessionMgr.ServerName = document.location.hostname;
objSessionMgr.Codebase = pageCodebase;
}
catch (e)
{
alert(pageSessionMgrErr);
}
try
{
objSessionMgr.FirstRunInstallationFile = "a4wossup.exe";
objSessionMgr.FirstRunInstallationPrompt = pageFirstRunPrompt;
objSessionMgr.CheckFirstRun();
}
catch (e) {}
areaSignon.href = "javascript:void(null)";
areaSignon.onclick = Signonoff;
}
else
{
alert(pageIEVersion);
}
<% else %>
alert(pageIEVersion);
<% end if %>
<% ' This is to make sure the bottom pane always navigates to the welcome page when this
' page is loaded. Relies on this if F5 is pressed on the desktop after login %>
window.parent.frames("frDesktop".navigate("signon.asp"
</script>
<body bgColor="#fff8e8" topmargin="0" leftmargin="0">
<map NAME="map1">
<area id="areaSignon" NAME="area1" COORDS="35,0,147,23" shape="RECT"></area>
</map>
<map NAME="map2">
<area id="areaHelp" NAME="area2" COORDS="18,0,118,23" shape="RECT" HREF="javascript:void(null)" onclick="DisplayHelp();return false;"></area>
</map>
<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td colspan="3" height="20"></td>
</tr>
<tr height="23">
<td width=13> </td>
<td>
<a HREF=" target="_blank">
<img src="images/accpac_logo.gif" border="0" WIDTH="140" HEIGHT="12"></a>
</td>
<td width="160">
<span id="loginbar">
<img usemap="#map1" src="images/accpac_signon.gif" border="0" WIDTH="160" HEIGHT="23">
</span>
<span id="logoutbar" style="DISPLAY: none">
<img usemap="#map1" src="images/accpac_signoff.gif" border="0" WIDTH="160" HEIGHT="23">
</span>
</td>
<td width="135" valign="baseline">
<img usemap="#map2" src="images/accpac_help.gif" border="0" WIDTH="135" HEIGHT="23">
</td>
</tr>
</table>
<object classid="clsid44555E4-2447-41C4-9B66-ED4653EC925D" id="objSessionMgr" <%Response.write(strWebSessionMgrCodebase)%> width="0" height="0" VIEWASTEXT>
<param NAME="_ExtentX" VALUE="26"><param NAME="_ExtentY" VALUE="26"></object>
</body>
</html>