|
From: Bob Barrows [MVP] on 7 May 2008 11:27 It's file-system permissions. Right-click the folder in windows explorer, choose Security and assign Modify permissions to the users of the database. Who the users that need permissions are depends on how your website is configured to authenticate: Anonymous means the aspnet account is the user Integrated with Anonymous disabled means the network user is the user I have no website on mvps.org BD wrote: > I'm still reading, thanks Bob. > I am still new to ASP and ASP.NET so I will need some hand holding > here. I don't understand what you have stated in your reply. How > would I go about doing this? Bear in mind that I am testing on IIS 6 > and eventually the file has to be uploaded to a Server 2003 system. > All I need is a simple page hit counter (database). The remaining > table in my database is for tracking file downloads so I'm thinking > that If I can get the page hit to work, then the downloads counter > will be easier. > Do you have a web site on the mvps (Karls) server? Yes or no will > probably suffice. I should be able to find it from there. > > > "Bob Barrows [MVP]" <reb01501(a)NOyahoo.SPAMcom> wrote in message > news:%23vR469EsIHA.2064(a)TK2MSFTNGP05.phx.gbl... >> I meant to post the solution - hopefully you are still reading: >> BD wrote: >>> Dim rsCounter = Server.CreateObject("ADODB.Recordset") >> >> Err ... you really should be using ADO.Net rather than ADO. >>> System.Runtime.InteropServices.COMException: Cannot update. >>> Database or object is read-only. >> This is always file-system-permissions-related. All users of an mdb >> file require Modify permissions for the _folder_ containing the >> database. This is to allow users to create, modify and delete the >> jet locking file (.ldb) that controls multi-user access to the mdb >> file -- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.
From: Mike Brind [MVP] on 9 May 2008 15:51
Not really wanting to encourage ASP.NET questions and answers here (but since it has been started), the default user on XP Pro is ASPNET, whereas it's NETWORK SERVICE on Win2k3. You can find various samples showing Access in use with ADO.NET code here: www.mikesdotnetting.com. Feel free to post further Access and ASP.NET related questions here: http://forums.asp.net/55.aspx -- Mike Brind Microsoft MVP ASP/ASP.NET "BD" <JustMe(a)nothome.net> wrote in message news:OMlgcSFsIHA.5000(a)TK2MSFTNGP04.phx.gbl... > I'm still reading, thanks Bob. > I am still new to ASP and ASP.NET so I will need some hand holding here. > I don't understand what you have stated in your reply. How would I go > about doing this? Bear in mind that I am testing on IIS 6 and eventually > the file has to be uploaded to a Server 2003 system. All I need is a > simple page hit counter (database). The remaining table in my database is > for tracking file downloads so I'm thinking that If I can get the page hit > to work, then the downloads counter will be easier. > Do you have a web site on the mvps (Karls) server? Yes or no will probably > suffice. I should be able to find it from there. > > > "Bob Barrows [MVP]" <reb01501(a)NOyahoo.SPAMcom> wrote in message > news:%23vR469EsIHA.2064(a)TK2MSFTNGP05.phx.gbl... >>I meant to post the solution - hopefully you are still reading: >> BD wrote: >>> Dim rsCounter = Server.CreateObject("ADODB.Recordset") >> >> Err ... you really should be using ADO.Net rather than ADO. >>> System.Runtime.InteropServices.COMException: Cannot update. Database >>> or object is read-only. >> This is always file-system-permissions-related. All users of an mdb file >> require Modify permissions for the _folder_ containing the database. >> This is to allow users to create, modify and delete the jet locking file >> (.ldb) that controls multi-user access to the mdb file >> -- >> Microsoft MVP -- ASP/ASP.NET >> Please reply to the newsgroup. The email account listed in my From >> header is my spam trap, so I don't check it very often. You will get a >> quicker response by posting to the newsgroup. >> >> > > |