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