Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle ASP
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.

  #2 (permalink)  
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.