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
|
|