Problem with Web based client

G

Guest

My remote desktop connection works fine when I connect with a Remote Desktop client. However when I connect with a web based connection I get the following error -- this happened out of the blue after successful use for over 2 years.
Any ideas??? ...

error as follows:

timed out. Please try connecting to the remote computer again." const L_DisconnectIdleTimeout_ErrorMessage = "The remote session was ended because the idle timeout limit was reached. This limit is set by the server administrator or by network policies." const L_DisconnectLogonTimeout_ErrorMessage ="The remote session ended because the total logon time limit was reached. This limit is set by the server administrator or by network policies." const L_ProtocolErrWITHCODE_ErrorMessage = "Client disconnected due to internal protocol error: " const L_LicensingTimeout_ErrorMessage = "A licensing error occurred while the client was attempting to connect (Licensing timed out).Please try connecting to the remote computer again." const L_LicensingNegotFailed_ErrorMessage = "The remote computer disconnected the session because of an error in the licensing protocol.Please try connecting to the remote computer again or contact your server administrator." const L_DisconnectRemoteByServerTool_ErrorMessage = "The remote session to the remote computer was ended by means of an administration tool.Your administrator might have ended your connection." const L_LogoffRemoteByServer_ErrorMessage = "The remote session was disconnected because your session was logged off at the remote computer.Your administrator or another user might have ended your connection." const L_DisconnectByOtherConnection_ErrorMessage = "The remote session was disconnected because another user has connected to the session." const L_ConnectionBroken_ErrorMessage = "The connection to the remote computer was broken. This may have been caused by a network error.Please try connecting to the remote computer again." const L_ServerOutOfMemory_ErrorMessage = "The connection was disconnected because the remote computer is low on memory." const L_LicenseInternal_ErrorMessage = "The remote session was disconnected because there was an internal error in the remote computer's licensing protocol." const L_NoLicenseServer_ErrorMessage = "The remote session was disconnected because there are no Terminal Server License Servers available to provide a license.Please contact the server administrator." const L_NoLicense_ErrorMessage = "The remote session was disconnected because there are no Terminal Server client access licenses available for this computer.Please contact the server administrator." const L_LicenseBadClientMsg_ErrorMessage = "The remote session was disconnected because the remote computer received an invalid licensing message from this computer." const L_LicenseHwidDoesntMatch_ErrorMessage = "The remote session was disconnected because the Terminal Server client access license stored on this computer has been modified." const L_BadClientLicense_ErrorMessage = "The remote session was disconnected because the Terminal Server client access license stored on this computer is in an invalid format." const L_LicenseCantFinishProtocol_ErrorMessage = "The remote session was disconnected because there were network problems during the licensing protocol.Please try connecting to the remote computer again." const L_LicenseClientEndedProtocol_ErrorMessage = "The remote session was disconnected because the client prematurely ended the licensing protocol." const L_LicenseBadClientEncryption_ErrorMessage = "The remote session was disconnected because a licensing message was incorrectly encrypted." const L_CantUpgradeLicense_ErrorMessage = "The remote session was disconnected because the local computer's client access license could not be upgraded or renewed.Please contact the server administrator." const L_LicenseNoRemoteConnections_ErrorMessage = "The remote session was disconnected because the remote computer is not licensed to accept remote connections.Please contact the server administrator." const L_DecompressionFailed_ErrorMessage = "The remote session was disconnected because of a decompression failure at the client side. Please try connecting to the remote computer again." const L_ServerDeniedConnection_ErrorMessage ="The client could not establish a connection to the remote computer.The most likely causes for this error are:1) Remote connections might not be enabled at the remote computer.2) The maximum number of connections was exceeded at the remote computer.3) A network error occurred while establishing the connection." sub window_onload() if not LCase(Navigator.CpuClass) = "x86" then msgbox L_PlatformCheck_ErrorMessage end if if not autoConnect() then Document.all.editServer.Focus end if end sub function autoConnect() Dim sServer Dim iFS, iAutoConnect sServer = getQS ("Server") iAutoConnect = getQS ("AutoConnect") iFS = getQS ("FS") if NOT IsNumeric ( iFS ) then iFS = 0 else iFS = CInt ( iFS ) end if if iAutoConnect <> 1 then autoConnect = false exit function else if iFS < 0 or iFS >= Document.all.comboResolution.options.length then iFS = 0 end if if IsNull ( sServer ) or sServer = "" then sServer = window.location.hostname end if Document.all.comboResolution.selectedIndex = iFS Document.all.Server.value = sServer btnConnect () autoConnect = true end if end function function getQS ( sKey ) Dim iKeyPos, iDelimPos, iEndPos Dim sURL, sRetVal iKeyPos = iDelimPos = iEndPos = 0 sURL = window.location.href if sKey = "" Or Len(sKey) < 1 then getQS = "" exit function end if iKeyPos = InStr ( 1, sURL, sKey ) if iKeyPos = 0 then sRetVal = "" exit function end if iDelimPos = InStr ( iKeyPos, sURL, "=" ) iEndPos = InStr ( iDelimPos, sURL, "&" ) if iEndPos = 0 then sRetVal = Mid ( sURL, iDelimPos + 1 ) else sRetVal = Mid ( sURL, iDelimPos + 1, iEndPos - iDelimPos - 1 ) end if getQS = sRetVal end function sub checkClick if Document.all.Check1.Checked then Document.all.tableLogonInfo.style.display = "" Document.all.editUserName.Disabled = false Document.all.editDomain.Disabled = false else Document.all.tableLogonInfo.style.display = "none" Document.all.editUserName.Disabled = true Document.all.editDomain.Disabled = true end if end sub sub OnControlLoad set Control = Document.getElementById("MsRdpClient") if Not Control is Nothing then if Control.readyState = 4 then Document.all.connectButton.disabled = FALSE end if end if end sub sub BtnConnect Dim serverName 'server if not Document.all.Server.value = "" then serverName = Document.all.Server.value else serverName = Document.location.hostname end if serverName = trim(serverName) MsRdpClient.server = serverName 'serverName name text Document.all.srvNameField.innerHtml = serverName 'Username/Domain if Document.all.CheckBoxAutoLogon.checked then MsRdpClient.UserName = Document.all.UserName.Value MsRdpClient.Domain = Document.all.Domain.Value end if 'Resolution MsRdpClient.FullScreen = FALSE select case document.all.comboResolution.value case "1" MsRdpClient.FullScreen = TRUE resWidth = screen.width resHeight = screen.height case "2" resWidth = "640" resHeight = "480" case "3" resWidth = "800" resHeight = "600" case "4" resWidth = "1024" resHeight = "768" case "5" resWidth = "1280" resHeight = "1024" case "6" resWidth = "1600" resHeight = "1200" end select MsRdpClient.DesktopWidth = resWidth MsRdpClient.DesktopHeight = resHeight MsRdpClient.Width = resWidth MsRdpClient.Height = resHeight 'Device redirection options MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE MsRdpClient.AdvancedSettings2.RedirectPorts = FALSE MsRdpClient.AdvancedSettings2.RedirectSmartCards = FALSE 'FullScreen title MsRdpClient.FullScreenTitle = L_FullScreenTitle_Text & "(" & serverName & ")" 'Display connect region Document.all.loginArea.style.display = "none" Document.all.connectArea.style.display = "block" 'Connect MsRdpClient.Connect end sub -->


