我正在编写一个守护进程应用程序。它在位于inetpub/wwwroot/daemon_Folder
. 它将在那里更改文件。问题是该文件夹设法阻止应用程序在其上写入。我通过右键单击它properties Window => Web sharing => Share this folder
=>然后选择写入权限和可执行文件来更改权限。我什至更改了Control Panel=>Administarative Tools=>IIS=>websites=>that_Folder=>permissions
. 但是"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
当我尝试以编程方式保存 doc 文件时,我仍然得到了。有人可以说如何实现这一目标吗?
注意:我使用的是 windows-XP、iis v5.1、visual studio 2010、office 2010、.net 4.0、c#。