Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 08:46 AM
Tony Teoh
Guest
 
Posts: n/a
Default Need help using asp

All,

Current Im develop a program that using web page to connect to Oracle.
My difficulties was:

1) How to retrieve the information in tnsnames.ora and put into all
connection string into a option list to let user choose accordingly ?
2) After using had choosen the connection then a username and passowrd
page will appear to let user key in the username and password, if verify
is ok then proceed to do other stuffs else put back to login page to let
user retry.

I had tried and tried but still cannot, can someone please help me.
Thanks in advance



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2  
Old July 19th, 2005, 08:46 AM
Steve Lutz
Guest
 
Posts: n/a
Default Re: Need help using asp

Hi Tony,

For reading TNSNames.ora, I do not know of any tools that would do that, you
would have to read it in and parse it yourself.

For connecting to oracle, you need a connection string. Here's an example:

DBCONSTR = "DRIVER=Microsoft ODBC for
Oracle;PASSWORD=[password];UID=[username];SERVER=[server];"

Get the login information from the user, then complete this string. You
should then be able to use it to connect to oracle.

Steve




"Tony Teoh" <teohcl@cari.net.my> wrote in message
news:u83ZWB3iDHA.2516@TK2MSFTNGP09.phx.gbl...[color=blue]
> All,
>
> Current Im develop a program that using web page to connect to Oracle.
> My difficulties was:
>
> 1) How to retrieve the information in tnsnames.ora and put into all
> connection string into a option list to let user choose accordingly ?
> 2) After using had choosen the connection then a username and passowrd
> page will appear to let user key in the username and password, if verify
> is ok then proceed to do other stuffs else put back to login page to let
> user retry.
>
> I had tried and tried but still cannot, can someone please help me.
> Thanks in advance
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it![/color]


  #3  
Old July 19th, 2005, 08:48 AM
Tony Teoh
Guest
 
Posts: n/a
Default Re: Need help using asp

Steve,

Thanks for your help.

But I believe that it can be done by stored it into array and retrieve
it when user selected to connection.

Im new to the programming in asp and I do not know how to do it. Do you
have any ideal ?

Regards
Tony




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles