指向UNC共享的虚拟目录 [英] Virtual Directory pointing to UNC share

查看:84
本文介绍了指向UNC共享的虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序可以通过标准将文档上传到服务器

将我的应用程序发送到生产服务器时,我发现它们平衡了服务器的负载.我的解决方案是将上传目录放置到网络共享中,然后创建一个指向该共享的虚拟目录.

I have an app that uploads documents to the server through the standard

When sent my application to the production server, I found out that they had the server load balanced. My solution to this was to place the upload directory into a network share and then create a virtual directory pointing to the share.

我已经设置了共享和文件本身的权限,但是每次尝试上载文档时,我都会不断遇到访问被拒绝"的情况.

I have set permissions on the share and the file itself, but I keep getting "access denied" whenever I try to upload a document.

我在哪里可能缺少权限? IUSR是否可能需要访问共享?

Where could I be missing permissions? Is it possible that IUSR needs to have access to the share?

谢谢.

推荐答案

仅供参考,

对我来说,此解决方案的答案是使用可以访问共享,文件夹和虚拟目录的用户帐户设置临时模拟.

The answer to this solution for me was to setup temporary impersonation with a user account that had access to the share, the folder and the virtual directory.

以下是对我有用的代码的链接:

Here's a link to the code that worked for me:

http://support.microsoft.com/kb/306158#4

这篇关于指向UNC共享的虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