Bob Barrows [MVP]
11/21/2008 3:06:00 PM
MikeR wrote:
> Bob Barrows wrote:
>
>> MikeR wrote:
>>>>> I don't ever see the .ldb file either.
>>>> That means it's not being created. The first user in should create
>>>> the file. Subsequent users should modify it. The last user to
>>>> disconnect from the database should delete it. With no .ldb file,
>>>> multiple
>>>> users will be prevented from connecting to the mdb.
>>> Hmmmm.... So the page that works does so without creating it? Does
>>> it say anything about permissions that when I open the .mdb in Access,
>>> the .ldb is created?
>>
>> Absolutely! it means that _you_ have the appropriate folder
>> permissions, but the user account under which IIS is running does not.
>
> Bob -
> Thanks so much for hanging in with me on this. The folder/file
> permissions looked OK, but I reset them anyway from the IIS console,
> and I can now read from the DB.
Hmm ... I've never had to do that. I always set permissions via the dialog
in Windows Explorer. Strange.
> IUSR_COMPUTERNAME has full control,
That's overkill, but no matter.
> Anonymous access is checked,
which means that the IUSR account is used (as well as IWAM in some
situations - you should probably grant access to that one as well)
> IIS controls the password is checked,
> and Integrated Windows Authentication is checked.
> The .ldb still isn't being created, but I can ignore that on the
> local dev machine, as only one user (me) will be banging on it.
Are you hitting the db in global.asa? If so, the IWAM account is being used.
IWAM is also used if you have isolation set to high in IIS.
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"