Remote Desktop Web Connection



Type the name of the remote computer you want to use, select the screen size for your connection, and then click Connect.

When the connection page opens, you can add it to your Favorites for easy connection to the same computer.


Server:


Size:
Full-screen 640 by 480 800 by 600 1024 by 768 1280 by 1024 1600 by 1200
Send logon information for this connection
 
J

Jim Hubbard

Seems like you are having problems accessing the web server on the PC you
are connecting to. Can you access any web pages on the machine you are
trying to control?

Jim Hubbard
Hubbard Software


jcrompton said:
My remote desktop connection works fine when I connect with a Remote
Desktop client. However when I connect with a web based connection I get the
following error -- this happened out of the blue after successful use for
over 2 years.
Any ideas??? ...

error as follows:

timed out. Please try connecting to the remote computer again." const
L_DisconnectIdleTimeout_ErrorMessage = "The remote session was ended because
the idle timeout limit was reached. This limit is set by the server
administrator or by network policies." const
L_DisconnectLogonTimeout_ErrorMessage ="The remote session ended because the
total logon time limit was reached. This limit is set by the server
administrator or by network policies." const
L_ProtocolErrWITHCODE_ErrorMessage = "Client disconnected due to internal
protocol error: " const L_LicensingTimeout_ErrorMessage = "A licensing error
occurred while the client was attempting to connect (Licensing timed
out).Please try connecting to the remote computer again." const
L_LicensingNegotFailed_ErrorMessage = "The remote computer disconnected the
session because of an error in the licensing protocol.Please try connecting
to the remote computer again or contact your server administrator." const
L_DisconnectRemoteByServerTool_ErrorMessage = "The remote session to the
remote computer was ended by means of an administration tool.Your
administrator might have ended your connection." const
L_LogoffRemoteByServer_ErrorMessage = "The remote session was disconnected
because your session was logged off at the remote computer.Your
administrator or another user might have ended your connection." const
L_DisconnectByOtherConnection_ErrorMessage = "The remote session was
disconnected because another user has connected to the session." const
L_ConnectionBroken_ErrorMessage = "The connection to the remote computer was
broken. This may have been caused by a network error.Please try connecting
to the remote computer again." const L_ServerOutOfMemory_ErrorMessage = "The
connection was disconnected because the remote computer is low on memory."
const L_LicenseInternal_ErrorMessage = "The remote session was disconnected
because there was an internal error in the remote computer's licensing
protocol." const L_NoLicenseServer_ErrorMessage = "The remote session was
disconnected because there are no Terminal Server License Servers available
to provide a license.Please contact the server administrator." const
L_NoLicense_ErrorMessage = "The remote session was disconnected because
there are no Terminal Server client access licenses available for this
computer.Please contact the server administrator." const
L_LicenseBadClientMsg_ErrorMessage = "The remote session was disconnected
because the remote computer received an invalid licensing message from this
computer." const L_LicenseHwidDoesntMatch_ErrorMessage = "The remote session
was disconnected because the Terminal Server client access license stored on
this computer has been modified." const L_BadClientLicense_ErrorMessage =
"The remote session was disconnected because the Terminal Server client
access license stored on this computer is in an invalid format." const
L_LicenseCantFinishProtocol_ErrorMessage = "The remote session was
disconnected because there were network problems during the licensing
protocol.Please try connecting to the remote computer again." const
L_LicenseClientEndedProtocol_ErrorMessage = "The remote session was
disconnected because the client prematurely ended the licensing protocol."
const L_LicenseBadClientEncryption_ErrorMessage = "The remote session was
disconnected because a licensing message was incorrectly encrypted." const
L_CantUpgradeLicense_ErrorMessage = "The remote session was disconnected
because the local computer's client access license could not be upgraded or
renewed.Please contact the server administrator." const
L_LicenseNoRemoteConnections_ErrorMessage = "The remote session was
disconnected because the remote computer is not licensed to accept remote
connections.Please contact the server administrator." const
L_DecompressionFailed_ErrorMessage = "The remote session was disconnected
because of a decompression failure at the client side. Please try connecting
to the remote computer again." const L_ServerDeniedConnection_ErrorMessage
="The client could not establish a connection to the remote computer.The
most likely causes for this error are:1) Remote connections might not be
enabled at the remote computer.2) The maximum number of connections was
exceeded at the remote computer.3) A network error occurred while
establishing the connection." sub window_onload() if not
LCase(Navigator.CpuClass) = "x86" then msgbox L_PlatformCheck_ErrorMessage
end if if not autoConnect() then Document.all.editServer.Focus end if end
sub function autoConnect() Dim sServer Dim iFS, iAutoConnect sServer = getQS
("Server") iAutoConnect = getQS ("AutoConnect") iFS = getQS ("FS") if NOT
IsNumeric ( iFS ) then iFS = 0 else iFS = CInt ( iFS ) end if if
iAutoConnect <> 1 then autoConnect = false exit function else if iFS < 0 or
iFS >= Document.all.comboResolution.options.length then iFS = 0 end if if
IsNull ( sServer ) or sServer = "" then sServer = window.location.hostname
end if Document.all.comboResolution.selectedIndex = iFS
Document.all.Server.value = sServer btnConnect () autoConnect = true end if
end function function getQS ( sKey ) Dim iKeyPos, iDelimPos, iEndPos Dim
sURL, sRetVal iKeyPos = iDelimPos = iEndPos = 0 sURL = window.location.href
if sKey = "" Or Len(sKey) < 1 then getQS = "" exit function end if iKeyPos =
InStr ( 1, sURL, sKey ) if iKeyPos = 0 then sRetVal = "" exit function end
if iDelimPos = InStr ( iKeyPos, sURL, "=" ) iEndPos = InStr ( iDelimPos,
sURL, "&" ) if iEndPos = 0 then sRetVal = Mid ( sURL, iDelimPos + 1 ) else
sRetVal = Mid ( sURL, iDelimPos + 1, iEndPos - iDelimPos - 1 ) end if getQS
= sRetVal end function sub checkClick if Document.all.Check1.Checked then
Document.all.tableLogonInfo.style.display = ""
Document.all.editUserName.Disabled = false Document.all.editDomain.Disabled
= false else Document.all.tableLogonInfo.style.display = "none"
Document.all.editUserName.Disabled = true Document.all.editDomain.Disabled =
true end if end sub sub OnControlLoad set Control =
Document.getElementById("MsRdpClient") if Not Control is Nothing then if
Control.readyState = 4 then Document.all.connectButton.disabled = FALSE end
if end if end sub sub BtnConnect Dim serverName 'server if not
Document.all.Server.value = "" then serverName = Document.all.Server.value
else serverName = Document.location.hostname end if serverName =
trim(serverName) MsRdpClient.server = serverName 'serverName name text
Document.all.srvNameField.innerHtml = serverName 'Username/Domain if
Document.all.CheckBoxAutoLogon.checked then MsRdpClient.UserName =
Document.all.UserName.Value MsRdpClient.Domain = Document.all.Domain.Value
end if 'Resolution MsRdpClient.FullScreen = FALSE select case
document.all.comboResolution.value case "1" MsRdpClient.FullScreen = TRUE
resWidth = screen.width resHeight = screen.height case "2" resWidth = "640"
resHeight = "480" case "3" resWidth = "800" resHeight = "600" case "4"
resWidth = "1024" resHeight = "768" case "5" resWidth = "1280" resHeight =
"1024" case "6" resWidth = "1600" resHeight = "1200" end select
MsRdpClient.DesktopWidth = resWidth MsRdpClient.DesktopHeight = resHeight
MsRdpClient.Width = resWidth MsRdpClient.Height = resHeight 'Device
redirection options MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE
MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE
MsRdpClient.AdvancedSettings2.RedirectPorts = FALSE
MsRdpClient.AdvancedSettings2.RedirectSmartCards = FALSE 'FullScreen title
MsRdpClient.FullScreenTitle = L_FullScreenTitle_Text & "(" & serverName &
")" 'Display connect region Document.all.loginArea.style.display = "none"
Document.all.connectArea.style.display = "block" 'Connect
MsRdpClient.Connect end sub -->
Remote Desktop Web Connection



