473,804 Members | 3,744 Online
Bytes | Software Development & Data Engineering Community
+ 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 "\\fileserverna me\sharename\di rectoryname\sub directoryname 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.G etfiles 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 1799
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******** *************** ***********@mic rosoft.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 "\\fileserverna me\sharename\di rectoryname\sub directoryname 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.G etfiles 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******** *************** ***********@mic rosoft.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 "\\fileserverna me\sharename\di rectoryname\sub directoryname 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.G etfiles 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
1565
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 fileserver. My advantages would be: - I have to keep only 1 Python installation up-to-date. - (Frequent) changes of the apps are easily distributed by copying them to the fileserver.
3
2482
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 expected to be able to grant read permission to IUSR_WebServer but that account doesn't exist in FileServer's list to choose from. What do I need to do? FileServer is also a domain controller. WebServer is a standalone Win 2000 server. The error...
1
2159
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 habe verschiedene Ansätze probiert, aber leider scheitert das Vorhaben am Fehler "The Path parameter for the MapPath method must be a virtual path. A physical path was used. "
7
12662
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 which is in the "fpdb" folder of my webserver. Its located there so that I can use asp to build a web-based front-end for users to read the database - http://www.nist.ac.th/maths/test1.asp The MBD file is edited using Access (2003) and opening...
7
26971
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 long time. Then about a month ago there main server that hosted all the .mdb files crashed. So they restored everything to a new server (I believe 2003 server). Everything was fine for 2 weeks, then one morning they came in and the queries were...
1
308
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 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...
0
953
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 server1 and files are located on server2. Should I place the catalog on IIS server - server1, (using a mapped network drive to point to server2) or should I create the catalog on the fileserver-server2, and provide the search results through a...
16
1994
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 the database and at that point I can no longer access the database with my web app. Is there anyway around this? All I need is read only access to the database to get some report information to display on the web page. The error I get on the...
13
2649
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 differences comes in a html-table in a webpage can anybody help me, are give me a example ? thanks
3
8181
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 page
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10569
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10325
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10315
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5519
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.