System.UnauthorizedAccessException

Hi Jeff,

Thanks for your post. The ANTS Profiler uses ShDocVw.dll (the Internet
Explorer class) to control an instance of a web browser. Something has gone
wrong trying to bring this dll into the program, either due to a security
setting or a faulty installation of IE. You can try to re-register shdocvw
(Regsvr32 shdocvw.dll from a command prompt...), re-install IE, or try to
run ANTS as a local Administrator.

Alternately, you can avoid the whole sticky issue by de-selecting the
'use the following program to start a test harness' option from the project
settings, and browsing to your web application/service manually. When you're
done, use the STOP button of the Profiler's control window to stop, rather
than closing the web browser, because profiler may not respond to the onQuit
event that the browser uses to notift Profiler that you're finished
profiling.

Kind Regards,

Brian Donahue
Red Gate Technical Support


"Jeff" <jean_francois_mondou@hotmail.com> wrote in message
news:Jrk6DtMgDHA.1480@server53...
> Hi,
>
> When i launch a profiling, after restarting the web service i receive this
> error message :
>
> System.UnauthorizedAccessException: Access is denied.
>
> at RedGate.Profiler.UI.Browser..ctor()
>
> at RedGate.Profiler.UI.frmMain.ᐐ()
>
> at RedGate.Profiler.UI.frmMain.ᐑ()
>
> at RedGate.Profiler.UI.frmMain.ᐁ(IAsyncResult )
>
>
>
> What ca n i do ?
>
>
>
> Thanks for your help.
>
> Regards
>
>
>
> Jean-Francois
>
>

Comments

This discussion has been closed.