Quote Originally Posted by jdc2000 View Post
I agree - post the actual path you are using for the file. That would be helpful.
I'm not sure why you guys won't listen. It has nothing to do with the permissions of the path.

Also, I just resolved the issue. The MainMethod opens up the XML file to retrieve the data. If a condition is met, it sends a part of that data to the DeletionMethod. The DeletionMethod uses that data to delete lines from the file. The problem, was that I was opening the file in the MainMathod, passing the data to the deletion method, but not closing the file from the MainMethod until after the DeletionMethod was called. It works now.