Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ASP connection to oracle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-03, 15:46
nahmed nahmed is offline
Registered User
 
Join Date: Mar 2003
Location: Stoke on Trent
Posts: 8
Unhappy ASP connection to oracle

Hello there

ASP connction to oracle database

could some one advise me please
Reply With Quote
  #2 (permalink)  
Old 05-02-03, 02:35
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
Code:
OLE DB Provider for Oracle (from Microsoft) oConn.Open "Provider=msdaora;" & _ "Data Source=OracleServer.world;" & _ "User Id=;" & _ "Password=;" OLE DB Provider for Oracle (from Oracle) For Standard Security oConn.Open "Provider=OraOLEDB.Oracle;" & _ "Data Source=MyOracleDB;" & _ "User Id=;" & _ "Password=;" For a Trusted Connection oConn.Open "Provider=OraOLEDB.Oracle;" & _ "Data Source=MyOracleDB;" & _ "User Id=;" & _ "Password=;" Or oConn.Open "Provider=OraOLEDB.Oracle;" & _ "Data Source=MyOracleDB;" & _ "OSAuthent=1;"
Reply With Quote
  #3 (permalink)  
Old 05-02-03, 11:10
nahmed nahmed is offline
Registered User
 
Join Date: Mar 2003
Location: Stoke on Trent
Posts: 8
Unhappy asp error message

Hello there

after using following code

OLE DB Provider for Oracle (from Microsoft)[/b]

oConn.Open "Provider=msdaora;" & _
"Data Source=bsntora;" & _
"User Id=;" & _
"Password=;"


I am getting this error message

Microsoft OLE DB provider for oracle (0*80004005)
ora-12514: TNS:listener could not resolve SERVICES_Name given
in connection descriptor

I am working on uni server
Reply With Quote
  #4 (permalink)  
Old 05-02-03, 14:18
rhs98 rhs98 is offline
Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 440
nas your going to have to ask uni to let you play with the settings. I think most of uni computers are not set up to allow you to connect like this.

Go and ask your FYP tutor, he will be able to tell you what to do. But your cutting it fine leaving it this late: its due friday!
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

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