Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2006

Tip: Looking for answers? Try searching our database.

Unauthorised access exception using Web Browser control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt Adamson - 22 Nov 2006 16:28 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.