Re: File based database (dBASE III+)
From: Dave F. (dflower_at_gmail.com)
Date: 06/10/05
- Next message: weidezhang: "Questions about Azman"
- Previous message: Brent: "asp.net can't see virtual directories?"
- In reply to: Paul Clement: "Re: File based database (dBASE III+)"
- Next in thread: Bart: "Re: File based database (dBASE III+)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 10 Jun 2005 09:47:52 -0700
The trick was the UNC path to the data. Once I fixed that I was able to
access the data. I knew I was missing something simple! I'm new to ASP.NET
and want to thank all of you for your help. These newsgoups have been the
best place to find the answers to just about any problem.
Dave
"Paul Clement" <UseAdddressAtEndofMessage@swspectrum.com> wrote in message
news:ds5ja15nk81olj9gs76csmql59ndcm5c8e@4ax.com...
> On Thu, 9 Jun 2005 16:45:06 -0700, "Dave F." <dflower@gmail.com> wrote:
>
> ¤ Hi Paul,
> ¤
> ¤ I looked that information over but I just can't get it to work.
> ¤
> ¤ Here is my setup.
> ¤
> ¤ Machine #1
> ¤ Windows XP Pro SP2
> ¤ VS.NET 2003
> ¤ ASP.NET application running in IIS 5.1
> ¤ Application using Microsoft Jet 4.0 OLEDB Provider
> ¤ Drive mapped to Machine #2 share as T:
> ¤
> ¤ I followed the direction in the following article from
> ¤ http://www.codeproject.com/aspnet/Sec_Run_ASPNET_WP.asp to setup a user
> ¤ account on this machine. I used
> ¤
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT01.asp
> ¤ to setup the user permissions in the various folders.
> ¤
> ¤ Machine #2
> ¤ Windows 2003 Small Business Server
> ¤ Active Directory running
> ¤ Data for the ASP.NET app is on this machine's F: in a shared folder.
> ¤ These are dBASE III+ files.
> ¤ I created a user account on this machine with the same name and
> password
> ¤ as the user on Machine #1 and granted the account "Full Control" on
> the
> ¤ shared folder.
> ¤
> ¤ Now I get the following error when I start the application: ASP.NET is
> not
> ¤ authorized to access the requested resource. Consider granting access
> rights
> ¤ to the resource to the ASP.NET request identity. ASP.NET has a base
> process
> ¤ identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS
> 6)
> ¤ that is used if the application is not impersonating. If the application
> is
> ¤ impersonating via <identity impersonate="true"/>, the identity will be
> the
> ¤ anonymous user (typically IUSR_MACHINENAME) or the authenticated request
> ¤ user.
> ¤
> ¤ I checked the ASP.NET and my new account. Both have "Full Control" on
> this
> ¤ folder.
> ¤
> ¤ I've worked with this problem for days and I just don't know if it can
> be
> ¤ resolved. I have several clients that want this app. but if I can't get
> it
> ¤ working .......
> ¤
>
> OK, I'm a little confused with respect to your configuration. What type of
> authentication is your
> web application set up for? Anonymous? Basic? Integrated NT?
>
> If it's Anonymous then you can impersonate and delegate the IUSR account
> credentials as long as
> there is a local IUSR account on the remote machine with the same
> password.
>
> You can also impersonate and delegate credentials for a domain account
> using Basic authentication.
>
> If you're using Integrated NT and impersonation then you have to implement
> Kerberos since encrypted
> credentials cannot be delegated remotely from IIS.
>
> If you're not using impersonation then delegating the ASPNET (or
> NetworkService) account requires
> the same scenario as for IUSR.
>
> In addition, you want to use a UNC path for your dBase folder and not a
> mapped drive letter.
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)
- Next message: weidezhang: "Questions about Azman"
- Previous message: Brent: "asp.net can't see virtual directories?"
- In reply to: Paul Clement: "Re: File based database (dBASE III+)"
- Next in thread: Bart: "Re: File based database (dBASE III+)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|