Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle ASP
| Search | Today's Posts | Mark Forums Read
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 November 3rd, 2005, 01:33 PM
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection with Oracle from ASP 3.0

I try to connect with a database Oracle 9.i from my code in ASP 3.0 and I don't became it. I have used differents connection strings but none of them were right.

I define a ODBC connection which test ok, and I connect database from sqlplus, so it looks configuration is fine.

My connection strings are the following:

1.- lsConnStr = "DSN=ms_oracle;UID=asasa;PWD=asasa";
With "Microsoft ODBC for Oracle 2.575.1117.00

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
No se puede cargar el controlador especificado debido al error del sistema 5 (Oracle en OraHome92).


2.- lsConnStr = "DSN=ora92_oracle;UID=asasa;pwd=asasa";
With "Oracle en OraHome92"

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][Administrador de controladores ODBC] Error de SQLAllocHandle del controlador en SQL_HANDLE_ENV
First connection string works fine in a WS2000 but my server needs run in a WS2003, and I have an error in it.

If somebody helps me..............

Thanks for all.

 
Old November 20th, 2005, 03:11 AM
Registered User
 
Join Date: Nov 2005
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
You are not able to connect to oracle database due to security issue
in iis windows2003
what you have to do is go to ora92 folder right click select properties->select security see whether "authenticated user group is present or not" if it is not present add the authenticated users group
uncheck read,read and execute permission and click on apply .again check read,read and execute permission and click on apply and ok and restart the system.You will be able to connect with asp3.0 using oledb





Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Connection teddyk ASP.NET 2.0 Basics 1 October 6th, 2008 06:08 PM
Oracle+ASP Connection...Please Help!!!! onlysujay Oracle ASP 1 September 12th, 2007 01:33 AM
oracle connection silvia C# 4 January 17th, 2006 08:12 AM
connection to oracle thru jdbc venkitaraman Java Databases 5 April 6th, 2005 06:05 AM
Oracle connection with ASP.NET kosla78 ADO.NET 1 October 14th, 2003 12:54 AM





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