Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle ASP
|
Oracle ASP Using ASP with Oracle databases. For Oracle discussions not specific to ASP, please see the Oracle forum. For more ASP discussions, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 30th, 2005, 01:52 PM
Registered User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ODBC connection error with ASP3.0

Hi,
I am using ASP 3.0 on Windows 2000 server to access Oracle 9.2.

I have following ASP script to create an ODBC connection to Oracle server via ODBC on Windows 2000 server.

SET conn = Server.CreateObject ("ADODB.Connection")
conn.Open "dsn=ORACLEProd01;uid=ACHO;pwd=xxxxx"

I made connection this way, because my web users will not have user name for the Oracle server.

Anyways, the ASP pages works fine for any users with Admin right on Windows 2000 server regardless of having access right to Oracle. However, I get following error message for users without Admin right on server.

Error Type:
Microsoft OLE DB Provider for ODBC Driver (0x80040E4D)
[Oracle][ODBC][Ora]Error while trying to retrieve text for error
ORA-12154
/ndd/nddTrans.asp, line 15

Line 15 is
     conn.Open "dsn=ORACLEProd01;uid=ACHO;pwd=xxxxx"

I suspect that non admin users having problem running ODBC dsn. Do you know how to give proper right for the ODBC?

Thanks,
Junho





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sql vs Odbc Connection vgsgowrisankar C# 2005 6 April 10th, 2008 08:14 AM
Losing ODBC connection kornshell SQL Server ASP 0 June 18th, 2007 09:52 AM
Need Help with ODBC connection johnjohn Visual C++ 2 December 7th, 2004 01:11 PM
ODBC Connection abilodeau Access 3 September 22nd, 2004 09:05 PM
ODBC connection mishaq SQL Server 2000 13 June 16th, 2004 02:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.