Re: 80004005 Error & File Permissons



Matt K wrote:
Greetings,

I have a website that access an Access 2003 database on the same
server, different folder. All worked fine until we added a new SSL
Certificate and now I receive the 80004005 "....already in use
or..... permissions...." error.

I can work-around this by giving the .mdb file read/write permissions
to the IUSR-MachineName account, but this exposes the database to
anyone opening it or downloading it (which we don't want).

I'm using the following connection string:

Set oConn=Server.CreateObject("ADODB.Connection")
filePath = Server.MapPath("\folder\subfolder\dbDatabase.mdb")
oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +filePath)

Any suggestions on how to allow the pages to access the database
without completely exposing it to the outside?

Thanks in advance!
Matt
Move the file to a folder outside of wwwroot, grant the IUSR account Modify
permissions to the folder containing the database.
--
Microsoft MVP - ASP/ASP.NET
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"


.



Relevant Pages