Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACCPAC Web Deployment page does not display properly

Status
Not open for further replies.

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 = &quot;No-cache&quot;
%>

<html>
<head>
<meta NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft Visual Studio 6.0&quot;>
<title></title>
</head>

<!--#INCLUDE file=&quot;AccpacGlobals.asp&quot; -->

<script src=&quot;AccpacUtil.js&quot;></script>

<%
on error resume next
dim strCodebase
strCodebase = Session(&quot;aspSess&quot;).Codebase

dim strHelpURL
strHelpURL = Session(&quot;aspSess&quot;).HelpURL

dim strWebSessionMgrCodebase
strWebSessionMgrCodebase = &quot;codebase = &quot;&quot;&quot; + strCodebase + &quot;a4wWebSessionMgr.cab#version=&quot; + Session(&quot;aspSess&quot;).SystemVersion + &quot;&quot;&quot;&quot;
%>

<%
Response.Write(&quot;<script>&quot;)
Response.Write(&quot;pageCodebase = '&quot; + strCodebase + &quot;';&quot;)
Response.Write(&quot;pageHelpURL = '&quot; + strHelpURL + &quot;';&quot;)
Response.Write(&quot;pageServerName = '&quot; + Request.ServerVariables(&quot;SERVER_NAME&quot;) + &quot;';&quot;)
Response.Write(&quot;</script>&quot;)
%>

<%
dim strLang
if Request(&quot;Lang&quot;) <> &quot;&quot; then
strLang = Request(&quot;Lang&quot;)
else
strLang = cstrDefaultLang
end if

Response.Write(&quot;<script src=&quot;&quot;&quot; + strLang + &quot;/ClientRSC.js&quot;&quot;></script>&quot;)
Response.Write(&quot;<script> pageLang = &quot;&quot;&quot; + strLang + &quot;&quot;&quot;; </script>&quot;)
%>

<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 = &quot;signon.asp?signonid=&quot; + objSessionMgr.SignonID;
target += &quot;&SysObjHdl=&quot; + objSessionMgr.CreateSysObjHdl();
target += &quot;&Lang=&quot; + pageLang;
window.parent.frames(&quot;frDesktop&quot;).navigate(target)

window.parent.document.title = objSessionMgr.CompanyID;
loginbar.style.display = &quot;none&quot;
logoutbar.style.display = &quot;&quot;
}
catch (e)
{
alert(pageSessionMgrErr);
}
}
<% end if %>

<% if bBroswerSupported then %>
function OnSignoff()
{

logoutbar.style.display = &quot;none&quot;;
loginbar.style.display = &quot;&quot;
window.parent.frames(&quot;frDesktop&quot;).frames(&quot;frMenu&quot;).SignalSignoff();
window.parent.frames(&quot;frDesktop&quot;).navigate(&quot;signon.asp&quot;);
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=&quot;window&quot; event=&quot;onload&quot;>
<% if bBroswerSupported then %>
if (pageBrowserSupported)
{
try
{
objSessionMgr.ServerName = document.location.hostname;
objSessionMgr.Codebase = pageCodebase;
}
catch (e)
{
alert(pageSessionMgrErr);
}

try
{
objSessionMgr.FirstRunInstallationFile = &quot;a4wossup.exe&quot;;
objSessionMgr.FirstRunInstallationPrompt = pageFirstRunPrompt;
objSessionMgr.CheckFirstRun();
}
catch (e) {}

areaSignon.href = &quot;javascript:void(null)&quot;;
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(&quot;frDesktop&quot;).navigate(&quot;signon.asp&quot;);
</script>

<body bgColor=&quot;#fff8e8&quot; topmargin=&quot;0&quot; leftmargin=&quot;0&quot;>
<map NAME=&quot;map1&quot;>
<area id=&quot;areaSignon&quot; NAME=&quot;area1&quot; COORDS=&quot;35,0,147,23&quot; shape=&quot;RECT&quot;></area>
</map>
<map NAME=&quot;map2&quot;>
<area id=&quot;areaHelp&quot; NAME=&quot;area2&quot; COORDS=&quot;18,0,118,23&quot; shape=&quot;RECT&quot; HREF=&quot;javascript:void(null)&quot; onclick=&quot;DisplayHelp();return false;&quot;></area>
</map>

<table border=&quot;0&quot; cellPadding=&quot;0&quot; cellSpacing=&quot;0&quot; height=&quot;100%&quot; width=&quot;100%&quot;>
<tr>
<td colspan=&quot;3&quot; height=&quot;20&quot;></td>
</tr>
<tr height=&quot;23&quot;>
<td width=13>&nbsp;</td>
<td>
<a HREF=&quot; target=&quot;_blank&quot;>
<img src=&quot;images/accpac_logo.gif&quot; border=&quot;0&quot; WIDTH=&quot;140&quot; HEIGHT=&quot;12&quot;></a>
</td>

<td width=&quot;160&quot;>
<span id=&quot;loginbar&quot;>
<img usemap=&quot;#map1&quot; src=&quot;images/accpac_signon.gif&quot; border=&quot;0&quot; WIDTH=&quot;160&quot; HEIGHT=&quot;23&quot;>
</span>
<span id=&quot;logoutbar&quot; style=&quot;DISPLAY: none&quot;>
<img usemap=&quot;#map1&quot; src=&quot;images/accpac_signoff.gif&quot; border=&quot;0&quot; WIDTH=&quot;160&quot; HEIGHT=&quot;23&quot;>
</span>
</td>
<td width=&quot;135&quot; valign=&quot;baseline&quot;>
<img usemap=&quot;#map2&quot; src=&quot;images/accpac_help.gif&quot; border=&quot;0&quot; WIDTH=&quot;135&quot; HEIGHT=&quot;23&quot;>
</td>
</tr>
</table>

<object classid=&quot;clsid:D44555E4-2447-41C4-9B66-ED4653EC925D&quot; id=&quot;objSessionMgr&quot; <%Response.write(strWebSessionMgrCodebase)%> width=&quot;0&quot; height=&quot;0&quot; VIEWASTEXT>
<param NAME=&quot;_ExtentX&quot; VALUE=&quot;26&quot;><param NAME=&quot;_ExtentY&quot; VALUE=&quot;26&quot;></object>

</body>
</html>
 
Hi,

Have you followed all th einstall steps.

first install and set-up IIS, or if on a 9X pc you can use PWS. Then make sure you have the crystal enterprise installed and configured. Re-run the web deployment and make sure you have the latest service pack for system manager installed.

Regards

e
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top