Cannot connect to Oracle with ASP
I'm having problems connecting to an Oracle database in ASP. I am using the following code:
Inc_ConnString = "Provider=OraOLEDB.Oracle;Data Source=my_db;" & _
"User Id=user_name;Password=password"
Set DBconn = Server.CreateObject("ADODB.Connection")
DBconn.Open Inc_ConnString
I am always getting the following error message:
ADODB.Connection (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
However, when I run the Visual Basic sample code, everything works fine.. with the same code. I have downloaded and installed the latests Oracle Provider for OLE DB, Oracle ODBC Drivers, Oracle Objects for OLE from www.oracle.com.. but I am still getting this error message..
Any pointers?
Give the IWAM_XXXX User full NTFS access rights to your %ORACLE_HOME%, ie. C:\oracle\ora92 and all subdirectories (this is documented in Metalink Doc-ID 258471.995).
g
Similar Messages
-
Trying to simply connect to Oracle with VBscript/ASP - and I cannot.
This is rather embarrassing. I am pretty fluent with ASP and VBscript, and I have written many a web application connecting to Microsoft SQL Server. Now I have a need to connect to an Oracle database, and I'm beating my head against the wall.
1) Web server is Windows Server 2003 SP1
2) Using ASP (not ASP.NET) & VBscript
3) I have installed the Oracle drivers on the server - it is version 10g
4) The administrator of the Oracle database to which I want to connect has created a username and password for me to use from within my code
5) Here is the code I am trying to run:
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "Provider=MSDAORA;Data Source=XXXXXXX;User Id=YYYYYYY;Password=ZZZZZZZ;"
That's it. 2 lines of code just trying to establish a connection. Using the user name and password provided to me by the administrator, and for Data Source I am using the IP address of the Oracle server (like I have done in the past when connecting to SQL Server). I receive the following error message when viewing this in a browser:
Microsoft OLE DB Provider for Oracle error '80004005'
ORA-12154: TNS:could not resolve the connect identifier specified
Evidently, the Data Source I am using is not correct, but I was provided no other information from the admin. This is the first time any of us have tried to connect to Oracle using ASP/VBScript, so the administrator isn't sure what I need to do ... any help would be so appreciated.Hello,
I got mine to work by setting up an ODBC System DSN and connecting to it. I think this bypasses the Microsoft driver, which might be what's causing the problem.
Set Db = Server.CreateObject("ADODB.Connection")
Db.Open "DSN=TEST;User ID=userid;Password=password;"
Good luck, I've found it requires a lot of persistence...
Al
Springfield, MO -
VB6 source code cannot connect to Oracle database after compile to file.exe
Hi All,
I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
Here is sample of my code connection.
Option Explicit
Private wsData As New ADODB.Connection
wsData.ConnectionString = _
"Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
wsData.Open
End sub
Rgads,
Ats.Hi,
I believe you're in the wrong forum, this forum is for Oracle Application Express. -
Need advice, sql server with asp or oracle with asp
hi !
i have been given a task to improve the design of a sql server database with more than 1 million records, front end is asp (code has to be written also, keeping user interface same). I would like to use oracle with asp, is it practical or should i go for sql server. i need your advice.
thanks in advance
lavinderDepends on your definition of "practical".
My guess is that most of the work will be porting your back-end code from SQL*Server to Oracle. The Migration Workbench can help here, but there are often things that you do in SQL*Server code that you really don't want to do in Oracle code (i.e. frequent commits).
There is a good chance that you'd be able to improve the scalability of the application faster by fixing the problems that exist in the SQL*Server implementation. I think Oracle is inherently a much more scalable platform than SQL*Server, however, so I'm not trying to dissuade you from moving. It really depends on the end state you need to achieve and the amount of time & effort you're willing to put forward.
Justin -
After a system restart i cannot connect to SAP with SAPGUI.
After a system restart i cannot connect to SAP with SAPGUI.
See attached log "dev_disp" and "dev_w0"
At the end of this message you can see the comparison between the
defective system and another working system
I notice the absence of the "IGS400" process
Could you please help me ?
Best regards to everybody.
"dev_disp" log file tell me : ************************
trc file: "dev_disp", trc level: 1, release: "640"
Thu Jun 21 13:21:24 2007
kernel runs with dp version 132(ext=102) (@(#) DPLIB-INT-VERSION-132)
length of sys_adm_ext is 312 bytes
sysno 00
sid SVI
systemid 324 (IBM iSeries with OS400)
relno 6400
patchlevel 0
patchno 147
intno 20020600
make: single threaded, ASCII, 64 bit
pid 380
Thu Jun 21 13:21:27 2007
***LOG Q00=> DpSapEnvInit, DPStart (00 380) [dpxxdisp.c 1100]
shared lib "dw_xml.so" version 147 successfully loaded
shared lib "dw_xtc.so" version 147 successfully loaded
shared lib "dw_stl.so" version 147 successfully loaded
shared lib "dw_gui.so" version 147 successfully loaded
shared lib "dw_mdm.so" version 147 successfully loaded
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >FRASTEST_SVI_00 <
DpShMCreate: sizeof(wp_adm) 10712 (824)
DpShMCreate: sizeof(tm_adm) 3021432 (15032)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 216000 (432)
DpShMCreate: sizeof(vmc_adm) 0 (448)
DpShMCreate: sizeof(wall_adm) (22440/36712/56/104)
Thu Jun 21 13:21:28 2007
DpShMCreate: SHM_DP_ADM_KEY (addr: 700000080000000, size: 3337656)
DpShMCreate: allocated sys_adm at 700000080000000
DpShMCreate: allocated wp_adm at 700000080001830
DpShMCreate: allocated tm_adm_list at 700000080004208
DpShMCreate: allocated tm_adm at 700000080004230
DpShMCreate: allocated wp_ca_adm at 7000000802e5ca8
DpShMCreate: allocated appc_ca_adm at 7000000802ea2f8
DpShMCreate: allocated comm_adm_list at 7000000802eba68
DpShMCreate: allocated comm_adm at 7000000802eba80
DpShMCreate: allocated vmc_adm_list at 700000080320640
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 700000080320668
DpShMCreate: allocated wall_adm at 700000080320670
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
Thu Jun 21 13:21:29 2007
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation std
EsIUnamFileMapInit: ES base = 0x7000000d0000000
EsStdInit: Extended Memory 4096 MB allocated
<ES> 1023 blocks reserved for free list.
ES initialized.
Thu Jun 21 13:22:33 2007
rdisp/http_min_wait_dia_wp : 1 -> 1
Thu Jun 21 13:22:35 2007
***LOG Q0K=> DpMsAttach, mscon ( FRASTEST) [dpxxdisp.c 10036]
Thu Jun 21 13:22:36 2007
DpStartStopMsg: send start message (myname is >FRASTEST_SVI_00 <)
DpStartStopMsg: start msg sent
Thu Jun 21 13:22:47 2007
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Thu Jun 21 13:22:49 2007
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 147
Release check o.K.
Thu Jun 21 13:39:13 2007
DpSigInt: caught signal 2
DpHalt: shutdown server >FRASTEST_SVI_00 < (normal)
Thu Jun 21 13:39:14 2007
***LOG Q0I=> NiPWrite: writev (32: Broken pipe) [niuxi.c 1140]
ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi.c 2455]
ERROR => MsIModState: MsINiWrite (rc=NIECONN_BROKEN) [msxxi.c 3695]
MBUF state OFF
MBUF component DOWN
DpModState: change server state from STARTING to SHUTDOWN
Thu Jun 21 13:39:15 2007
Stop work processes...
Thu Jun 21 13:40:18 2007
ERROR => DpWpKill(411, SIGUSR2): kill failed [dpxxtool.c 2462]
Stop gateway
Stop icman
Terminate gui connections
waiting for termination of work processes
Thu Jun 21 13:40:19 2007
waiting for termination of work processes
Thu Jun 21 13:40:20 2007
waiting for termination of work processes
Thu Jun 21 13:40:21 2007
waiting for termination of work processes
"dev_w0" log file tell me : ************************
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 404
M
M
M Thu Jun 21 13:22:00 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 404) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Thu Jun 21 13:22:11 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C
C Thu Jun 21 13:22:13 2007
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 404
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 025901
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 025901
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Thu Jun 21 13:22:17 2007
C SQL monitor started for job
B
B Thu Jun 21 13:22:18 2007
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070621 132200 FRASTEST
M
M Thu Jun 21 13:22:37 2007
M db_connect o.k.
M
M Thu Jun 21 13:22:38 2007
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
ACTIVE TRACE LEVEL 2
ACTIVE TRACE COMPONENTS all, M
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009ED34587C2E94220
=> Stack address = 0xffffffffffff3f0
=> Stack low = 0xfffffffffffdb30
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
Unknown at 0x3618
sleepms() at 0x1000f9324
SpinLockSemRq1() at 0x1000f926c
SemRq() at 0x1000fcf6c
ThIPCInit() at 0x1000ac1a0
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
=> CPU Registers:
msr = 0x800000000000f032 iar = 0x0000000000003618
ctr = 0x0000000000003610 lr = 0x09000000000a2890
xer = 0x0000000008000000 cr = 0x000000002a404445
r00 = 0x0000000000000000 r01 = 0x0ffffffffffff3f0
r02 = 0x00000000000000a4 r03 = 0xffffffffffffffff
r04 = 0x0000000000000000 r05 = 0x0000000000000000
r06 = 0x0000000000000000 r07 = 0x0ffffffffffff520
r08 = 0x0000000000000001 r09 = 0x0000000010108003
r10 = 0xb00010000c90e000 r11 = 0xb00010000c90ef30
r12 = 0x0900000000001eb0 r13 = 0x0000000182784a50
r14 = 0x0000000000000002 r15 = 0x00000001810e6c48
r16 = 0x0ffffffffffffb28 r17 = 0x000000018001bf20
r18 = 0x0000000000000003 r19 = 0x0000000000000004
r20 = 0x0000000180c6de34 r21 = 0x0000000180c6de28
r22 = 0x000000018004ce60 r23 = 0x0000000180c6e244
r24 = 0x0000000000000064 r25 = 0x0000000000000158
r26 = 0x0000000000000158 r27 = 0x0000000000000000
r28 = 0x0000000000000000 r29 = 0x0fffffffffffffe0
r30 = 0x09001000a005ec48 r31 = 0x0000000000000000
Thu Jun 21 13:40:23 2007
Library |(SRV)PGM |Module |Function/Statement No.
Thu Jun 21 13:40:24 2007
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
ACTIVE JOBS OF DEFECTIVE SYSTEM
Opz Sottosis/Lav corrente Tipo % CPU Funzione Stato
R3_00 QSYS SBS 0,0 DEQW
DISP_WORK SVI00 BCI 5,3 PGM-disp+work CNDW
GWRD SVI00 BCI 10,9 PGM-gwrd RUN
ICMAN SVI00 BCI 1,8 PGM-icman RUN
MSG_SERVER SVI00 BCI 0,0 PGM-MSG_SERVER SELW
RSLGCOLL SVI00 BCI 0,0 PGM-rslgcoll SELW
RSLGSEND SVI00 BCI 0,0 PGM-rslgsend SELW
SAPOSCOL SVI00 BCI 1,0 PGM-SAPOSCOL RUN
SAPSTART SVI00 BCH 0,0 PGM-sapstart EVTW
WATCHDOG SVI00 BCI 0,4 PGM-disp+work SELW
WP00 SVI00 BCI 1,0 PGM-disp+work RUN
WP01 SVI00 BCI 1,0 PGM-disp+work RUN
WP02 SVI00 BCI 1,0 PGM-disp+work RUN
WP03 SVI00 BCI 1,1 PGM-disp+work RUN
WP04 SVI00 BCI 0,9 PGM-disp+work RUN
WP05 SVI00 BCI 0,9 PGM-disp+work RUN
WP06 SVI00 BCI 0,8 PGM-disp+work RUN
WP07 SVI00 BCI 0,6 PGM-disp+work RUN
WP08 SVI00 BCI 0,0 RUN
ACTIVE JOBS OF WORKING SYSTEM
R3_03 QSYS SBS 0,0 DEQW
DISP_WORK TST03 BCI 0,0 PGM-disp+work SELW
GWRD TST03 BCI 0,0 PGM-gwrd SELW
ICMAN TST03 BCI 0,0 PGM-icman SELW
IGS400 TST03 BCI 0,0 PGM-igswd_mt THDW
IGS400 TST03 BCI 0,0 PGM-igsmux_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
MSG_SERVER TST03 BCI 0,0 PGM-MSG_SERVER SELW
RSLGSEND TST03 BCI 0,0 PGM-rslgsend THDW
SAPSTART TST03 BCH 0,0 PGM-sapstart EVTW
WATCHDOG TST03 BCI 0,0 PGM-disp+work SELW
WP00 TST03 BCI 0,0 PGM-disp+work SEMW
WP01 TST03 BCI 0,0 PGM-disp+work SEMW
WP02 TST03 BCI 2,5 PGM-disp+work RUN
WP03 TST03 BCI 0,0 PGM-disp+work SEMW
WP04 TST03 BCI 0,0 PGM-disp+work SEMW
WP05 TST03 BCI 0,0 PGM-disp+work SEMW
WP06 TST03 BCI 0,0 PGM-disp+work SEMW
WP07 TST03 BCI 0,0 PGM-disp+work SEMW
WP08 TST03 BCI 0,0 PGM-disp+work SEMW
WP09 TST03 BCI 0,0 PGM-disp+work SEMW
WP10 TST03 BCI 0,0 PGM-disp+work SEMW
WP11 TST03 BCI 0,0 PGM-disp+work SEMW
WP12 TST03 BCI 0,0 PGM-disp+work SEMWFollowing your suggestions i got this error message in the log file "dev_w0"
This process creted also a very big "core" file
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
Here is the complete log:
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 317
M
M
M Wed Aug 1 17:53:03 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 317) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Wed Aug 1 17:53:05 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 317
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 028178
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 028178
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Wed Aug 1 17:53:09 2007
C SQL monitor started for job
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070801 175303 FRASTEST
M
M Wed Aug 1 17:53:12 2007
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I
I Wed Aug 1 17:53:13 2007
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 700000200000000, size: 4400128)
M
M Wed Aug 1 17:53:14 2007
M SHM_ROLL_AREA (addr: 700000210000000, size: 268435456)
M
M Wed Aug 1 17:53:15 2007
M SHM_PAGING_AREA (addr: 700000220000000, size: 67108864)
M SHM_ROLL_ADM (addr: 700000230000000, size: 2672386)
M SHM_PAGING_ADM (addr: 700000240000000, size: 164896)
M
M Wed Aug 1 17:53:16 2007
M ThCreateNoBuffer allocated 324144 bytes for 1000 entries at 700000250000000
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 7440 bytes (50 server) at 700000260000000
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
X ES initialized.
B
B Wed Aug 1 17:53:20 2007
B db_con_shm_ini: WP_ID = 0, WP_CNT = 13, CON_ID = -1
B
B Wed Aug 1 17:53:25 2007
B dbtbxbuf: Buffer TABL (addr: 7000002d0000100, size: 64000000, end: 7000002d3d09100)
B dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 31427136
B ***LOG BB0=> buffer TABL started with length 64000000 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B
B Wed Aug 1 17:53:26 2007
B dbtbxbuf: Buffer TABLP (addr: 7000002e0000100, size: 16776192, end: 7000002e0fffd00)
B dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 8322944
B ***LOG BB0=> buffer TABLP started with length 16776192 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B dbtbxbuf: Reading TBX statistics:
B dbtbxbuf: Opening /usr/sap/SVI/DVEBMGS00/data/tbxnew failed (No such file or directory).
B dbtbxbuf: Renaming /usr/sap/SVI/DVEBMGS00/data/tbxnew to /usr/sap/SVI/DVEBMGS00/data/tbxstat failed (No such file or directory).
B dbtbxbuf: 110 object entries precreated
B Layout of EIBUF buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 8009 * 40 = 320360
B 4: 4000 * 160 = 640000
B 5: 8009 * 8 = 64072
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 319664 * 128 = 40916992
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer EIBUF (addr: 700000300000108, size: 41943040, end: 700000302800108)
B ***LOG BB0=> buffer EIBUF started with length 40960k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of ESM buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 28755 * 128 = 3680640
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer ESM (addr: 700000310000108, size: 4194304, end: 700000310400108)
B ***LOG BB0=> buffer ESM started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of CUA buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 16411 * 40 = 656440
B 4: 8191 * 160 = 1310560
B 5: 16411 * 8 = 131288
B 6: 1 * 200 = 200
B 7: 193 * 8 = 1544
B 8: 57325 * 256 = 14675200
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer CUA (addr: 700000320000108, size: 16776192, end: 700000320fffd08)
B ***LOG BB0=> buffer CUA started with length 16383k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of OTR buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 81 * 8 = 648
B 8: 28754 * 128 = 3680512
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B
B Wed Aug 1 17:53:27 2007
B dbexpbuf: Buffer OTR (addr: 700000330000108, size: 4194304, end: 700000330400108)
B ***LOG BB0=> buffer OTR started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B ***LOG BB0=> buffer CALE started with length 500000 bytes [dbcalbuf#2 @ 2212] [dbcalbuf2212 ]
C
C Wed Aug 1 17:53:29 2007
C *** ERROR => Error 304 in function db_fetch
[dbsldb4.cpp 9041]
C === DBSL Begin of SQL request after execution ===
C === DBSL SQLP0400 ===
C Function 5
C Package DDNTFIH Library R3SVIA2062
C Main_Pgm Main_Lib
C Statement_Name "Wx3AAADpDB" Cursor_Name "CADDNTF16461"
C Open_Options x80 Clause_For_Describe N
C Commitment_Control C
C Date_Format USA Date_Separator /
C Time_Format USA Time_Separator :
C Naming_Option SYS Decimal_Point .
C Blocking_Factor 1 Scrollable_Option 0
C Position_Option 0 Relative_Record 0
C Rows_To_Insert 0 Direct_Map N
C Reuse_DA N Name_Check Y
C Use_Ptrs 0 With_Hold N
C Close_File_Name Close_Library_Name *THRESHOLD
C Reopen 0 Use_Perf 1
C Query_Compl. (Reval) ! Statement_Text_CCSID 819
C Sort_Sequence_Table *JOB Sort_Sequence_Library *LIBL
C Language_ID *JOB Allow_Copy_Data S
C Allow_Blocking L
C === DBSL SQLDA ===
C sqldaid: SQLDA 2 , sqldabc: 816, sqln: 10, sqld: 4
C === TRACE VAR 0 ===
C sqlvar: 0, sqtype 469, sqllen 30, sqlname.data 13488
C sqlind: 0
C sqlname (hex):
C 0008000034B00000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 005400430041004C 0053002000200020 0020002000200020 0020002000200020
C 0020002000200020 0020002000200020 0020002000200020 00200020
C === TRACE VAR 1 ===
C sqlvar: 1, sqtype 501, sqllen 2, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000
C === TRACE VAR 2 ===
C sqlvar: 2, sqtype 497, sqllen 4, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 00000031
C === TRACE VAR 3 ===
C sqlvar: 3, sqtype 405, sqllonglen 32700
C sqldatalen NULL
C sqlind: 0
C sqlname (hex):
C 00080000FFFF0000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000028742000007 4100000000010000 0000280001000000 0100010000004944
C 0000000000000000 0000000000000000 0000000000000000 00000000004B4142
C === DBSL errc ===
C errc: OK
C === DBSL sqlca ===
C sqlcode: 304
C sqlerrml: 68, sqlerrmc:
C 00035CD540404040 4040404040404040 4040404040404040 4040404040404040
C 4040404040404040 4040404040404040 4040404040404040 4040404040404040
C 40400006
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
==> calling sap_dext to abort transaction
[dbeh.c 93]
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009E570787C2ED4260
=> Stack address = 0xfffffffffffd6f0
=> Stack low = 0xfffffffffffd6f0
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
AixStack() at 0x10008d040
CTrcStack2() at 0x10008d138
ThControl() at 0x1006551a4
dyThControl() at 0x1003ab070
dextIntern() at 0x1003aa06c
sap_dext() at 0x1003aff24
dbeh_exit() at 0x100416924
db_ntab() at 0x10039d48c
read_ntab() at 0x101512474
db_cbufload() at 0x10150f40c
reset_handling() at 0x101512f00
init_shm_and_load_cals() at 0x10151394c
db_cbufinst() at 0x101514c48
db_calinit() at 0x1005ae8bc
db_init() at 0x1001c7ae0
ThCallHooks() at 0x1000c3654
ThIPCInit() at 0x1000ac574
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
Wed Aug 1 17:53:29 2007
Library |(SRV)PGM |Module |Function/Statement No.
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
M ***LOG R1B=> ThControl, sap_dext-call (00 ) [thxxdynp.c 355]
M in_ThErrHandle: 1
M *** ERROR => ThControl: illegal sap_dext call !!! (step 1, th_errno 5, action 1, level 1) [thxxhead.c 9564]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M Entering ThSetStatError
M Entering ThReadDetachMode
M ThISend: still inside critical section semaphore ? -
Cannot connect to Host with user name J2EE_ADMIN !!!
Hi all,
this exception when deploy from NWDS04s:
<i><b>Caught exception while checking the login credentials for SAP J2EE Engine. Cannot connect to Host with user name J2EE_ADMIN</b></i>
Complete exception:
<i>Result
=> deployment aborted : file:/D:/DOCUME1/VITO1.PAL/LOCALS~1/Temp/temp23237GivaudanNavigation.ear
Aborted: development component 'GivaudanNavigation'/'local'/'LOKAL'/'0.2006.03.20.16.50.48':
Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [milds2004] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.]
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
Deployment exception : The deployment of at least one item aborted</i>
Any help will be appreciate. Thx.
VitoHi Nagarajan,
it seems not good
D:\usr\sap\GVD\DVEBMGS01\SDM\program>sdm changepassword "sdmhome=D:\usr\sap\GVD\
DVEBMGS01\SDM\program" "newpassword=ADMIN1"
D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_java_home=D:/j2sdk1.4.2_09
D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_64bit_switch=
D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_heap_size=128
D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_memory_switch=-Xmx128M
D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_com="D:/j2sdk1.4.2_09\bin\java" -X
mx128M -jar "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar"
D:\usr\sap\GVD\DVEBMGS01\SDM\program>"D:/j2sdk1.4.2_09\bin\java" -Xmx128M -jar
"D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar" changepassword "sdmhome=D:\u
sr\sap\GVD\DVEBMGS01\SDM\program" "sdmhome=D:\usr\sap\GVD\DVEBMGS01\SDM\program"
"newpassword=ADMIN1"
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addI
viewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBased
SecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator g
enerateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem
startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConf
igurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHiera
rchicalContext lookup
Starting SDM - Software Deployment Manager...
tc/SL/SDM/SDM/sap.com/SAP AG/7.0005.20051006181702.0000
Initializing Network Manager (50117)
Checking if another SDM is running on port 50118
SDM is integrated in JStartupFramework. No repository changing commands are poss
ible.
Processing error. Return code: 4
Could U help, pls? Thx
Vito -
Cannot connect Service Manager with Orchestrator Web Service URL
Dear TechNet User,
i cannot connect my service manager console with my Orchestrator Webservice. i try to connect to "http://AMSCO01:81/Orchestrator.svc" ... the user i´ve choose is local admin on the orchestrator Machine.
Thats the Logfile:
Date: 07.10.2013 15:23:16
Application: System Center Service Manager
Application Version: 7.5.2905.0
Severity: Error
Message: Could not connect to the Orchestrator web service.
System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery`1.Execute()
at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()
at Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.OrchestratorRunbookConnector.GetRunbookFolders(OrchestratorContext scoContext, Folder parentFolder)
at Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.Connectors.Orchestrator.OrchestratorConnectorHelper.ValidateServerConnection(Boolean found)
System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
any ideas? Thank you very much!Hi,
I am unable to connect to
http://hostname:81/Orchestrator2012/Orchestrator.svc/ in IE and am getting the same error while creating the connector.
I can connect to orchestrator via http://hostname:81/ but it still gives me the same error when I create the connector (Cannot connect Service Manager with Orchestrator Web Service).
anyone seen it before? -
I cannot connect my ipad with the program of yamaha stagemix, is urgent that they solve this problem to me, buys ipad esfecificamente to use that application, has somebody been able it to solve?
I cannot connect my ipad with the program of yamaha stagemix, is urgent that they solve this problem to me, buys ipad esfecificamente to use that application, has somebody been able it to solve?
-
HT204053 i cannot connect the icloud with my Imac
i cannot connect the icloud with my Imac
Go to System Preference and click 'iCloud'. Then, just login with your apple account and click on items you want to activate. (like mail, notes, and photo stream)
-
TS1286 Cannot connect to internet with USB
I am a new user of Ipod touch 5th gen 32 gig I cannot connect to internet with usb?
Hi bikernblondie,
When you say that you're trying to connect to the internet with USB, do you mean that you're trying to connect your iPod to the internet so that you can surf the internet with a browser on your iPod, or that you're trying to connect your iPod to your computer so that you can sync it with iTunes and bring over songs, movies, apps, etc.?
- O.C. -
HT1222 I cannot connect Iphone 5 with itunes store.
I cannot connect Iphone 5 with itunes store.
I couldn't earlier but it seems OK now. Possibly it was down temporarily?
-
Cannot connect jdev2.0 with oracle 8i
I cannot connect my jdev2.0 with oracle 8i.
I am getting the following error.
"The network adapter couldn't make the connection"
I would be really thankful if someone can help me this problem.I guess I should have also askced you which driver you are using to connect.. thin or OCI.
First thing you should do is select your project and choose Properties from the right-mouse menu. Make sure 'Oracle 8.1.5 JDBC' shows up in the Libraries list. If it doesn't, choose Add to add it.
If you are using the thin driver, try using the Named Host method of connecting (rather than existing TNS Names). This method does not depend on an external Oracle Home like the TNS method does.
If you do want to use the TNS method, choose Tools|IDE Options from the menu. On the Environment tab, you can explictly set which Oracle Home to have JDeveloper look for the TNS entry.
Also, for the thin driver, check the Oracle 8.1.5 JDBC User's Guide and reference. There is a section in Chapter 1 or 2 which provides sample code for testing a JDBC connection from the command line.
If you are using the OCI driver, and your database is on the same machine that you are running JDev from: make sure that the Oracle Home JDev is using is the one where your database is installed.
If you are using the OCI driver and the database is on a different machine, you need to install the Oracle Client software that matches the version of the JDBC drivers you are using (by default, 8.1.5 in JDev 2.0 and 3.0).
Laura -
Cannot connect to Oracle 8i with IIOP from JDev3.1
Hi,
I have the problem of connect to Oracle 8i with IIOP from JDeveloper 3.1 when I build application with BC4J. I can connect to my Oracle 8i database with ODBC easily but failed with IIOP. Does anyone here has the same experience?
Any help will be appreciated. Thank you.
nullHi Daniel:
I've solved the problem mentioned above. It requires two settings:
I) Enabling Multithreaded Server Support for IIOP Clients;
II) Listener's listening to port 2481
Of course you should have installed JServer into your Oracle 8i database.
In your init.ora file, you should have the following two lines:
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_dispatchers = "(protocol=TCP)"
To confirm this you may use SQLPLUS to list the parameters of the database setting:
mts_dispatchers string (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer), (protocol=TCP)
mts_servers integer 1
And in TNSnames.ora file the setting should like this:
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 2481))
All these two settings ( init.ora and tnsnames.ora ) can be done with "Database Configuration Assistant" and "Net8 Assistant"
I solved my problem this way, your problem may not the same but anyway you may try it.
null -
Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.
<p>
I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
DETAILS
</p>
<p>
1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
</p>
<ul>
<li>define an ODBC connection (Data tab --> From other sources --> From data connection wizard);</li>
<li>define a query on the worksheet -- that's it, this is all!</li>
</ul>
<p>
I start with creating an ODBC connection:
a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
c) Excel-2007 displays the Data Link Properties:
- the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
- the "Connection" tab has a connection string "<strong><em>DSN=<my database name></em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
- Finally there is a button "Test Connection", which when I click produces the following error message:
<strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
</strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
</strong>
4) <strong>Additional food for thought:</strong>
a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
- in <strong><em>Control Panel --> Admin Tools --> Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
- selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em><user name>/<password></em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
BOTTOM LINE
</p>
<p>
The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
Plamen
</p>Did you find the solution to your problem?
If not, I think I may know.
Excel 2007 is a 32-bit application.
When installing 32-bit applications in a 64-bit environment, the "default" location is:
C:\Program files (x86)\...
Excel then launches from this location.
However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
and then it cannot return the connection info back to the calling application.
I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
However, at my location, they are FORCING Excel to be installed in the(x86) location.
What I'm trying to discover now is:
Is it possible to flag Oracle to NOT process the embedded variables?
Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
Have you had any luck with your installation?
thanks,
Paul -
Cannot Connect to Oracle, PHP cannot load oci dlls
Hello,
I have installed wamp on windows server, and oracle 9, When I try to connect to oracle in php I get:
Fatal error: Call to undefined function oci_connect() in C:\wamp\www\project2\index.php on line 3
Also when I start wamp, it cannot load the oci dlls found on:
C:\wamp\bin\php\php5.3.0\ext
I have configured the php.ini file and commented as much options
extension_dir = "C:/wamp/bin/php/php5.3.0/ext/"
extension=php_oci8.dll ; Use with Oracle 10gR2 Instant ...
extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
extension=php_oracle.dll
extension=oci8.so
I am unable to either connect to the database through php, also when I start wamp, i get pop up windows that it cannot load the dynamic procedures related to oracle: php_oce.dll, php_oce8.dll, php_pdo_oci,
I have even eddited the http.conf file
Also have done this:
•Add the following entries to the "C:\Apache\Apache\conf\httpd.conf" file:
LoadModule php4_module c:\php\sapi\php4apache.dll (approx line 193)
AddModule mod_php4.c (approx line 241)
AddType application/x-httpd-php .php (approx line 851)
I have included the phpinfofile attached as well, part of it below is:
System Windows NT SELECAO 5.2 build 3790 (Windows Server 2003 Standard Edition Service Pack 2) i586
Build Date Jun 29 2009 21:23:30
Compiler MSVC6 (Visual C++ 6.0)
Architecture x86
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\wamp\bin\php\php5.3.0\php.ini
Configuration
apache2handler
Apache Version Apache/2.2.11 (Win32) PHP/5.3.0
Apache API Version 20051115
Server Administrator admin@localhost
Hostname:Port localhost:80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/wamp/bin/apache/Apache2.2.11
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5I get this error, i decided to change directory for oracle_home
putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1/bin");
to
putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
it functioned.
my code
<?php
putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
putenv("ORACLE_SID=PLSExtProc");
$user ="name"; // set user
$senha="password"; // set password
$banco="(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)
(HOST=127.0.0.1)(PORT=1521)
(CONNECT_DATA=(SERVICE_NAME=orcl))
)"; // configuracoes do banco (isso muda um pouco no oracle)
if ($conexao = OCILogon($user,$senha,$banco))
echo "Conexão bem sucedida.";
else
echo "Erro na conexão com o Oracle.";
?>
Maybe you are looking for
-
How can I get my icloud keychain to my ipod if I no longer have my iphone 5c
-
IPod not showing up in Windows or iTunes? Showing up as removable disk :F ?
I have a 5th generation iPod Nano and I have had it for about a year. I tried plugging the iPod into my computer (Windows), but my computer and iTunes do not recognize it. The first few seconds when I do plug in my iPod, I go to My Computer and I see
-
We are working on a product release by end of July 2008 - We would like to utilize fileupload data read capability of Flash 10 beta 3. Would like to know the release timeline for Flash 10 player so that we can make some design decisions to make Flash
-
I clicked on the angled arrows in the upper right corner of my screen in Safari and then lost my top menu bar, the one with the apple. How do I get it back?
-
My neighbour recently purchased a handsfree set which has the caller display facility and had the caller ID function activated on her phone and all went well for a few days then the phone stopped displaying caller ID. She called BT who checked the li