473,416 Members | 1,463 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,416 software developers and data experts.

ODBC--call failed error when trying to view a report

7
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 able to view the linked tables and access the database through data sources (ODBC) in administrative tools.

I am running a linked table database on Access 2000 on a Windows XP machine.

Any suggestions would be most appreciated.
Sep 4 '07 #1
5 6822
puppydogbuddy
1,923 Expert 1GB
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 able to view the linked tables and access the database through data sources (ODBC) in administrative tools.

I am running a linked table database on Access 2000 on a Windows XP machine.

Any suggestions would be most appreciated.
If you are trying to connect Access to a back end server via an ODBC connection, I would check with server db administrator to see if you have the proper security permissions to do so.

If that is not the answer, then I would verify that your ODBC driver you are using is not outdated.
Sep 4 '07 #2
kchang
7
If you are trying to connect Access to a back end server via an ODBC connection, I would check with server db administrator to see if you have the proper security permissions to do so.

If that is not the answer, then I would verify that your ODBC driver you are using is not outdated.
Checked the drivers and they appear to be the latest ones. I would like to think that I have the permissions to connect to the server via an ODBC connection. Like I said I can view the linked tables and connect to the server via a data link. Would having to login to the SQL Server using a password affect the reports and queries on Microsoft Access?
Sep 6 '07 #3
puppydogbuddy
1,923 Expert 1GB
Checked the drivers and they appear to be the latest ones. I would like to think that I have the permissions to connect to the server via an ODBC connection. Like I said I can view the linked tables and connect to the server via a data link. Would having to login to the SQL Server using a password affect the reports and queries on Microsoft Access?
Yes. The reports use the queries as the data source. The queries, in turn, access data from the tables in the Back End. Therefore, you must have a logon password with the proper permissions to connect via ODBC. See this link regarding the logon process.

http://support.microsoft.com/kb/q245587/

As stated in the article: In Microsoft Access, when you first link (attach) an external table using an ODBC driver, you have the option to store the User ID and password for the table locally..........(this means also that you must have a login ID and password with the proper permissions).
Sep 6 '07 #4
kchang
7
Yes. The reports use the queries as the data source. The queries, in turn, access data from the tables in the Back End. Therefore, you must have a logon password with the proper permissions to connect via ODBC. See this link regarding the logon process.

http://support.microsoft.com/kb/q245587/

As stated in the article: In Microsoft Access, when you first link (attach) an external table using an ODBC driver, you have the option to store the User ID and password for the table locally..........(this means also that you must have a login ID and password with the proper permissions).
I checked out the link and tried relinking my tables with the "Save Password" box checked, but I'm still receiving the error. I also looked at the third option listed: pre-authenticating the login, but I'm not entirely sure how to go about doing that as I am not very familiar with vb.
Sep 6 '07 #5
puppydogbuddy
1,923 Expert 1GB
I checked out the link and tried relinking my tables with the "Save Password" box checked, but I'm still receiving the error. I also looked at the third option listed: pre-authenticating the login, but I'm not entirely sure how to go about doing that as I am not very familiar with vb.
Does your password have permissions to access the back end tables via ODBC?

The link I gave you has sample code for pre-authenticating the login. Did you see it? As instructed, place the code behind a button and execute it by clicking the button dring the login, Replace the sample's parameters in the code with yours, where applicable. If you don't know how to do this, you need to talk to the dba for your server machine.
Sep 7 '07 #6

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

Similar topics

2
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following...
1
by: Jeff Thur | last post by:
I am getting this error when trying to run a stored procedure: Microsoft.VisualBasic.CompilerServices.LateBinding.LateInd exGet(Object o, Object args, String paramnames) +1361...
1
by: Ghanashyam | last post by:
Dotnet Framework 1.1 is installed on my computer running on Windows 2000 Professional.Visual Studio >net 2003 is installed.When I try to create an ASP.NET project I get following error. The web...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
1
by: dipesh | last post by:
I am getting error when trying to Add Web Reference in Visual Studio 2005. "Some of the files required for web references are not installed"
2
by: ticars | last post by:
I'm getting a weird error when trying to access a user control from within a base page during runtime. Here's what I have: I have a master page with a user control on it. I then have a few...
3
by: LRI41 | last post by:
I googled an error message and it came up with two posts on your forum and when I got there it said I needed to register to post my question, I am not sure whether is this the correct place to...
5
by: Martin | last post by:
I get below error when trying to write unicode xml to a zipfile. zip.writestr('content.xml', content.toxml()) File "/usr/lib/python2.4/zipfile.py", line 460, in writestr zinfo.CRC =...
1
by: jonny | last post by:
Went from using Visual Web Develop express to Visual Studio 2005 and getting error when trying to open project. Error message: "One or more projects in the solution could not be loaded for the...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.