Hi i want my website to be able to write to a database, but im having problems doing this i think i may need to set up the database so that i can write to it can anyone help please?Here is a post that extensively talks about these issues. YOu simply need to give the ASPNET user rights to the file, as well as create file rights in the folder (to create an LDB file).
Thanks ive given fill permission to the user, which is me but im still recieving the error how do i create the LDB file?
Perhaps you modified the user somehow. Try doing a Response.Write of User.Identity.Name and make sure that user has rights. Is the file on the same machine as the Web server?
OK, I just reread what you said. For the ASP.NET programyou are not the user, the user is a Windows user called ASPNET. ASP.NET by default runs under the context of the ASPNET user. You do not create the LDB manually, Jet will create it as needed.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment