|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem of configuration or limit of possiblities? Is it a bug or not? I wana do the following: Accessing from a IIS 6 Server hosted on Win2003 Server (Server C
with an ASP.NET 1.1 Application, a remote file share (on Server A and copying those files form Share on Server A:: to ShareB (on Server B . My environment: - ASP.NET Framework 1.1 installed Windows 2003 Server and IIS 6 - Two separated File Servers running on W2K both servers have a File Share where a ceratin User Role has full access on it. Problem: - I did disable anonym access to IIS and enable windows authentication - I did enable windows authentication on my ASP.NET webconfig and deny access for anonym users. I have enable the active directory role to allow access to the page. - I did write my code following ASP.NET using VB and just wrote a routine accessing one file Share on Server A: and list the content in a server listbox. - To debug my code I did try to access first a local share on my IIS machine and it worked. - Then I tryed to access the remote share on Server A: and it failed with the message. Access Denied. - I checked NTFS file permission on Server A: and found nothing that was not working. I made a manuall access to the server and the share was accessbile within the role defined in the application. I granted the IIS machine account full access rights to the share to avoid trust problems. But it didn't help. - I am stocking right here. Can't figure out what I missed. - I did also try out to run the application in a different application pool. Default Application pool using Network Service first than I switched to Local System. But this did not help at all. Please let me know if you had once the same situation or does it just not work. The final solution I am writing on is a copy process which should copy a folder and its content form Server A: to Server B: executing the code on Server C: where IIS is running. Please help. Thanks in advance. Dany Last edited by megavogel : December 20th, 2004 at 04:51 PM. Reason: Some text editing... |
|
#2
|
|||
|
|||
|
You tested your filesystem access on server A, but what about filesystem access to server B?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
File System Access on Server B:
Hi, I tryed it on server B: as well but the same results.
When I configure the ASP.NET application within webconfig in a way it shouldn't be, it works. The following works but isn't the solution: - Disable impersonation - Deny Anonym access - Allow Access for certain role or user - Configure IIS to not allow anonym access - Configure IIS to use windows authentication Then I have access to the server A: and B: but can not use the logged on user to access any other resources. And for auditing purpose this doesn't fit because the machine account is logged to the share on Server A: and B: and not the user who did execute the task. Any idea? |
|
#4
|
|||
|
|||
|
I have made a picture of my application available which does show the process of
copy from Server A to Server B using IIS ASP.NET Server C. http://test.abc-soft.ch/download/filecopyprocess.jpg |
|
#5
|
|||
|
|||
|
Your problem appears to be permission settings related, not IIS related. You have to identify the user account that is used by IIS for your program, and make sure that user account has the necessary access to read and write where necessary.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS and ASP.NET Authentication Issue? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|