Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access ASP
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #21 (permalink)  
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
Reply With Quote
  #22 (permalink)  
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
Reply With Quote
  #23 (permalink)  
Old May 11th, 2012, 02:53 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #24 (permalink)  
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
Reply With Quote
  #25 (permalink)  
Old May 13th, 2012, 07:13 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #26 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.