Type the name of the remote computer you want to use, select the screen
size for your connection, and then click Connect.
When the connection page opens, you can add it to your Favorites for easy
connection to the same computer.
 
G

Guest

Yes I can - everything on the server (one being accessed) and the client works normally otherwise. I can even access the "server" machine fine if I use a client application to access it. It only happens when I try to go through the web i.e., http://<ip address>/tsweb to try to access the other machine. I need to do this because sometime when I travel I have to use computers that don;t have the remote desktop application installed.
 
J

Jeffrey Randow (MVP)

I have addressed this issue the past few days.. What resolution have
you gotten? Check back to your past postings..

Jeffrey Randow (Windows Networking & Smart Display MVP)
(e-mail address removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
 
J

Jim Hubbard

Have you tried a re-install of tsweb stuff?


jcrompton said:
Yes I can - everything on the server (one being accessed) and the client
works normally otherwise. I can even access the "server" machine fine if I
use a client application to access it. It only happens when I try to go
through the web i.e., http://<ip address>/tsweb to try to access the other
machine. I need to do this because sometime when I travel I have to use
computers that don;t have the remote desktop application installed.
 
G

Guest

I sure did -- I even tried making sure that I had manually deleted any remaining folders like the inet folder in the root of c drive etc. Any other ideas?
 
J

Jim Hubbard

hmmmmm.......let me think about it and I'll get back with you tomorrow
night.....


jcrompton said:
I sure did -- I even tried making sure that I had manually deleted any
remaining folders like the inet folder in the root of c drive etc. Any
other ideas?
 
G

Guest

My apologies -- but I could not find where you had addressed this issue anywhere. Itried the fix that was listed for the Sasser worm issue but this is a whole different issue in that the Remote desktop connection still works as long as you use the client but I also need to be able to connect via the web based tsweb app, which is what suddenly quit working. Any further guidance?
 
G

Guest

Thanks

Jim Hubbard said:
hmmmmm.......let me think about it and I'll get back with you tomorrow
night.....



remaining folders like the inet folder in the root of c drive etc. Any
other ideas?
 
G

Guest

I just found an interesting thing -- I set up the web client to connect through a different port on my router instead of the default port , 80. When I went to the page http://<ip address>:port/tsweb I then got a clean page without all of the errors! However when I tried to connect "full screen" I got an error on page error in the bottom left corner of my browser. However if I connected at anyhting less than "full screen" it worked like a charm.

Strange behavior -- any ideas?? I hope others get soemthing out of this
 
G

Guest

I just found an interesting thing -- I set up the web client to connect through a different port on my router instead of the default port , 80. When I went to the page http://<ip address>:port/tsweb I then got a clean page without all of the errors! However when I tried to connect "full screen" I got an error on page error in the bottom left corner of my browser. However if I connected at anyhting less than "full screen" it worked like a charm.

Strange behavior -- any ideas?? I hope others get soemthing out of this
 
J

Jim Hubbard

Is ASP enabled on your IIS?


jcrompton said:
I just found an interesting thing -- I set up the web client to connect
through a different port on my router instead of the default port , 80.
When I went to the page http://<ip address>:port/tsweb I then got a clean
page without all of the errors! However when I tried to connect "full
screen" I got an error on page error in the bottom left corner of my
browser. However if I connected at anyhting less than "full screen" it
worked like a charm.
 
G

Guest

Not totally sure of all the steps that I need to carry out to enable this or to be sure that it is enabled. I looked it up but it was a bit confusing!
 
J

Jim Hubbard

-Installing Asp is easy ...


1.. In Control Panel, click Add/Remove Programs.
2.. Click Add/Remove Windows Components, and then select the Internet
Information Services check box.
3.. In the Windows Component Wizard, click Next, and follow the on-screen
instructions.


jcrompton said:
Not totally sure of all the steps that I need to carry out to enable this
or to be sure that it is enabled. I looked it up but it was a bit confusing!
 
J

jcrompton_35242

Still have been unable to resolve this issue. Do you have
any other ideas? Is there a place this has been addressed
before?
-----Original Message-----
Maybe a proxy, perhaps?

Jeffrey Randow (Windows Networking & Smart Display MVP)
(e-mail address removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
client to connect through a different port on my router
instead of the default port , 80. When I went to the
page http://<ip address>:port/tsweb I then got a clean
page without all of the errors! However when I tried to
connect "full screen" I got an error on page error in the
bottom left corner of my browser. However if I connected
at anyhting less than "full screen" it worked like a charm.connect with a Remote Desktop client. However when I
connect with a web based connection I get the following
error -- this happened out of the blue after successful
use for over 2 years.computer again." const
L_DisconnectIdleTimeout_ErrorMessage = "The remote session
was ended because the idle timeout limit was reached. This
limit is set by the server administrator or by network
policies." const L_DisconnectLogonTimeout_ErrorMessage
="The remote session ended because the total logon time
limit was reached. This limit is set by the server
administrator or by network policies." const
L_ProtocolErrWITHCODE_ErrorMessage = "Client disconnected
due to internal protocol error: " const
L_LicensingTimeout_ErrorMessage = "A licensing error
occurred while the client was attempting to connect
(Licensing timed out).Please try connecting to the remote
computer again." const L_LicensingNegotFailed_ErrorMessage
= "The remote computer disconnected the session because of
an error in the licensing protocol.Please try connecting
to the remote computer again or contact your server
administrator." constremote session to the remote computer was ended by means
of an administration tool.Your administrator might have
ended your connection." const
L_LogoffRemoteByServer_ErrorMessage = "The remote session
was disconnected because your session was logged off at
the remote computer.Your administrator or another user
might have ended your connection." const
L_DisconnectByOtherConnection_ErrorMessage = "The remote
session was disconnected because another user has
connected to the session." const
L_ConnectionBroken_ErrorMessage = "The connection to the
remote computer was broken. This may have been caused by a
network error.Please try connecting to the remote computer
again." const L_ServerOutOfMemory_ErrorMessage = "The
connection was disconnected because the remote computer is
low on memory." const L_LicenseInternal_ErrorMessage
= "The remote session was disconnected because there was
an internal error in the remote computer's licensing= "The remote session was disconnected because there are
no Terminal Server License Servers available to provide a
license.Please contact the server administrator." const
L_NoLicense_ErrorMessage = "The remote session was
disconnected because there are no Terminal Server client
access licenses available for this computer.Please contact
the server administrator." const
L_LicenseBadClientMsg_ErrorMessage = "The remote session
was disconnected because the remote computer received an
invalid licensing message from this computer." const
L_LicenseHwidDoesntMatch_ErrorMessage = "The remote
session was disconnected because the Terminal Server
client access license stored on this computer has been
modified." const L_BadClientLicense_ErrorMessage = "The
remote session was disconnected because the Terminal
Server client access license stored on this computer is in
an invalid format." const
L_LicenseCantFinishProtocol_ErrorMessage = "The remoteproblems during the licensing protocol.Please try
connecting to the remote computer again." const
L_LicenseClientEndedProtocol_ErrorMessage = "The remote
session was disconnected because the client prematurely
ended the licensing protocol." const
L_LicenseBadClientEncryption_ErrorMessage = "The remote
session was disconnected because a licensing message was
incorrectly encrypted." const
L_CantUpgradeLicense_ErrorMessage = "The remote session
was disconnected because the local computer's client
access license could not be upgraded or renewed.Please
contact the server administrator." const
L_LicenseNoRemoteConnections_ErrorMessage = "The remote
session was disconnected because the remote computer is
not licensed to accept remote connections.Please contact
the server administrator." const
L_DecompressionFailed_ErrorMessage = "The remote session
was disconnected because of a decompression failure at the
client side. Please tryL_ServerDeniedConnection_ErrorMessage ="The client could
not establish a connection to the remote computer.The most
likely causes for this error are:1) Remote connections
might not be enabled at the remote computer.2) The maximum
number of connections was exceeded at the remote
computer.3) A network error occurred while establishing
the connection." sub window_onload() if not LCase
(Navigator.CpuClass) = "x86" then msgbox
L_PlatformCheck_ErrorMessage end if if not autoConnect()
then Document.all.editServer.Focus end if end sub function
autoConnect() Dim sServer Dim iFS, iAutoConnect sServer =
getQS ("Server") iAutoConnect = getQS ("AutoConnect") iFS
= getQS ("FS") if NOT IsNumeric ( iFS ) then iFS = 0 else
iFS = CInt ( iFS ) end if if iAutoConnect said:
= Document.all.comboResolution.options.length then iFS =
0 end if if IsNull ( sServer ) or sServer = "" then
sServer =Document.all.comboResolution.selectedIndex = iFS
Document.all.Server.value = sServer btnConnect ()
autoConnect = true end if end function function getQS (
sKey ) Dim iKeyPos, iDelimPos, iEndPos Dim sURL, sRetVal
iKeyPos = iDelimPos = iEndPos = 0 sURL =
window.location.href if sKey = "" Or Len(sKey) < 1 then
getQS = "" exit function end if iKeyPos = InStr ( 1, sURL,
sKey ) if iKeyPos = 0 then sRetVal = "" exit function end
if iDelimPos = InStr ( iKeyPos, sURL, "=" ) iEndPos =
InStr ( iDelimPos, sURL, "&" ) if iEndPos = 0 then sRetVal
= Mid ( sURL, iDelimPos + 1 ) else sRetVal = Mid ( sURL,
iDelimPos + 1, iEndPos - iDelimPos - 1 ) end if getQS =
sRetVal end function sub checkClick if
Document.all.Check1.Checked then
Document.all.tableLogonInfo.style.display = ""
Document.all.editUserName.Disabled = false
Document.all.editDomain.Disabled = false else
Document.all.tableLogonInfo.style.display = "none"
Document.all.editUserName.Disabled = truesub sub OnControlLoad set Control = Document.getElementById
("MsRdpClient") if Not Control is Nothing then if
Control.readyState = 4 then
Document.all.connectButton.disabled = FALSE end if end if
end sub sub BtnConnect Dim serverName 'server if not
Document.all.Server.value = "" then serverName =
Document.all.Server.value else serverName =
Document.location.hostname end if serverName = trim
(serverName) MsRdpClient.server = serverName 'serverName
name text Document.all.srvNameField.innerHtml =
serverName 'Username/Domain if
Document.all.CheckBoxAutoLogon.checked then
MsRdpClient.UserName = Document.all.UserName.Value
MsRdpClient.Domain = Document.all.Domain.Value end
if 'Resolution MsRdpClient.FullScreen = FALSE select case
document.all.comboResolution.value case "1"
MsRdpClient.FullScreen = TRUE resWidth = screen.width
resHeight = screen.height case "2" resWidth = "640"
resHeight = "480" case "3" resWidth = "800" resHeight
= "600"resWidth = "1280" resHeight = "1024" case "6" resWidth
= "1600" resHeight = "1200" end select
MsRdpClient.DesktopWidth = resWidth
MsRdpClient.DesktopHeight = resHeight MsRdpClient.Width =
resWidth MsRdpClient.Height = resHeight 'Device
redirection options
MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE
MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE
MsRdpClient.AdvancedSettings2.RedirectPorts = FALSE
MsRdpClient.AdvancedSettings2.RedirectSmartCards =
FALSE 'FullScreen title MsRdpClient.FullScreenTitle =
L_FullScreenTitle_Text & "(" & serverName & ")" 'Display
connect region Document.all.loginArea.style.display
= "none" Document.all.connectArea.style.display
= "block" 'Connect MsRdpClient.Connect end sub -->select the screen size for your connection, and then click
Connect.
 
