My webservice suppose to
append some text to a txt file. In debug mode everything is working well. The
service is installed on my pc.
When I try to access
from different PC I have an error: Access
to the path C:\Files\test.txt' is denied.
Using TextWriter for saving the file:
TextWriter tw = new StreamWriter(filename, true);
tw.WriteLine("a text");
tw.Close();
Folder Files has web.config
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
...
Go to the complete details ...