473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 1773
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.