|
||||||
I have installed XP XP3 and now I cannot connect to TSWEB server using this script. I cannot figure out what the CLSID should be changed to. <html> <head> <title> |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
Guest
Posts: n/a
|
I have installed XP XP3 and now I cannot connect to TSWEB server using this
script. I cannot figure out what the CLSID should be changed to. <html> <head> <title> Terminal Services Connection to myCAGUI</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 "myCAGUI" = "" then srvName = "mycagui" else srvName = "mycagui" end if MsRdpClient.Server = srvName Document.all.srvNameField.innerHtml = srvName MsRdpClient.Domain = "<%Response.Write Request.QueryString("Domain")%>" MsRdpClient.UserName = "<%Response.Write Request.QueryString("UserName")%>" MsRdpClient.FullScreen = true resWidth = screen.width resHeight = screen.height MsRdpClient.Width = resWidth MsRdpClient.Height = resHeight MsRdpClient.AdvancedSettings2.RedirectDrives = FALSE MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE MsRdpClient.AdvancedSettings2.RedirectPorts = FALSE MsRdpClient.AdvancedSettings2.RedirectSmartCards = FALSE MsRdpClient.FullScreenTitle = FullScreenTitleTxt & "(" & "mycagui" & ")" if MsRdpClient.SecuredSettingsEnabled then MsRdpClient.SecuredSettings.StartProgram = "c:\prosys\launcher\gtlaunch.exe" MsRdpClient.SecuredSettings.WorkDir = "c:\prosys\launcher" else msgbox "Cannot access secured setting (startprogram) in the current browser zone" Window.Navigate(http://WWW.Google.com) end if MsRdpClient.Connect() end sub --> </script> <center> <table> <tr> <OBJECT language="vbscript" ID="MsRdpClient" CLASSID="CLSID:9059f30f-4eb1-4bd2-9fdc-36f43a218f4a" CODEBASE="msrdp.cab#version=5,2,3790,0" WIDTH=<% resWidth = Request.QueryString("rW") if resWidth < 200 or resWidth > 1600 then resWidth = 800 end if Response.Write resWidth %> HEIGHT=<% resHeight = Request.QueryString("rH") if resHeight < 200 or resHeight > 1200 then resHeight = 600 end if Response.Write resHeight %> > </OBJECT> </tr> <tr> <br> <font size="1" color="#000000" face="Verdana, Arial, Helvetica"> You are logged in to <i><span id="srvNameField"></span></i></font><br> </tr> <script language="VBScript"> <!-- sub MsRdpClient_OnDisconnected(disconnectCode) 'if not disconnectCode = 2 then ' msgbox ErrMsgText & MsRdpClient.Server 'end if 'redirect back to login page Window.Navigate(http://www.google.com) end sub --> </script> </table> </center> </body> </html> |
||
|
|
|
#2 | ||
|
Guest
Posts: n/a
|
You may want to clear the cache on the client. I have found this
clears this problem. Also, clear the credentials. |
||
|
|
|
#3 | ||
|
Guest
Posts: n/a
|
This is a brand new PC so there is not cache. I can connect to the default TS
webpage and login. But I need to use that script to launch an app and lock the user down. "robert.mccammon@denso-diam.com" wrote: > You may want to clear the cache on the client. I have found this > clears this problem. Also, clear the credentials. > > |
||
|
![]() |
| Tags |
| clid, connect, sp3 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't Connect to Juniper Network Connect 5.4.0 | cekguarun | Windows Vista | 1 | 05-01-2008 04:29 AM |
| Mail Script won't connect: CDO.Message object Transport failed to connect to the server | Brock Hensley | Windows 2003 Server | 0 | 12-02-2007 05:14 PM |
| can't connect via ftp iis | AMD | Windows Vista | 0 | 09-25-2007 10:13 AM |
| CAN'T Connect to Terminal Server from local Network, CAN Connect via VPN Externally, What have I done? | Sean | Windows NT Server | 7 | 08-17-2007 06:22 AM |
| Can Not connect to ISP | Big Al | Windows XP | 3 | 07-16-2007 07:42 PM |