Monday, February 13, 2012 2:41 AM
Monday, February 13, 2012 3:28 AM
this link looks like the definitive solution
The Cause of Code 800706B5
Almost certainly, the Windows Time Service is stopped, or needs restarting.
.... probably because it is stuck at the password prompt sendkeys.... see the bottom of my reply...
Generally if you copy and paste your error messages into a web search you will find an answer.
here is a web search for solutions to login automatically to a intranet using vbscript and IE.
If you are using IE7 or if in IE8/9 you have Tools>Compatibility View Settings>"Display intranet sites in Compatibility View" checked
see this link
there is a way to avoid having to send keys for the password prompt.
- Edited by doctoroftypeMVP Monday, February 13, 2012 3:54 AM
Monday, February 13, 2012 3:44 AM
This link i have seen several times but it doesnt help me. This has nothing to do Windows Time Service as i have plenty other vbs files working fine like script for auto login to gmail, facebook, etc.... the only difference i see here in my present case is that i'm forced to use a Wscript.sleep function just after navigation as i need to wait and input a userid and pass to a Windows Security Dialog box. But i see that after successfull login to my web app i see that IE object becomes unknown.
As you said Windows Time Service was restarted several times but all in vain... :(
Monday, February 13, 2012 7:01 AM
No... this is not the same....
you are accessing an intranet site where you have Windows Authentication switched on.
see the links at the bottom of my post.... (you need to determine also what server version your intranet is running on... Sharepoint or Windows server)... the links I provided give different answers....
this is not my area of expertise sorry... Its the best I can suggest.
Monday, February 13, 2012 10:45 AMThis is a Windows Server. I went through the links you specified in your post. But all those links were talking about automating the login procedure by saving the user id and pass for future use. But i cannot follow it as i need to use different login credentials for differnt scripts for the same application. Please suggest me something else...
Monday, February 13, 2012 11:33 PM
Sorry... It looks like my friends were unable to help you (your question is off topic here in this forum and it is beyond my expertise)
Here is a list of support forums for windows scripting
this link http://www.vandyke.com/support/securecrt/scripting_examples.html is the best I can come up with.... it will probably only confuse you more...
If you are using Windows Server 2008 then you will probably have to write a Windows Shell Script (not a vbscript)... that is probably why you are getting errors at the Windows authentication prompt.
Re-ask you question here http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
clearly stating your goal and your environment.
Tuesday, February 14, 2012 3:27 AMThanks all for your efforts on this. Just FYI i was running this from a Windows Shell Script as you can see i have published the entire code in my first post of this thread. and i dont get any error at the Windows Authentication Prompt. its the line where the IE object is called again i get error.
Monday, October 22, 2012 12:25 PMSame problem happened on my laptop (Windows7, IE8) and confuse me for a long time. It is very easy to solve it by opening "Security Settings" in IE. Change "Allow scripting of Microsoft web browser control" from Disable to Enable.