Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Script error when run through RemoteAPP

Reply
 
Old 07-25-2008   #1 (permalink)
Saucer Man


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46