473,725 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ODBC -- call failed Error

I have an Access 2000 database that links several tables from Oracle 9.
For some reason or another, one of our user repeatedly gets the
following error when accessing queries within this database:
*************** *************** *************** *************** *************** *********
ODBC -call failed.

[Oracle][ODBC]ORA-01017: invalid username/password; logon denied
(#1017)[Microsoft][ODBC Driver Manger] Driver's SQLSetConnectAt tr
failed IM006 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAt tr failed (#0)

*************** *************** *************** *************** *************** *********
I can access this database with no problems. When I try to recreate a
new database for her and re-link these table it seems to work okay for
several try and the error would pop-up again. It looks like this error
is specific to her machine. Anyone know why or how to fix this
problem? She's had problem with this error for all of her access
databases that are connecting to an Oracle server. Any information
would be appreciated.

Jan 12 '07 #1
4 11655

alegria4ever wrote:
I have an Access 2000 database that links several tables from Oracle 9.
For some reason or another, one of our user repeatedly gets the
following error when accessing queries within this database:
*************** *************** *************** *************** *************** *********
ODBC -call failed.

[Oracle][ODBC]ORA-01017: invalid username/password; logon denied
(#1017)[Microsoft][ODBC Driver Manger] Driver's SQLSetConnectAt tr
failed IM006 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAt tr failed (#0)
I have had similar problems with connecting to an MS SQL database. I
found that I had to create a login for the user in sql.

>
*************** *************** *************** *************** *************** *********
I can access this database with no problems. When I try to recreate a
new database for her and re-link these table it seems to work okay for
several try and the error would pop-up again. It looks like this error
is specific to her machine. Anyone know why or how to fix this
problem? She's had problem with this error for all of her access
databases that are connecting to an Oracle server. Any information
would be appreciated.
Another issue could be that you do not have the ODBC setup under system
dsn.

Jan 12 '07 #2
alegria4ever wrote:
[Oracle][ODBC]ORA-01017: invalid username/password; logon denied
(#1017)[Microsoft][ODBC Driver Manger] Driver's SQLSetConnectAt tr
failed IM006 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAt tr failed (#0)
Looks like you're using the MS Oracle driver. Try the Oracle driver.

The error message seems to indicate that the password for the Oracle
user is not correct. Have you examined the DSN she is using? Most
important, does tnsnames.ora have the correctnet service name set up on
the machine for her user name?
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Jan 14 '07 #3
Yes, I have examed her DSN and even replicated the one on my machine to
hers. That didn't fix the problem either. The password she's using is
correct, we've tested that many times. I think the tnsnames.ora file
is correct because she was able to access the database with no problems
for several times.

Tim Marshall wrote:
alegria4ever wrote:
[Oracle][ODBC]ORA-01017: invalid username/password; logon denied
(#1017)[Microsoft][ODBC Driver Manger] Driver's SQLSetConnectAt tr
failed IM006 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAt tr failed (#0)

Looks like you're using the MS Oracle driver. Try the Oracle driver.

The error message seems to indicate that the password for the Oracle
user is not correct. Have you examined the DSN she is using? Most
important, does tnsnames.ora have the correctnet service name set up on
the machine for her user name?
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Jan 16 '07 #4
alegria4ever wrote:
Yes, I have examed her DSN and even replicated the one on my machine to
hers. That didn't fix the problem either. The password she's using is
correct, we've tested that many times. I think the tnsnames.ora file
is correct because she was able to access the database with no problems
for several times.
What I would do next then, is repeat the problem on her machine, ie,
relink the tables and then work the app for several tries until the
ora-01017 error occurs again. As soon as it does, on her machine, open
SQL Plus (I always make sure I install this on my users' machines along
with the Oracle net client and the Oracle ODBC driver - if you don't
have it on her machine, it can be installed from the Oracle set up cd)
using the same user name used by the DSN and the password. If this
latter action causes problems, then it's something to do with the net
client installation, a conflict or something and you're into Oracle
territory I don't usually tread (or troubleshoot, at least). Another
possible alternative to testing with SQL Plus is tnsping (but I haven't
done this since it used to be done at the command prompt in Oracle
7.3.4, so I don't remember how to do it).

Anyway, if SQL Plus connects to the database/user name successfully,
then there's something screwy with Access 2000 and again, I'm sorry, I'm
out of my area of expertise (I went from A97 to A2003 and didn't use
either 2000 or 2002).

Hope this is of some help, at least for further trouble shooting. 8)
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Be Careful, Big Bird!" - Ditto "TIM-MAY!!" - Me
Jan 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2030
by: Vic Spainhower | last post by:
Hello, This is probably not the correct forum to post this problem but I posted it in the Access group but didn't get a reply and I'd like to move forward on this. I have setup an ODBC Connection to a MySQL database (driver version is 3.51) but when I setup the link in MS Access 2002 some of the tables will show #Name? in all of the fields, some will show #Deleted in all of the fields and some will work (except I can't update them). ...
7
6168
by: tina | last post by:
Hello, Can you hale me to define my mistake please? I am trying to run a SQL Pass – Through Query from Access 2000 and inside the record set I am trying to loop for a LoginID. I think that this function should work. I get an error at this point Set StoredProcRecordSet = DB.OpenRecordset(StoredProcQryName, DB_OPEN_SNAPSHOT) The error is this ODBC--call failed.
14
10141
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. ~Abhijit
1
4158
by: VBSponge | last post by:
Hi all. Need help here as I cant see whats wrong... I have a querydef in Access 2k which execs a stored proc in a SQL Server 2k db. I keep getting the following error, and cant stop it for the life of me: "Error 3146: ODBC Call Failed" Now, the stored proc uses @RETURN_VALUE to pass back an integer result
2
19008
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
0
12066
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 key 'Temporary (volatile) Jet DSN for process
12
14473
by: mukeshhtrivedi | last post by:
We have 4 MS Access Databases with few tables on each DB. There are some reports which uses ODBC. When I try to use the report and input date range and click ok I get error "ODBC --call failed" it happens on my computer only. I have just setup Windows XP SP2 with latest updates and MS Office Prof. 2000 and in ODBC I have same dirvers installed as other users who are able to access reports without any problem. Can anybody tell me what...
11
3731
by: Kirby1 | last post by:
ODBC call failed -------------------------------------------------------------------------------- We have recently upgraded our SQL Server from 7.0 to 2000. Since then my Access database to generate reports on the data is giving this error when I try to display a report: ODBC call failed. Subquery returned more than 1 value. This is not permitted when the subquery follows =, !, <,<=, >, >=, or when the subquery is used as an expression....
1
5406
by: mikerudy | last post by:
I have an 3rd-party application that uses a SQL back-end, but uses Access 2000 (linked tables all using the same DSN) as an intermediary. We recently upgraded from SQL 7 to SQL 2005, which went fine. Now, however, we want to setup SQL Mirroring to provide automatic failover. The mirroring works fine. In my test environment, the mirror server becomes active automatically when the service is stopped on the principal server. I can see...
0
8889
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4519
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3228
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
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.