Re: Access database, network access problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jared (ask_me_for_it_at_nospam.com)
Date: 10/21/04


Date: Thu, 21 Oct 2004 06:31:17 -0500

It turns out it is a permissions problem, but, the cause is still unknown.
The website (IIS 5.0) properties use the "a share located on another
computer" option, and the"connect as" dialogs' credentials use a domain
account with sufficient privileges to make the connection and read the data.
If I was to replace this account with my own, the connection works, and I
have less rights than the account in question. I have used the XP Effective
permissions to verify rights on the domain account and everything checks
out - RWX. Also, when using the redirection to a network share,
impersonation does not work, is this by design? Can a developer get around
this?
TIA,
Jared

"Paul Clement" <UseAdddressAtEndofMessage@swspectrum.com> wrote in message
news:t5vcn0tsh8l2d38d0i1nsje0uuoho8gntu@4ax.com...
> On Wed, 20 Oct 2004 05:12:35 -0500, "Jared" <ask_me_for_it@nospam.com>
> wrote:
>
> ¤ I've recently run into a problem when creating a web service. I have a
> ¤ webserivce that returns data from a small access database; I created and
> ¤ tested the service on my local machine with the database local in a
> ¤ sub-directory. I verified the results on a test server remotely with the
> ¤ database stored on the local disk. The production server is a web farm,
> a
> ¤ SAN provides all data storage for this farm; This is where I am having
> ¤ problems, I'm no longer
> ¤ able to open the database, the permissions have been validated on the
> remote
> ¤ share and the user
> ¤ account has access?
> ¤
> ¤ My connection string "Provider=Microsoft.Jet.OLEDB.4.0; Data
> ¤ Source=\\server\share\folder\folder\folder\database.mdb;"
> ¤ I have also tried using the extended property Mode="Share Deny None"
> ¤
> ¤ The mappath function is used to get the actual file path. It points to
> ¤ the correct location, but, I get errors that the database cannot be
> opened
> ¤ because you don't have permissions or the database is being opened
> ¤ exclusively, or something to that nature. I don't have recordlocking
> enabled
> ¤ and a .ldb file is never created.
> ¤
> ¤ Any suggestions? If you need more information please let me know.
> ¤
>
> Unless you're opening the database for read only access (Mode=Share Deny
> Write) the Jet database
> engine will attempt to create an .LDB file. The likely scenario is that
> the user account does not
> have sufficient permissions, for the folder where the database is located,
> to create the .LDB file.
>
>
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)



Relevant Pages

  • Re: Create basic user for one database
    ... The 'Admin' account and 'Users' group are common to every installation ... assign the correct permissions to the Users group, ... database without supplying a password. ...
    (microsoft.public.access.security)
  • Re: Execute Persmission denied on object sp_OACreate
    ... If so what access and permissions. ... The account is a windows account. ... One method to test permissions is to log in to your SQL Server box using the ... >>> SA account password and gaining access to the database. ...
    (microsoft.public.sqlserver.security)
  • Re: Business Data Catalog (BDC) -- Does Not Work -- Sharepoint 2007 Beta
    ... following grant permissions: ... TSQL Local Machine ... Also both have Permission to Connect to Database engine set to Grant ... Application Settings->Server process account for the BDC is selected ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Access Database - Locked out from Design
    ... What happens if the 'owner' of the ldb file tries to delete it? ... permissions issue - maybe your permissions are set up such that only the ... 1- User "A" opens the database, and Access creates the .ldb file in the ...
    (microsoft.public.access.tablesdbdesign)
  • Re: List Users Permissions down to table.column action
    ... THIS STORED PROCEDURE GENERATES COMMANDS ... -- FIXED PROBLEMS WITH STATEMENT LEVEL PERMISSIONS GRANTING. ... -- CREATE TABLE TO HOLD LIST OF USERS IN CURRENT DATABASE ... -- GRANT USER ACCESS TO SERVER ROLES ...
    (microsoft.public.sqlserver.security)