 |
| 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
|
|
|
|

May 10th, 2012, 01:48 PM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

May 11th, 2012, 02:48 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

May 11th, 2012, 02:53 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

May 13th, 2012, 06:37 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

May 13th, 2012, 07:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

January 17th, 2014, 06:36 PM
|
|
Registered User
|
|
Join Date: Jan 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
 |