Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem using IIS

    Hello

    I am writing a web site using ASP, and am testing it using Internet Information Server as a web server on my local machine. I have just changed my PC, and have immediately noticed after the change that I am getting an error when I try to write to the Access database that forms the base of my website. The message is that the database is readonly.

    However this is only when I write to it via the application. When I open Access itself I can add records without any problem. I have also checked in Windows Explorer that the database is not readonly, and neither are the directories above it.

    I am left with the conclusion that when I access the database via the application (and therefore IIS) I am using the IIS user rights, not my normal administrator rights, and on my PC only the administrator user has write access to files.

    I know nothing about IIS and PC security, and would appreciate advice on this, especially on if changing IIS user rights would solve the problem, and how to effect that.

    Many thanks,

    Trimtrom

  • #2
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,065
    Thanks
    4
    Thanked 8 Times in 8 Posts
    open up internet services manager point to the directory that your database is located in. Now right click on that directory and click properties. You will have a tab that says Directory (or Virtual Directory if it is a virtual directory). Now put a check into the box that says write. Click apply click ok you now have write priveleges in that directory.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •