Re: Error accessing MS Access database with Linked Tables on files
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Fri, 21 Apr 2006 12:18:18 -0500
On Fri, 21 Apr 2006 07:13:02 -0700, Pål Eilertsen <PlEilertsen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
¤ Hi,
¤
¤ Thanks for your answer... on both forums :)
¤
¤ I actually feel I have tried all the things you mention here except the part
¤ of using UNC path. Can this be done when linking tables in MS Access?
¤
Yes, you can link tables using a UNC path.
¤ How can I check that my app is running under the local anonymous account? I
¤ have set IIS 5.0 to use Anonymous access and have the web app to use forms
¤ authentication. The anonymous account is IUSR_<machinename> with a password
¤ that I have set (unchecking the "Allow IIS to control passwords" checkbox).
¤ On the remote machine I have created a user account with the same name as
¤ IUSR on the webserver and also set the same password. I have then entered the
¤ user into a group that has all priviliges on the shared drive.
¤
¤ I have also tried to use another account that was allready on both machines,
¤ without any luck. I am not running a domain and have all PC/servers set for
¤ workgroup.
¤
¤ And all the above said I have tried a similar setup on my local machine with
¤ with the linked tables on a share and it all worked fine. The difference
¤ being as mentioned before. Only difference is that I am logged on the
¤ developer machine with an account that has the same username and password on
¤ the share. So for me it seems to be a IIS 5.1 to IIS 5.0 problem.
¤
¤ But I will try once again to do everything you suggests in order to be sure.
¤ Firstly to try to use UNC paths in Access when linking. Not that I know how
¤ to do this though :)
Use My Network Places and drill down to Microsoft Windows Network. From there you should be able to
select the remote machine and shared resource.
The final key may be to enable impersonation. If it is not currently enabled then your app is
executing under the generic ASPNET account instead of IUSR (or IWAM).
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconimpersonation.asp
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- References:
- Re: Error accessing MS Access database with Linked Tables on fileshare
- From: Paul Clement
- Re: Error accessing MS Access database with Linked Tables on files
- From: Pål Eilertsen
- Re: Error accessing MS Access database with Linked Tables on fileshare
- Prev by Date: Re: data adapter
- Next by Date: Re: Create my own db connection wizard
- Previous by thread: Re: Error accessing MS Access database with Linked Tables on files
- Next by thread: Re: Error accessing MS Access database with Linked Tables on files
- Index(es):
Relevant Pages
|