Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Choose Oracle Version (http://www.velocityreviews.com/forums/t795911-choose-oracle-version.html)

Colin Steadman 08-17-2004 10:59 AM

Choose Oracle Version
 
I've just had a problem with an ASP page not connecting to
one of our Oracle databases. It turns out that the web
server has Oracle 8.1 and Oracle 9.2 installed and that my
ASP page was trying to connect with Oracle 8.2. The
TNSNAMES.ORA file for this version of Oracle is not
maintained and did not have the correct entry I need.

Is it possible to force my ASP pages to use Oracle 9.2
until the migration is complete and Oracle 8.1 is removed?

My connection string looks like this:

Session("PROVIDER") = "Provider=OraOLEDB.Oracle;Data
Source=ht;User Id=" + Request.form("username")
+ ";Password=" + Request.form("password")

TIA,

Colin



Cowboy \(Gregory A. Beamer\) [MVP] 08-17-2004 12:36 PM

Re: Choose Oracle Version
 
The TNSNames.ora has to be maintained for this server, as there is no way to
tell ASP to use only the 9.2 server on a particular box with multiple
instances, at least none that I know of. The MS world realizes it is looking
at Oracle, but really does not care whether the instance is 8.1 or 9.2.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Colin Steadman" <anonymous@discussions.microsoft.com> wrote in message
news:781e01c48449$41669f20$a401280a@phx.gbl...
> I've just had a problem with an ASP page not connecting to
> one of our Oracle databases. It turns out that the web
> server has Oracle 8.1 and Oracle 9.2 installed and that my
> ASP page was trying to connect with Oracle 8.2. The
> TNSNAMES.ORA file for this version of Oracle is not
> maintained and did not have the correct entry I need.
>
> Is it possible to force my ASP pages to use Oracle 9.2
> until the migration is complete and Oracle 8.1 is removed?
>
> My connection string looks like this:
>
> Session("PROVIDER") = "Provider=OraOLEDB.Oracle;Data
> Source=ht;User Id=" + Request.form("username")
> + ";Password=" + Request.form("password")
>
> TIA,
>
> Colin
>
>




Colin Steadman 08-18-2004 07:38 AM

Re: Choose Oracle Version
 
"Cowboy \(Gregory A. Beamer\) [MVP]" <NoSpamMgbworld@comcast.netNoSpamM> wrote in message news:<uBnHebFhEHA.3612@TK2MSFTNGP12.phx.gbl>...
> The TNSNames.ora has to be maintained for this server, as there is no way to
> tell ASP to use only the 9.2 server on a particular box with multiple
> instances, at least none that I know of. The MS world realizes it is looking
> at Oracle, but really does not care whether the instance is 8.1 or 9.2.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA




OK Gregory, thank you.

Colin


All times are GMT. The time now is 07:39 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57