Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Problem using IIS
03-26-2006, 11:25 AM #1
- Join Date
- Feb 2006
- Thanked 0 Times in 0 Posts
Problem using IIS
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.
03-26-2006, 05:43 PM #2
- Join Date
- Dec 2002
- Arlington, Texas USA
- 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.