473,378 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Permission related / WebBrowser > System.UnauthorizedAccessException

I've got a problem. I cannot debug my app. which one contains WebBrowser
control.
I found a resolution but it's for an ASP related problem. I couldn't find a
correct "user"
to give permisson then I've added Everyone and refreshed policies (gpupdate
/force),
restarted VB IDE but still got the problem. What is the "worker process" for
VB IDE?

CODE:
Debug.Print(WebBrowser1.Document.Window.Frames(i). Url.ToString)

ERROR:
A first chance exception of type 'System.UnauthorizedAccessException'
occurred in System.Windows.Forms.dll

MSDN: Troubleshooting Exceptions: System.UnauthorizedAccessException
http://msdn2.microsoft.com/en-us/lib...07(d=ide).aspx
An UnauthorizedAccessException exception is thrown when the operating system
denies access because of an I/O error or a security error.
MSDN SEARCH: Troubleshooting - Visual Studio .NET 2002
http://support.microsoft.com/?scid=k...039&sid=global
..You may receive an "Access is denied" error message when you try to debug a
Web application in Visual Studio .NET, and you have administrative
permissions
Describes how you cannot debug a Web application when the ASP.NET worker
process does not have the "Impersonate a client after authentication" user
right. To resolve the problem, grant the worker process account the relevant
user right.
Jul 4 '06 #1
0 2299

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: msnews.microsoft.com | last post by:
I'm running a intranet site on a NT 4.0 IIS 4 server. I have a page that uses CDONTS. I recently change this intranet application to run as an isolated process (Selecting the checkbox "Run in...
7
by: Bob | last post by:
I'm working on a Windows app that needs to write to the Registry HKLM. I keep getting a "System.UnauthorizedAccessException: Cannot write to the registry key." error when running the app. I'm...
4
by: Brent Bigler | last post by:
The computer: W2K server, domain controller, Microsoft.Net Framework 1.1 ======================== The error message: Access to the path "c:\fanmail\newfiles" is denied .... Exception...
1
by: pontificator | last post by:
I am trying to access files in seperate 2 directories via an ASP.NET web app that are not within my web directory structure. I have given both the machine\aspnet and machine\iusr_machinename...
4
by: Bruce | last post by:
I am developing an ASP.NET web service application. It works fine on my WinXP Prof development machine. But when I send it to a Windows Server 2003 system I get the following error (attached...
0
by: Jeremy | last post by:
I have an ASP.net application which needs to retreive images from multiple remote machines. It is reterieveing images generated by a web cam service on those machines. All of these machines,...
3
by: cweeks | last post by:
I am using the Webbrowser control in VS 2005 C# Express to automate the navigation of pages on a partner's web site. The first page contains an <IFRAME> element: <iframe style='width:40;...
0
by: beachboy | last post by:
I have moving the application from windows 2000 to windows 2003, that application is using .net framework ver 1.1 and have their own COM library to do a specify task. I have registed on "COM+...
2
by: =?Utf-8?B?Qy4gSHVnaGVz?= | last post by:
Hi, I can't figure it out. A piece of code to obtain the Processor ID which has always worked fine, suddenly throws an UnauthorizedAccessException. I have changed absolutely nothing to my code,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.