System.UnauthorizedAccessException

From: eemy (eemy_at_discussions.microsoft.com)
Date: 11/05/04


Date: Fri, 5 Nov 2004 03:48:02 -0800

Hello there.

I'm trying to learn VS.Net at home. I've been using the MSDN walkthrough
examples, but I am stuck when trying to read xml into a dataset.

The form I'm using has two buttons, one displays the schema in a text box,
the other is meant to display the XML in a datagrid. The schema one works
fine, but I get an error when trying to display the XML. The error is :

An unhandled exception of type 'System.UnauthorizedAccessException' occurred
in system.xml.dll
Additional information: Access to the path "C:\Documents and Settings\All
Users\Documents" is denied.

How do I get access to my c:\drive??

If anyone does answer this could you make the answer in very plain English
please - "click this, then do this etc..." would be ideal.

Thanks.


Quantcast