![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Script error when run through RemoteAPP We have a Windows 2008 Server running Terminal Services with RemoteAPP. When I launch the remoteapp, a VB Script is called from a Group Policy Object that does some mapping. I get an error in Line 12, Char 1, that reads "The specified module could not be found." The script starts like this... Option Explicit Dim strLogName, bolWriteLog, bolManagePrinters Dim objNetwork, objDrives, objDict, objComputer, objShell, objFileSystem, objLogFile, objRootDSE, objTrans Dim strComputerName, strDomain, strUser, strAdsPath, strNetBIOSDomain, strDNSDomain, strTemp, strLogPath, i Set objNetwork = CreateObject("WScript.Network") where the "S" in the last line is the character referred to in the error. There are several comments that i did not include here. If I use a Remote Desktop session instead of the RemoteAPP session, the script runs fine. Any idea how to correct this? -- Thanks! |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| RemoteApp printing | Vista General | |||
| Script error | Vista General | |||
| Script error hangs Vista Mail client ads error | Vista mail | |||
| Script file has 'OS Handle' error when run from script | PowerShell | |||
| Script Error? | Vista General | |||