Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old July 27th, 2011, 02:38 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #22 (permalink)  
Old July 28th, 2011, 05:06 AM
Authorized User
Points: 448, Level: 7
Points: 448, Level: 7 Points: 448, Level: 7 Points: 448, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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 !
Reply With Quote
  #23 (permalink)  
Old July 28th, 2011, 08:53 AM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #24 (permalink)  
Old July 28th, 2011, 09:59 AM
Authorized User
Points: 448, Level: 7
Points: 448, Level: 7 Points: 448, Level: 7 Points: 448, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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..
Reply With Quote
  #25 (permalink)  
Old July 28th, 2011, 11:38 AM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
Reply


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
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



All times are GMT -4. The time now is 09:30 AM.


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