G

Guest

Since a couple of days I keep getting the same problem. Trying to connect via TSWeb Internet Explorer gives the following error:

***
A runtime error has occurred. Do you wish to debug?
Line: 303
Error: Type mismatch: 'OnControlLoad'.
***

Clicking "no" to this debug-question shows part of the default.html-script in InterNet Explorer (as jcromptom quoted: "timed out. Please (...) connection to the same computer").

Keep getting this error while connecting from another computer over the internet by http://ip:port/tsweb as well as during connecting directly from my own computer by http://hostname:port/tsweb.

At the same time, the IIS Service Default WebPage (INetPub/wwwroot/iisstart.asp) has started giving script errors.

Before, both scripts worked out fine. Problems occurred out of the blue.

It seems to me the scripts suddenly are not run properly, maybe as a result of some lately installed security patch. Don't know for sure if that's it, and certainlay cannot find out which patch would be the problem .......

any suggestions?
 
G

Guest

Problem found ...

Tackled the problem by disabling all running programs (virus scanner, third-party fire-wall, FTP server and the like). Then the IIS Web Service / Remote Desktop worked perfectly as ever before. By starting up background processes again, it appears that - at least in my case - the latest version of ZoneAlarm (free edition, version 5.0590) is interfering with the Win XP IIS Services.

Checked out their site, and the Zone Alarm team is aware of the problem: http://forums.zonelabs.com/zonelabs/board/message?board.id=win_za_msgs&message.id=5395.
Reverting to a previous version resolves the problem.

I hope this will help some others as well.

Regards,

JpH.
 
J

Jeffrey Randow (MVP)

You don't have the ActiveX control installed...

From a past posting:
This most likely indicated a problem with the TS ActiveX control . Go
in to IE Options, and look at the installed Objects (either by using
Tools->Internet Options::Settings->View Objects, or by opening
Explorer and navigating to C:\Windows\Downloaded Program Files). You
should see an entry called "Microsoft Terminal Services Control
(redist) (or Microsoft RDC Client Control". If it isn't listed, then
the problem is it isn't installed! If it is installed, try removing it
and letting it reinstall. If this is an XP machine, you can always use
Start->Programs->Accessories->Communication->Remote Desktop
Connection,which in my opinion works a lot better....

Jeffrey Randow (Windows Networking & Smart Display MVP)
(e-mail address removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top