PDA

View Full Version : Terminal server



smale
08-03-2003, 10:39 AM
In the first half of last year our school terminal server was set up and i had no problems entering. When I tried again towards the end I could not get in, this state continues. I have since reinstalled windows XP, have started with anti-virus off, have tried netscape all to no effect. Do you have any ideas.

Thanks garry smale

Here is the script which cause the error

******
<html>
<head>
<title> Terminal Services Connection to (ip address here)</title>
</head>

<body>

<script language="vbscript" >
<!--
const FullScreenWarnTxt1 = "Your current security settings do not allow automatically switching to fullscreen mode."
const FullScreenWarnTxt2 = "You can use ctrl-alt-pause to toggle your terminal services session to fullscreen mode"
const FullScreenTitleTxt = "Terminal Services Connection "
Const ErrMsgText = "Error connecting to terminal server: "

sub window_onLoad()
If not " ip address witheld" = "" then
srvName = " ip address witheld"
else
srvName = Document.location.hostname
end if
MsTsc.Server = srvName ********Error line
Document.all.srvNameField.innerHtml = srvName
MsTsc.Domain = ""
MsTsc.UserName = ""
if "" = "1" then
if MsTsc.SecuredSettingsEnabled then
MsTsc.SecuredSettings.FullScreen = "" = "1"
else
msgbox (FullScreenWarnTxt1 & vbCrLf & FullScreenWarnTxt2 )
end if
end if

MsTsc.FullScreenTitle = FullScreenTitleTxt & "(" & " ip address witheld" & ")"
MsTsc.Connect()
end sub
-->
</script>
<center>
<table>
<tr>
<OBJECT language="vbscript" ID="MsTsc"
CLASSID="CLSID:1fb464c8-09bb-4017-a2f5-eb742f04392f"
CODEBASE="mstscax.cab#version=5,0,2221,1"
WIDTH=800
HEIGHT=600>
</OBJECT>
</tr>
<tr>


<font size="1" color="#000000" face="Verdana, Arial, Helvetica">
You are logged in to <span id="srvNameField"></span></font>

</tr>

<script language="VBScript">
<!--
sub MsTsc_OnDisconnected(disconnectCode)
if not disconnectCode = 2 then
msgbox ErrMsgText & MsTsc.Server
end if
'redirect back to login page
Window.Navigate("default.htm")
end sub
-->
</script>
</table>
</center>
</body>
</html>
*********

Internet explorer reports

Line: 21
Char: 7
Error: Object doesn't support this property or method: 'MsTsc.server'
Code: 0
url: http://ip address witheld/connect.asp?
Server=ip address witheld&rW=800&rH=600&

[Edited by: admin on Mar 10, 2003 2:43 PM]

[Edited by: admin on Mar 10, 2003 2:45 PM]

nzStan
08-03-2003, 06:42 PM
From MS Knowledgebase

"You may receive a script error message or a blank page when you try to connect to a Terminal Services computer from a Web page after you install Windows XP Service Pack 1 (SP1), Internet Explorer 6 SP1, or the security patch discussed in the following Microsoft Knowledge Base article: "

See full article at http://support.microsoft.com/default.aspx?scid=kb;en-us;q328002