Re: Access to non-virtual-directory UNC paths from IIS 6.0
From: Tom Kaminski [MVP] ((A_at_T))
Date: 07/27/04
- Previous message: Farooq Khan: "Re: accessing mapped drives in ASP.NET application"
- In reply to: Jeff Johnson [MVP: VB]: "Access to non-virtual-directory UNC paths from IIS 6.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jul 2004 11:55:50 -0400
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
news:ei$1VA$cEHA.2352@TK2MSFTNGP09.phx.gbl...
> [Please let me know if there is a better group in which to post this
> question.]
>
> Background:
> We have an ASP.NET Web app in my company which compares two data sources
and
> reports the differences between them. This app can handle different types
of
> data, both DBMS- and file-based. For file-based comparisons, we want the
> user to be able to point to any share on the network to find the file.
Given
> this desire, we can't set up virtual directories to every possible share
on
> our network, so we need the code to be able to access the file through
pure
> UNC references.
>
> Here's more detail:
> - The Web server is running IIS 6.0 on Windows 2003 Server (duh).
> - The Web server is part of our internal domain (not our Web farm), let's
> call it MYCOMPANY.
> - The WWW service (and IISAdmin) is running under LocalSystem.
> - This particular Web site is NOT allowing anonymous access; the only
access
> is Integrated Windows Authorization.
> - The page that is having problems has two INPUT TYPE="file" text boxes
> which the user uses to specify the files for comparison.
> - The code behind the page attempts to open OledbConnections against the
UNC
> paths taken from the INPUT boxes.
> - This is the error we're getting:
> The Microsoft Jet database engine cannot open the file
> '\\BOB\BobsShare\SubFolder\AccessDB.mdb'. It is already opened exclusively
> by another user, or you need permission to view its data.
>
> No one has it open exclusively, and permissions are set correctly both on
> the share (\\BOB\BobsShare) and on the underlying folder structure.
> Specifically, the Everyone group has Change access through the share and
> Modify access through NTFS.
Can you enable security auditing on the file path to see what account is
being denied access?
-- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserver2003/community/centers/iis/ http://mvp.support.microsoft.com/ http://www.iisfaq.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://www.tryiis.com
- Previous message: Farooq Khan: "Re: accessing mapped drives in ASP.NET application"
- In reply to: Jeff Johnson [MVP: VB]: "Access to non-virtual-directory UNC paths from IIS 6.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|