Not authorised exception using Web Browser control
Guys,
Not sure on the best forum for this.
We are getting an unauthorised exception when using the web browser control
as you can see from the call stack below
TestCase
'Tranmit.Sprinter.WebApp.Testing.Purchasing.Invoicing.Edit.EditInvoiceTest.EditInvoice_3'
failed: System.UnauthorizedAccessException : Access is denied.
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
msgData)
at mshtml.HTMLAnchorElementClass.click()
at Tranmit.Testing.InternetExplorerSupport.ClickAnchor(HTMLAnchorElement
anchor)
at Tranmit.Testing.InternetExplorerSupport.ClickAnchorByHref(HTMLDocument
document, String anchorHrefRegEx)
c:\assemblies\tranmit.sprinter.webapp.testing\purchasing\invoicing\edit\editinvoicetest.cs(338,0):atTranmit.Sprinter.WebApp.Testing.Purchasing.Invoicing.Edit.EditInvoiceTest.ViewInvoice(ISupplierPayment supplierPayment, InternetExplorerSupportieSupport)The issue is in the HTMLAnchorElementClass click method.How can I diagose this further. I am running the code from the interactiveuser account using Visual Studio .NET 2003 and the NUnit framework. Can Ifind out what security permissions are missing?CheersMatt
Matt Adamson - 27 Nov 2006 15:54 GMT
Any thoughts?
> Not authorised exception using Web Browser control
>
[quoted text clipped - 22 lines]
> 2003 and the NUnit framework. Can Ifind out what security permissions are
> missing?CheersMatt