Jump to content
Sign in to follow this  
sohumc

IESTATUS_ClientDisconnected Error

Recommended Posts

sohumc

Hello,

I am working on writing code to automate time entry into the company's sharepoint. However, when I am trying to access the direct page, I get the error

--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147417848, Browser has been deleted prior to operation.)"
C:\Program Files (x86)\AutoIt3\Include\IE.au3" (895) : ==> Variable must be of type "Object".:
Return SetError($_IESTATUS_Success, $oTemp.forms.length, $oTemp.forms)
Return SetError($_IESTATUS_Success, $oTemp^ ERROR











It does not connect to the window, and as such it does not let me find a form of the site. How can I fix this?

This is my code

Local $oIE = _IECreate($url)
Local $oForms = _IEFormGetCollection($oIE)

Share this post


Link to post
Share on other sites
sohumc

It's the company's sharepoint URL, and a further link to the Time Entry page within that. Is there any way I can access that object? Or maybe attach it to a new one?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.