473,385 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Runtime error '-2147467259(80004005)'

Hi All ,
I am facing the error in Data Access Project .I have written following code for Database Connection
Expand|Select|Wrap|Line Numbers
  1. Set dbconn = New ADODB.Connection
  2. dbconn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Mansoft\Desktop\New Folder\06-02-2007\InterviewDatabase1.mdb;Persist Security Info=False"
  3. Set rs = New ADODB.Recordset
  4. With rs
  5. .ActiveConnection = dbconn
  6. .Source = " Select Name from ApplicantInformation where Name Like '" & str & "%'"
  7. .Open
  8. End With
  9.  
  10. While (rs.EOF = False)
  11.  
  12. cnt = rs.Fields(0)
  13. pos = 1
  14.  
  15. cnt = cnt & ", " & rs.Fields(0)
  16. End If
  17. rs.MoveNext
  18.  
  19.  
  20. Wend
  21.  

The problem i am facing is that It connects to DB & fetch the data But After some time it ll give this error Runtime error '-2147467259(80004005)'
Feb 9 '07 #1
0 1475

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: paul tomlinson | last post by:
Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the site work ok but an ASP section has been put in...
1
by: John Beschler | last post by:
There is a limit to the amount of data you can post through a form. For a file of that size you probably need to treat it as an upload. >-----Original Message----- >I've got a an ASP page...
12
by: Grahammer | last post by:
For some reason I am getting an error when trying to open a recordset on an Access database on my Win2K3 machine from my INDEX.ASP page, but the same code accesses the database fine when coming...
2
by: Alex Vidal | last post by:
Hi, I have windows 2000 server with IIS and I program ASP. I use the string: "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=basedatos.mdb;" to data base Access and it always works ok. But I...
15
by: M P | last post by:
What does this mean? I am accessing an ASP page that queries Access Database thru fileDSN. I'm using IIS 5.0 Win2K SP4 Microsoft OLE DB Provider for ODBC Drivers error '80004005' General...
2
by: sunj | last post by:
My database completely works in Dreamweaver MX at a local testing level, but as soon as I upload and access my web pages remotely I get this error on the browser. Can anyone help?...
1
by: David Schwartz | last post by:
Anyone ever get this error? I've had a couple of users report it in my VB.NET Windows forms app, but no one can reproduce it. Any idea what it could be?
1
by: Kisa | last post by:
I am using Visual Studio 2005 on Windows Server 2003 (Virtual Server). All service packs are installed. I first had this problem when trying to distribute an application for testing so I then...
7
by: samah | last post by:
I have a package i used it for 3 days ago and then i got these 2 error Run Time Error unspecified error ( 80004005) and Run Time Error Could not lock file ( 80004005) and these are my codes...
0
by: askzda | last post by:
Hi, Can somebody pls help to solve above problem. I have used dundas mailer for my mailing part in my asp script, but the an error occured during sending the mail. Error that is prompted out just...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.