Click here to Skip to main content
15,922,584 members
Home / Discussions / Database
   

Database

 
AnswerRe: Join and Nested Query Pin
DLM@TD14-Sep-07 11:01
DLM@TD14-Sep-07 11:01 
Questionarray in a asp Pin
nicetohaveyou13-Sep-07 21:07
nicetohaveyou13-Sep-07 21:07 
AnswerRe: array in a asp Pin
Joe13-Sep-07 21:57
Joe13-Sep-07 21:57 
GeneralRe: array in a sp Pin
nicetohaveyou13-Sep-07 22:30
nicetohaveyou13-Sep-07 22:30 
GeneralRe: array in a sp Pin
Pete O'Hanlon13-Sep-07 22:44
mvePete O'Hanlon13-Sep-07 22:44 
QuestionSql Reporting Services viewer refresh problem Pin
Phanindra Kumar13-Sep-07 20:24
Phanindra Kumar13-Sep-07 20:24 
AnswerRe: Sql Reporting Services viewer refresh problem Pin
DerekFL14-Sep-07 9:08
DerekFL14-Sep-07 9:08 
QuestionConnection Error [modified] Pin
Programm3r13-Sep-07 19:50
Programm3r13-Sep-07 19:50 
Hi all,

I'm making use of C++ to connect to a ODBC Oracle database, but when I do, I receive the following error:
(I'm making use of Microsoft's ODBC driver for Oracle)

[MOD]
I have have made an entry within my tnsnames.ora
my_database =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = my_host)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = my_database)
    )
  )

I have tried to ping the DSN and got the following:
C:\>tnsping MSORA                                                               
                                                                                
C:\>tnsping MSORA                                                               
                                                                                
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-SEP-2
007 08:28:33                                                                    
                                                                                
Copyright (c) 1997, 2005, Oracle.  All rights reserved.                         
                                                                                
Used parameter files:                                                           
H:\ORACLE\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora             
                                                                                
                                                                                
Used TNSNAMES adapter to resolve the alias                                      
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = pcname.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = X
E)))                                                                            
OK (20 msec)                                                                    

[MOD]

[Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified

Many Thanks in advance
Regards,


-- modified at 2:15 Friday 14th September, 2007


-- modified at 2:20 Friday 14th September, 2007


-- modified at 2:29 Friday 14th September, 2007


The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Connection Error Pin
Blue_Boy13-Sep-07 21:00
Blue_Boy13-Sep-07 21:00 
Questionremote connection with sql2005 Pin
nicetohaveyou13-Sep-07 17:58
nicetohaveyou13-Sep-07 17:58 
AnswerRe: remote connection with sql2005 Pin
Michael Potter14-Sep-07 4:50
Michael Potter14-Sep-07 4:50 
QuestionStored Procedures - Validating Variables Pin
Mark Cabbage13-Sep-07 13:43
Mark Cabbage13-Sep-07 13:43 
AnswerRe: Stored Procedures - Validating Variables Pin
yahao13-Sep-07 21:37
yahao13-Sep-07 21:37 
AnswerRe: Stored Procedures - Validating Variables Pin
Pete O'Hanlon13-Sep-07 22:49
mvePete O'Hanlon13-Sep-07 22:49 
GeneralRe: Stored Procedures - Validating Variables Pin
Mark Cabbage14-Sep-07 0:41
Mark Cabbage14-Sep-07 0:41 
GeneralRe: Stored Procedures - Validating Variables Pin
Pete O'Hanlon14-Sep-07 1:39
mvePete O'Hanlon14-Sep-07 1:39 
GeneralRe: Stored Procedures - Validating Variables Pin
Michael Potter14-Sep-07 4:56
Michael Potter14-Sep-07 4:56 
AnswerRe: Stored Procedures - Validating Variables Pin
DerekFL14-Sep-07 9:14
DerekFL14-Sep-07 9:14 
Questionstored procedure replace function problem Pin
soniasan13-Sep-07 1:08
soniasan13-Sep-07 1:08 
AnswerRe: stored procedure replace function problem Pin
Joe13-Sep-07 2:03
Joe13-Sep-07 2:03 
AnswerRe: stored procedure replace function problem Pin
andyharman13-Sep-07 7:16
professionalandyharman13-Sep-07 7:16 
GeneralRe: .. Pin
Pete O'Hanlon13-Sep-07 23:03
mvePete O'Hanlon13-Sep-07 23:03 
GeneralRe: .. Pin
Joe14-Sep-07 0:29
Joe14-Sep-07 0:29 
GeneralRe: .. Pin
Pete O'Hanlon14-Sep-07 1:35
mvePete O'Hanlon14-Sep-07 1:35 
QuestionSQL stored porcedures Pin
OS GIKEN12-Sep-07 22:26
OS GIKEN12-Sep-07 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.