Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 July 27th, 2011, 02:38 PM
Authorized User
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am trying to install Oracle Client 32 bit driver and lets see that helps because my database is Oracle 11g.
 
Old July 28th, 2011, 05:06 AM
Authorized User
 
Join Date: Jan 2011
Posts: 86
Thanks: 1
Thanked 12 Times in 12 Posts
Default

Hi Nishapd,


it's a long shot... but I had similar problems with the Microsoft ODBC for Oracle driver on a 64-bit Windows 7..
The Microsoft ODBC for Oracle driver didn't work at all, only the OraOLEDB.Oracle and MSDAORA did..
Perhaps you should also try these instead?


Further, I advice you to test the Oracle connection with a simple vbs first (vbs is close enough to classic asp). Be carefull though, you need to be sure to run vbscript in 32-bit mode ! (If I understand Imar, classic asp always runs in 32-bit?)
E.g. if you create a TestMyConnection.vbs and place it on your desktop you would need to start it like %windir%\SysWOW64\wscript.exe C:\Users\Nishapd\Desktop\TestMyConnection.vbs


Hope this helps !
 
Old July 28th, 2011, 08:53 AM
Authorized User
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I change my connection string to,

strConn = "Provider=MSDAORA.1; Data Source=DEV; UID=PORTALDEV; PWD=portaldev"

I am getting below error.

I have 64 bit Oracle client installed with all components on the machine.

Microsoft OLE DB Provider for Oracle error '80004005'

Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.

/db_open.asp, line 213
 
Old July 28th, 2011, 09:59 AM
Authorized User
 
Join Date: Jan 2011
Posts: 86
Thanks: 1
Thanked 12 Times in 12 Posts
Default

Hi Nishapd,


and what does OraOLEDB.Oracle do ?
This one should be included with the Oracle client.



P.s. If you had "Enable 32 Bit Applications" on, I would switch it off again to be sure you are using 64-bit IIS threads. Unless you have 32-bit dll dependencies off course, but then you'll need the 32-bit Oracle client.

Last edited by disel2010; July 28th, 2011 at 10:08 AM..
 
Old July 28th, 2011, 11:38 AM
Authorized User
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I installed 32 bit Oracle client and it's working fine now.

Thanks everyone for helping and spending time for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute visual basic .exe from Classic ASP website. Nishapd Classic ASP Basics 0 August 28th, 2010 09:55 AM
Unable to configure IIS website to use ASP.NET 2.0 japss ASP.NET 2.0 Professional 2 July 14th, 2008 09:14 AM
asp classic website debug hassan1365 Classic ASP Databases 0 July 9th, 2007 04:23 AM
classic asp with asp.net on same iis bostonrose .NET Framework 2.0 6 January 10th, 2007 12:38 PM
Problem with IIS and website boksi ASP.NET 2.0 Basics 2 July 18th, 2005 08:10 PM





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