Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 19th, 2003, 08:18 AM
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DLL generates Database read-only error

I've written a DLL that connects to an mdb file. I then use ASP to create an object from the DLL, and then run a method that updates the database. But I get an error on update:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.

But when I update directly from ASP without using the DLL it works fine. So the database can be updated using Server.CreateObject("ADODB.Command"), but not using a DLL to do the same thing! The DLL can read the database, but not update it...

I'm using a DSN to connect, and versions

Access 2000
VB 6 to write the DLL
Microsoft 2000 server with IIS 5

Please help!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I change how VS2008 generates certain items? chobo2 C# 2008 aka C# 3.0 1 October 8th, 2008 04:16 PM
SProc generates different results same data David_0223 SQL Server 2005 5 June 16th, 2008 05:52 PM
The database dll crdb_oracle.dll could not be load Yeliz Crystal Reports 0 October 18th, 2006 08:12 AM
xslt_create occasionally generates Fatal Error csbdeady XSLT 1 March 16th, 2006 01:35 AM
Read only Database error larry101 Classic ASP Databases 4 September 11th, 2004 08:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.