Forum Discussion

Vallalarasu_P's avatar
Vallalarasu_P
Frequent Contributor
10 years ago

Permission denied error on "Object.Exists"

In the code,

set oFindObject = BroObj.FindChildByXPath(iValue)

if oFindObject.Exists = True then 



OfindObject.Exists in the first call, it runs correctly. But on the second call or third call it throws

" Microsoft VBScript runtime error. Permission Denied: 'oFindObject.Exists' "

error. What could be the reason for this?

  • I am also getting this error every so often while waiting for the page to load:

     

    while (myPage.Exists && (myPage.contentDocument.readyState != "complete"))

    {

                    aqUtils.Delay(15);

    }

     

    Microsoft JScript runtime error.

    Permission denied
    Error location: