Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Script error

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,44059
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script error
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Script error - 3/4/2007 9:37:59 PM   
  swerver

 

Posts: 27
Score: 0
Joined: 12/18/2006
Status: offline
using the map network drive method:

objNetwork.MapNetworkDrive f:, share, false, username, password

I get the following error

Error: The credentials supplied conflict with an existing set of credentials


?
 
 
Post #: 1
 
 RE: Script error - 3/4/2007 10:19:59 PM   
  ginolard


Posts: 1082
Score: 21
Joined: 8/10/2005
Status: offline
The UNC path is already mapped with an existing set of credentials.

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to swerver)
 
 
Post #: 2
 
 RE: Script error - 3/4/2007 10:25:05 PM   
  swerver

 

Posts: 27
Score: 0
Joined: 12/18/2006
Status: offline
 
So it would seem, however, there was no drive mapped to that server or share, but there was a historical mapping.
I disconnected this and it worked.

Is there a way to script a failover for this that will disconnect if first if its found to be mapped?

(in reply to ginolard)
 
 
Post #: 3
 
 RE: Script error - 3/4/2007 10:28:34 PM   
  swerver

 

Posts: 27
Score: 0
Joined: 12/18/2006
Status: offline
my script did do this:

If objFSO.FolderExists(f:\) then
objNetwork.removeNetworkDrive "F:", true, true
end if

(in reply to swerver)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script error Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts