The Newbie's Second XML Question

  • Thread starter Thread starter eBob.com
  • Start date Start date
E

eBob.com

By omitting the references to the IsWhatEverNull() members, I got the
example (http://www.codeproject.com/dotnet/XMLSettingsFile.asp) to
compile. But when I run it it cannot write the XML file. It gets ...
System.UnauthorizedAccessException: Access to the path "C:\Temp" is
denied.

Why can't the XML file be written to c:\Temp?

Thanks, Bob
 
Sounds like you have a code access security issue there.

Are you running as a local admin? Do you have rights to write to that
folder?
 
Yes, my userid has admin authority. (I know that's foolish but I have never
got around to changing it.) And I have never setup any kind of folder level
rights.

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top