473,465 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Access to the fileserver from webserver

Hi!
I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it

I have a asp .net web form which needs to access files from our fileserver. The problem is that the IIS and web app are on a different server than the fileserver (both are win2003 servers)
The IIS settings are set to windows authentication, my app has impersonation and windows authentication, yet still I receive an error when trying to access the file list on the fileserver by GetFile method. It reads the following
"Access to the path "\\fileservername\sharename\directoryname\subdirec toryname is denied"
It appears after showing me the typical windows login window, and I am then supposed to LOG ON on the WEB server! After login failure, the error mentioned above apears. But I am not able to log in in any way
I want to use the DirectoryInfo.Getfiles method and I am failing to do so.

Are there any other settings apart from Iis I should change? What are they?
Is this some sort of bug?

Any help is greatly appreciated!
Nov 18 '05 #1
2 1775
You'll probably need to set "Trust computer for delegation" on the computer
account of the webserver. You can do this in Active Directory Users and
Computers.

- Chad

"Adam aku" <sp**************@interia.pl> wrote in message
news:A8**********************************@microsof t.com...
Hi!
I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it.
I have a asp .net web form which needs to access files from our fileserver. The problem is that the IIS and web app are on a different
server than the fileserver (both are win2003 servers). The IIS settings are set to windows authentication, my app has impersonation and windows authentication, yet still I receive an error when
trying to access the file list on the fileserver by GetFile method. It reads
the following: "Access to the path "\\fileservername\sharename\directoryname\subdirec toryname is denied" It appears after showing me the typical windows login window, and I am then supposed to LOG ON on the WEB server! After login failure, the error
mentioned above apears. But I am not able to log in in any way! I want to use the DirectoryInfo.Getfiles method and I am failing to do so.

Are there any other settings apart from Iis I should change? What are they? Is this some sort of bug?

Any help is greatly appreciated!

Nov 18 '05 #2
You'll probably need to set "Trust computer for delegation" on the computer
account of the webserver. You can do this in Active Directory Users and
Computers.

- Chad

"Adam aku" <sp**************@interia.pl> wrote in message
news:A8**********************************@microsof t.com...
Hi!
I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it.
I have a asp .net web form which needs to access files from our fileserver. The problem is that the IIS and web app are on a different
server than the fileserver (both are win2003 servers). The IIS settings are set to windows authentication, my app has impersonation and windows authentication, yet still I receive an error when
trying to access the file list on the fileserver by GetFile method. It reads
the following: "Access to the path "\\fileservername\sharename\directoryname\subdirec toryname is denied" It appears after showing me the typical windows login window, and I am then supposed to LOG ON on the WEB server! After login failure, the error
mentioned above apears. But I am not able to log in in any way! I want to use the DirectoryInfo.Getfiles method and I am failing to do so.

Are there any other settings apart from Iis I should change? What are they? Is this some sort of bug?

Any help is greatly appreciated!

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Marco Aschwanden | last post by:
Hi I would like to install Python on a fileserver. All the machines (all Win2K) should afterwards use this Python installation. The (Python) apps I am developing will be as well placed on the...
3
by: ljb | last post by:
I have a ASP running on one web server trying to access an Access database on another file server. The problem is WebServer doesn't have permissions to open the db on FileServer. On FileServer I...
1
by: Josef Buergi | last post by:
Hallo Ich möchte aus unserem Fileserver die Directorystruktur inkl Filenamen via ASP auslesen und diese in eine DB Tabelle eintragen. Der Webserver (IIS) läuft auf einem anderen Rechner. Ich...
7
by: Graham Taylor | last post by:
I've tried posting this in the 'microsoft.public.access' but I will post it here also, as I think it might be the webserver which is causing my problem. --------- I have an Access 2003 database...
7
by: ddsvi78 | last post by:
I am a complete idiot when it comes to access. Now that said, I work for a computer security company and one of our customers came to us with an access problem. They had been running fine for a...
1
by: Adam aku | last post by:
Hi! I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it I have a asp .net web form which needs to access files from our fileserver. The...
0
by: dotnettester | last post by:
Hi, I want to know, what will be a good solution to have indexing on a site. I want to provide users ability to search for documents on a fileserver, on the same network. IIS is running on...
16
by: JonnyD | last post by:
I am working on a project to build a reporting web app from an exsiting database that is controled by a local application. The application that has control over the database creates a lock file to...
13
by: Charlotte | last post by:
Hi, i've googeled to find a asp-script that can compare all the records in two different access databases the mdb's have exactly the same tables what i want is that (the output) all the...
3
by: =?Utf-8?B?Q2hyaXN0aWFuIGZyb20gRnJhbmNl?= | last post by:
I want to write an aspnet aspx page This page : 1 - Connect to a net share \\server\c$ with credentials: user/password 2 - Read Directory info of this share 3 - Write these infos in the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.