473,566 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error 3146 ODBC connection failed

1 New Member
Hi all,
One of my application uses VB 3 and MS ACCESS as database. I am getting error 3146 ODBC connection failed when i try to retrieve the records.
Please consider this as high priority issue and help me in fixing the same.

Regards
Ramya
Jul 3 '07 #1
1 5464
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi all,
One of my application uses VB 3 and MS ACCESS as database. I am getting error 3146 ODBC connection failed when i try to retrieve the records.
Please consider this as high priority issue and help me in fixing the same.

Regards
Ramya
You have somehow lost the connection to the database. Has the location of the Access database changed?

Find the connection string for the Access database in the code and check if the path is correct. Aside from this as your frontend is build in VB and your problem undoubtably lies there I would try posting a further question in the Visual Basic forum.
Jul 7 '07 #2

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

Similar topics

1
4259
by: Dan | last post by:
Hi, I am using the Employee.fdb sample that comes with Firebird 1.5.1. Everything resides on a WinXP Pro pc. I set up an ODBC connection called "FB Employee Sample" and tested it with MS Access and Brio; works OKAY. When I try to run the following script: *************************** <html> <body>
2
11931
by: JMCN | last post by:
hi - i have created a passthrough query and have it automatically connect to the odbc and then on a separate form, i have the user type in the date parameters. however when i run the following code on my form, i receive an error that the odbc connection had failed "ODBC – call failed. (Error 3146)", even though in the pass-through query i...
0
1198
by: Trev | last post by:
Just got this out of an error log: (ready with that Courier font:) > ErrorNo ErrroMessage Occurances > ----------- -------------------------------------------------------------------------------------------------------------- ----------- >...
14
10115
by: Abhi | last post by:
FYI: This message is for the benefit of MS Access Community. I found that this prblem has been encounterd by many but there is hardly any place where a complete solution is posted. So I thought I should give back to the community by posting our findings. Thanks you all for all your help till now by posting problems and their solutions. ...
2
18998
by: Jimbo | last post by:
I have an access 97 database linked to sql server..I click update on a form and get an error message: Run-time error 3146 ODBC call failed The debugger points to this line: MyTable.Update
1
16331
by: thetuckers_jersey | last post by:
I have inherited an Access database with a SQL backend and need to run a daily report. When I try to run this report which calls stored procedures, I get the following VB error message : Run-time error 3146 ODBC call failed. The debug screen is as below : Private Sub Report_Open(Cancel As Integer) countline = 0 Dim qdf As QueryDef
2
2262
by: Chuck Ritzke | last post by:
Hi all, I am getting an intermittant error after uploading a project from my development machine. I click on a link which opens an aspx page that, upon page load, reads a very small amount of data from an MS Access database, using ODBC and a stored query. There is no problem on my development machine. On the production server though, I get...
0
12018
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry...
5
6835
by: kchang | last post by:
I am trying to view my reports based on a linked table database. However both the reports and the queries they're based on give me a "odbc--call failed" error. When I click on help it cites error 3146 and suggests that either the data source is on a network drive or that I am not connected to the network. I am not sure what either means but I am...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.