ASP Odbc error using IIS on XP

ASP Odbc error using IIS on XP

Post by Daniel Che » Tue, 05 Aug 2003 15:25:45

I have problems writing to database (ms Access) when
using IIS on XP. I dont have problems accesing the
database but I cant save or add records to it.

I've created System DSN on the ODBC Administrator.

Sample codes I used:

Set objConn1 = Server.CreateObject("ADODB.Connection")
strConn1 = "Data Source=AccountProfiler;UID=sa;PWD=;"
objConn1.Open strConn1

Set objRS1 = Server.CreateObject("ADODB.Recordset")
objRS1.CursorLocation = adUseServer
objRS1.CursorType = adOpenKeyset
objRS1.LockType = adLockOptimistic
objRS1.Open "SalesPerson",objConn1, , ,adCmdTable

Error message appear in browser:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update.
Database or object is read-only.
/accountprofiler/newsalesperson.asp, line 54

Can anyone please give some advice on this? Thank you
very much.

Daniel Chew

1. ODBC driver error using ASP

2. ASP 2.0.50215 using IIS 5.1 on XP Pro

I fully admit to being a true nubie, so be kind.

I've somehow screwed up my IIS 5.1 after installing ASP 2.0.50215 and
testing some basic ASP pages. I receive a Forbidden message which
appears at face value to be a permission issue but I'm running MS
Visual Web 2005 with administrative privledges.

I don't know this is the issue but I did note that the ASP settings
were calling for the web.config file found at:


I'm using ASP 2.0.50215 and in the similar directory:


there is no file called web.config. there is web.config.comments and
we.config.default but no we.confg.

Thanks for any direction
Frank Chapman

3. IIS locks up when opening asp & web services - WIN XP Pro, IIS 5, Visual Studio.Net

4. Serious Problem with ASP pages on IIS 5.1 using Windows XP Pro.

5. IIS locks up when opening asp & web services - WIN XP Pro, IIS 5,

6. ASP Runtime errors not being displayed on IIS 5.1 Windows XP

7. "Class not found" Error Message In ASP Pages IIS 5.1 Turkish On XP Pro Turkish

8. IIS 5.1 XP Pro ASP localhost error

9. Error Opening HTML or ASP pages in IIS 5.1 on XP Pro

10. ASP problems with IIS 5.1 on Win XP - Server Application Error

11. IIS version 5.4 errors with ASP & XP-Pro

12. IIS 5.1 on Xp MCE renders ASP.NET 2.0 pages as Http 500 error!

13. Problems with 2.0 pages and IIS 5.1 on Win xp pro - Error 500

14. Win Xp Pro IIS 5 - i keep getting this error when I run ASP pages.

15. IIS 5.1 + Windows XP Professional + ASP Application + WScript.Shell = ERROR!!!