Problem Overwriting A File

JORGEMAL

Active member
Joined
Apr 30, 2011
Messages
27
Location
Mexico
I am developing an app in a Windows XP machine which modifies an XML file if certain conditions are met. It works fine in my development PC. Now, I installed such an app in a Windows Server 2008 machine and its behavior is different as follows: if the XML files does not exist then a new one is created, if the XML file already exists then it remains the same. I use the XmlTextWriter class to generate a new file (with the same name).
I am sure this is an issue with the file permits but I am not an expert in Windows Server 2008 but a software developer. I will very much appreciate any help.

Respectfully,
Jorge Maldonado
 
I found the problem. The file needed to be created firstly in the Windows Server 2008 machine so its Creator Owner was updated.
 
Back
Top