Hello I am using asp.net 3.5. And i am serializing an object in server, I rent a hosting and i want to modify something in a dinamic way with XML,
This is my code :
Stream writer = new FileStream(Environment.CurrentDirectory + @"\public_html\" + nombrearchivo.Text, FileMode.Create);
serializer.Serialize(writer, p);
this is my error massage:
Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\Windows\SysWOW64\inetsrv\dasd.xml' is denied.
Thanks!!