Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Silly Error but No idea why ?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  05:37:05  Show Profile
Everytime I download a copy of MS-Acces database as a backup, I get this error after downloading...

Provider error '80004005'

Unspecified error

/forum/inc_header.asp, line 111

Edited by - kolucoms6 on 24 March 2007 05:39:31

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 March 2007 :  05:49:09  Show Profile  Send ruirib a Yahoo! Message
Try using the search, it has been asked and answered many, many times.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  06:08:38  Show Profile
Somewhat strange part is sometime Its works and sometimes it doesnt...

Code from config.asp :



Session.LCID = 1033 '## Do Not Edit
Response.Buffer = true

Dim strDBType, strConnString, strTablePrefix, strMemberTablePrefix, strFilterTablePrefix '## Do Not Edit
Dim counter, ConnErrorNumber, ConnErrorDesc, blnSetup '## Do Not Edit

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("abc.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/USERNAME/db/abc.mdb") '## MS Access 2000 on Brinkster
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\db\abc.mdb" '## MS Access 2000

'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("forum/abc.mdb") '## MS Access 97 using virtual path

strConnString = "DBQ=" & Server.MapPath("abc") & ";Driver={Microsoft Access Driver (*.mdb)}"



There has been a problem...

Your strDBType is not set, please edit your config.asp
to reflect your database type.

Edited by - kolucoms6 on 24 March 2007 06:21:11
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 March 2007 :  06:53:41  Show Profile  Visit leatherlips's Homepage
You need to change the connection path to your database in the config.asp file to point to your database.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  06:58:26  Show Profile
My connection string is

strConnString = "DBQ=" & Server.MapPath("abc.mdb") & ";Driver={Microsoft Access Driver (*.mdb)}"

I also entered

my_Conn.Open strConnString
Response.write "my_Conn state is " & my_Conn.state

But cant see the state displayed.

Here is the URL :
http://www.ulcindia.com/forum

Edited by - kolucoms6 on 24 March 2007 07:07:32
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 March 2007 :  07:08:47  Show Profile  Visit leatherlips's Homepage
When visiting your site I see: Your strDBType is not set, please edit your config.asp to reflect your database type.

'strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"

Remove one of the ' above (shown in red) to reflect your database type.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  07:09:56  Show Profile

Currently its :

'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 March 2007 :  07:13:18  Show Profile  Visit leatherlips's Homepage
You are using an Access Database?

Then I believe you need to uncomment this line:

'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\db\abc.mdb" '## MS Access 2000

Remove the ' (shown in red) and enter the correct path to your database (shown in green).

Put the ' in front of the line:

strConnString = "DBQ=" & Server.MapPath("abc") & ";Driver={Microsoft Access Driver (*.mdb)}"

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  07:15:31  Show Profile
Let me try this :

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("abc.mdb") '## MS Access 2000 using virtual path
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  07:17:11  Show Profile
Great...Its working...But to be very honest ,earlier below line was working perfectly..:

strConnString = "DBQ=" & Server.MapPath("abc.mdb") & ";Driver={Microsoft Access Driver (*.mdb)}"
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 March 2007 :  07:17:58  Show Profile  Visit leatherlips's Homepage
At least it's working now...

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  07:44:48  Show Profile
I am still keep on getting below error :(But NOT always)

Provider error '80004005'

Unspecified error

/forum/inc_header.asp, line 111

Edited by - kolucoms6 on 24 March 2007 09:39:13
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  09:40:36  Show Profile
My forum seems to very fluctuating and unreliable..
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 March 2007 :  09:52:27  Show Profile  Send ruirib a Yahoo! Message
Access is the source of the problem. If you have the option, use a MySQL or SQL Server Db instead.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 24 March 2007 :  10:25:11  Show Profile  Visit AnonJr's Homepage
Just out of curiosity, have you done a compact and repair on the Access database? Also, it could be more of a server-related issue... since IS moved a few apps to a different server, we haven't had the problems with Access like we used to. (the extra gig of RAM probably helped too)
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  11:15:44  Show Profile
No..I didnt do any compact and repair.

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07