I am running OOB silverlight application where I have a WebBrowser control but I am getting this error when I call InvokeScript:-
Attempted to perform an unauthorized operation.
Is it because it’s OOB ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No it can’t be because its OOB since
WebBrowseronly works OOB anyway. I can think of two possible reasons.The Url to which the WebBrowser has navigated is not on the same site from with the Silverlight application has been loaded. This would a security violation.
The code that is being executed in the loaded web page by the
InvokeScriptis the actual source of the error.