Security Exception with DataSet.ReadXML

  • Thread starter Thread starter Sreppohcdoow
  • Start date Start date
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
 
Back
Top