由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - ASP.NET impersonate cannot access network share drive
相关主题
Log on to a remote computercan not run ASP by IIS 5.1 in WIN XP (转载)
A permission problem?get_innerHTML需要什么样的permission?
[合集] Log on to a remote computerFileInfo doesn't work with UNC path well
Which ORB do you guys use today? 心得:use XPath (+namespace)
ASP.NET -- helpHTML5 geolocation with Bing Maps
ASP web application 问题请教问个MVC3的问题
Permission issue of System.Diagnostics.ProcessMVC is trend?
File.Copy怎么老是出错?那位大侠能介绍一下 property in c# class的使用经验
相关话题的讨论汇总
话题: file话题: server话题: access话题: shared话题: network
进入DotNet版参与讨论
1 (共1页)
z***a
发帖数: 138
1
My web app needs to write to a text file in a mapped folder on file
server.
On file server:
D:\ is shared
D:\IT\ is shared and mapped to I:\
D:\IT\MyFolder\ is created by me and set shared
I have done the following:
Create a user (IUSR_blahblah) with password at my local computer
Create same user and password at file server
Grant the user share permission to
D:\
D:\IT (I:\)
D:\IT\MyFolder\
Code impersonation in webpage code
However, my web app can not access file server C:\ drive, D:\ shared
drive, and hence D:\IT , and my folder in UNC naming
(\fileserver\MyFolder\).
The Error messages are:
"Network name cannot be found"
or
"Network path cannot be found"
or
"Access to test.txt is denied"
On file server I checked event viewer, i can find login originated from
my PC and it says "audit success".
Does that mean my app is able to login to file server, but cannot access
shared/mapped drive/folder due to sharing permission error or security
permission? if so, what kind of permission should I grant to user?
Thanks.
c**t
发帖数: 2744
2
If your file server and PC are in same domain, you don't have to create same
account on the file server, just use your domain account. UNC path should
work.
a9
发帖数: 21638
3
用i:\访问的?

【在 z***a 的大作中提到】
: My web app needs to write to a text file in a mapped folder on file
: server.
: On file server:
: D:\ is shared
: D:\IT\ is shared and mapped to I:\
: D:\IT\MyFolder\ is created by me and set shared
: I have done the following:
: Create a user (IUSR_blahblah) with password at my local computer
: Create same user and password at file server
: Grant the user share permission to

1 (共1页)
进入DotNet版参与讨论
相关主题
那位大侠能介绍一下 property in c# class的使用经验ASP.NET -- help
how to crack SN?ASP web application 问题请教
synclock questionPermission issue of System.Diagnostics.Process
answer - Re: .NET 新手 请教两个弱问题File.Copy怎么老是出错?
Log on to a remote computercan not run ASP by IIS 5.1 in WIN XP (转载)
A permission problem?get_innerHTML需要什么样的permission?
[合集] Log on to a remote computerFileInfo doesn't work with UNC path well
Which ORB do you guys use today? 心得:use XPath (+namespace)
相关话题的讨论汇总
话题: file话题: server话题: access话题: shared话题: network