Error "the Object Invoked Has Disconnected From Its Clients" - Automate Ie 8 With Python And Win32com
Solution 1:
On IE9, you need to lower security settings to make the script work:
IE9 -> Internet Options -> Security -> Trusted Sites : Low
IE9 -> Internet Options -> Security -> Internet : Medium + unchecked Enable Protected Mode
IE9 -> Internet Options -> Security -> Restricted Sites : unchecked Enable Protected Mode
Solution 2:
Wow. I have been fighting with a script that was working for 3 days trying to figure out why it did not even reach the 10th line. Microsoft has been auto-updating Internet Explorer silently to IE10 throughout our organisation and it has caused major headaches for the CRM developers. I noticed now that the settings has been reset to default and that protected mode has been turned on.
One of the most useful things you can try while developing your site is pushing F12 and setting the IE version to other versions. For example, your site used to work in IE9 but broke in 10. This allows you to be running IE10 and test your code in multiple versions. I am still trying to find a way to force certain websites to open in specific versions of internet explorer without having to push F12 every time.
Solution 3:
I had somewhat similar issue, what I did was (however it was using mshtml and SHDocVw in C#.NET):
- Lowered the security (in security tab of Internet options) levels in internet explorer (just as you @Skarab had tried doing) ,
Initialized internet explorer variable to a null value like:
/*INITIALIZE THE BROWSER VARIABLE TO NULL VALUE*/ SHDocVw.InternetExplorerie=null; ie = newSHDocVw.InternetExplorer();
hope this helps...
Post a Comment for "Error "the Object Invoked Has Disconnected From Its Clients" - Automate Ie 8 With Python And Win32com"