更新时间:2023-08-21 20:15:58
您必须使用模拟功能,即与具有访问共享文件夹权限的用户而不是asp.net用户一起执行代码:
You have to use impersonation, ie execute your code with a user who has acces to the shared folder instead of asp.net user :
http://msdn.microsoft.com /en-us/library/aa292118%28VS.71%29.aspx
您有两种方法: -带代码 -带有配置
You have two way : -with code -with configuration