Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access ASP
| Search | Today's Posts | Mark Forums Read
Access ASP Using ASP with Microsoft Access databases. For Access questions not specific to ASP, please use the Access forum. For more ASP forums, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access ASP 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 May 10th, 2012, 01:48 PM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default update connectionstring

sir,
[oledb]
; Everything after this line is an OLE DB initstring
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\inetpub\wwwroot\aspnet_client\widgetworl d.mdb;Mode=Read;Persist Security Info=False

if i use

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\inetpub\wwwroot\aspnet_client\widgetworl d.mdb;Persist Security Info=False"

error

Microsoft JET Database Engine error '80004005'

Unspecified error

if i am wrong then how to update oledb
its great trouble for me.
driver use /provider use same error.
plz guide me start to end.
sortout my problem
 
Old May 11th, 2012, 02:48 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with connectionstring

sir,
i am using window 7 ultimate,and office xp 2001,but i do not know where is
the problem,it may be in iis,odbc,or connectionstring.

Microsoft JET Database Engine error '80004005'

Unspecified error

if i use driver then driver error.
plz guide me
 
Old May 11th, 2012, 02:53 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That connecton string looks better.

Which permissions did you configure for the c:\inetpub\wwwroot\aspnet_client folder and for which account? Have you tried a different folder such as C:\Databases and temporarily assigning Everyone full control? Does it work then?

If this doesn't help, you'll need to provide more information. E.g. version of Windows / 32/64 bit, setup of the site in IIS, security accounts etc.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old May 13th, 2012, 06:37 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with connectionstring

sir,
i am using laptob with window 7 ultimate.
iis manager
application pools(classic.net apppool started v2.0 classic application pool identity 0)
(default apppool started v2.0 integrated applicationpoolidentity 1)

default web site 1 started(http) *:80(http) %system drive% \inetpub\wwwroot

all pages of asp running well but when i attach database connectivity,so error accure,like this

dim objconn
set objconn = server.createobject("adodb.connection")
objconn.open "Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\inetpub/wwwroot/aspnet_client/bid.mdb"


Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Disk or network error.

i use driver/provider same error
i use include file in asp page so error accure
plz sortout my problem,thanks
 
Old May 13th, 2012, 07:13 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am trying to help you, but you're not helping me help you, by providing relevant information. In summary, here's what you need to do:


1. Change your connection string as pointed out earlier.
2. Figure out the account you're using. To do this, under Advanced Settings check out which application pool your site uses. Then configure the folder that contains your database for the account IIS AppPool\NameOfAppPool where NameOfAppPool is the name of the pool used by the site.

For more background:

http://imar.spaanjaars.com/263/how-d...0004005-errors

Most of the stuff in that article applies to your situation, except for the user account which should be IIS AppPool\NameOfAppPool

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 17th, 2014, 06:36 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having a similar problem. When I try to upload my database to sharepoint this happens. I read your suggestions on changing folder permissions. I wasnt able to change it. So i tried putting on my local drive and still same problem. I keeps calling out one specific table.. but i don't know how to change it.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot update. Database or object is read-only. zedekiah Classic ASP Databases 1 May 2nd, 2008 09:30 AM
Update Fails - Database is Read-Only pete robinson Classic ASP Basics 3 December 19th, 2007 02:40 PM
Read only Database error larry101 Classic ASP Databases 4 September 11th, 2004 08:41 AM
permit read only while database is OPEN Belier Access 5 April 6th, 2004 08:26 PM
How to read/write Access Database jmmendes Access VBA 0 November 18th, 2003 01:26 PM





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