Security Exception with DataSet.ReadXML

S

Sreppohcdoow

When I try to
System.Data.DataSet.ReadXML(myPath)

I get a System.UnauthorizedAccessException: Access to the path is denied.

This is because the file is apparently open/locked by another application.
I need to be able to read this file, even when the other application 'owns'
the file.

Any suggestions?

Thanks,
MS
 

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

Top