Linking error by using oracle11.1.0 OCCI in VS 2008 (Windows 64Bit)
Hello *,
I try to link a simple program in C++ (VS2008, Windows Professional 64 Bit) but I stiill get the LNK2001 error :
error LNK2001: unresolved external symbol "public: static void __cdecl oracle::occi::Environment::terminateEnvironment...
error LNK2001: unresolved external symbol "public: static class oracle::occi::Environment * __cdecl oracle::occi::Environment::createEnvironment
I use the simple example from this thread Oracle 10g and OCCI in Visual Studio 2008
but it doesn't work.
Here my command line options in VS Project (Release):
C/C++ Command Line: /O2 /Oi /GL /I "G:\OracleDB\product\11.1.0\db_1\OCI\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Gy /Fo"Release\\" /Fd"Release\vc90.pdb" /W3 /nologo /c /Zi /TP /errorReport:prompt
Linker:
/OUT:"G:\WissArbeit\TestOracleCLI\Release\TestOracleCLI.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"G:\Walther\Vesuch2\instantclient-basic-win-x86-64-11.1.0.7.0\instantclient_11_1\vc9" /MANIFEST /MANIFESTFILE:"Release\TestOracleCLI.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"G:\WissArbeit\TestOracleCLI\Release\TestOracleCLI.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT oraocci11.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
PATH=G:\Walther\Vesuch2\instantclient-basic-win-x86-64-11.1.0.7.0\instantclient_11_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Tortoise SVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\
The folder ...instantclient-basic-win-x86-64-11.1.0.7.0\instantclient_11_1\vc9 contains
oraocci11.dll
oraocci11.dll.manifest
oraocci11.lib
oraocci11d.dll
oraocci11d.dll.manifest
oraocci11.lib
downloaded from http://www.oracle.com/technology/tech/oci/occi/occidownloads.html
Can somebody say what is wrong?
Thanks
Christina
Hi Christina,
This is what I did using Visual Studio 2008 Professional Edition on Windows Server 2008 64-Bit:
I downloaded the Instant Client Basic and Instant Client Package - SDK for Windows (x64) from here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winx64soft.html
I then downloaded the OCCI for Visual C++9 (VS 2008)[Windows x64] from here:
http://www.oracle.com/technology/tech/oci/occi/occidownloads.html
I think these are the same downloads you used.
1. I then extracted the Instant Client packages to C:\Temp which created the following directory:
C:\Temp\instantclient_11_1
2. The Instant Client SDK was extracted to C:\Temp as well into the following directory:
C:\Temp\instantclient_11_1\sdk
3. I extracted the OCCI package and then moved the libraries, dll files, and manifest files into C:\Temp\instantclient_11_1\sdk\lib\msvc\vc9
4. I copied oraocci11.dll and oraocci11d.dll from C:\Temp\instantclient_11_1\sdk\lib\msvc\vc9 to C:\Temp\instantclient_11_1
5. I removed oraocci11.lib from C:\Temp\instantclient_11_1\sdk\lib\msvc
6. I added C:\Temp\instantclient_11_1 to the system path
7. In Visual Studio 2008 I added the include and library paths as follows:
Tools -> Options... -> Projects and Solutions -> VC++ Directories
Platform: x64
Show directories for:
Include files -- here I added C:\Temp\instantclient_11_1\sdk\include (I removed all other Oracle include directories for the test)
Library files -- here I added C:\Temp\instantclient_11_1\sdk\lib\msvc and C:\Temp\instantclient_11_1\sdk\lib\msvc\vc9 (I removed all other Oracle library directories for the test)
8. Added oraocci11.lib to the linker in Project -> OCCITest Properties... -> Configuration Properties -> Linker -> Input -> Additional Dependencies -> oraocci11.lib
9. I then built and executed the simple test you linked to above with no errors.
Here's the build log for the release build:
Build Log Build started: Project: OCCITest, Configuration: Release|x64
Command Lines Creating temporary file "c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000923843192.rsp" with contents
/GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Fo"x64\Release\\" /Fd"x64\Release\vc90.pdb" /W3 /c /Zi /TP ".\OCCITest.cpp"
Creating command line "cl.exe @"c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000923843192.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000A23843192.rsp" with contents
/OUT:"C:\My Projects\Test\CPP\OCCITest\x64\Release\OCCITest.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"x64\Release\OCCITest.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\My Projects\Test\CPP\OCCITest\x64\Release\OCCITest.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /DYNAMICBASE:NO /MACHINE:X64 oraocci11.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\x64\Release\OCCITest.obj"
Creating command line "link.exe @"c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000A23843192.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000B23843192.rsp" with contents
/outputresource:".\x64\Release\OCCITest.exe;#1" /manifest
".\x64\Release\OCCITest.exe.intermediate.manifest"
Creating command line "mt.exe @"c:\My Projects\Test\CPP\OCCITest\x64\Release\RSP00000B23843192.rsp" /nologo"
Creating temporary file "c:\My Projects\Test\CPP\OCCITest\x64\Release\BAT00000C23843192.bat" with contents
@echo Manifest resource last updated at %TIME% on %DATE% > ".\x64\Release\mt.dep"
Creating command line """c:\My Projects\Test\CPP\OCCITest\x64\Release\BAT00000C23843192.bat"""
Output Window Compiling...
OCCITest.cpp
Linking...
Generating code
Finished generating code
Embedding manifest...
Results Build log was saved at "file://c:\My Projects\Test\CPP\OCCITest\x64\Release\BuildLog.htm"
OCCITest - 0 error(s), 0 warning(s)And here is the output window results for executing the test from within Visual Studio:
'OCCITest.exe': Loaded 'C:\My Projects\Test\CPP\OCCITest\x64\Release\OCCITest.exe', Symbols loaded.
'OCCITest.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Temp\instantclient_11_1\oraocci11.dll'
'OCCITest.exe': Loaded 'C:\Temp\instantclient_11_1\oci.dll', Binary was not built with debug information.
'OCCITest.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\advapi32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\psapi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_99b61f5e8371c1d4\msvcr90.dll', Symbols loaded.
'OCCITest.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_99b61f5e8371c1d4\msvcp90.dll', Symbols loaded.
'OCCITest.exe': Loaded 'C:\Temp\instantclient_11_1\oraociei11.dll', Binary was not built with debug information.
'OCCITest.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\nsi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\shell32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\gdi32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\user32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\ole32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\winmm.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\oleacc.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\IPHLPAPI.DLL', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\dhcpcsvc.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\dnsapi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\secur32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\winnsi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\dhcpcsvc6.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\crypt32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\msasn1.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\userenv.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\dbghelp.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\imm32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\msctf.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\lpk.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\usp10.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_152e7382f3bd50c6\comctl32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\mswsock.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\wship6.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\winrnr.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\Wldap32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\nlaapi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\NapiNSP.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\rasadhlp.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\WSHTCPIP.DLL', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\netapi32.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Loaded 'C:\Windows\System32\cscapi.dll', Symbols loaded (source information stripped).
'OCCITest.exe': Unloaded 'C:\Windows\System32\netapi32.dll'
'OCCITest.exe': Unloaded 'C:\Windows\System32\cscapi.dll'
The program '[3680] OCCITest.exe: Native' has exited with code 0 (0x0).I'm not sure if that is helpful at all, but I didn't have any errors.
Some of the lines are really long... hopefully that doesn't cause too much difficulty in reading them.
Regards,
Mark
Similar Messages
-
Linking errors when using ibsta
Hello,
I have been trying to write C code to automate a Keithley 2410 through GPIB. I am using Windows XP 32-bit, and VC++.
I believe I was successful in getting a handle to the gpib-32.dll. However, I am getting a linking error when I try to use ibsta: 1>helloworld.obj : error LNK2001: unresolved external symbol _ibsta
1>C:\Documents and Settings\Prober\My Documents\C Programs\helloworld\Debug\helloworld.exe : fatal error LNK1120: 1 unresolved externals
However, when I look through the ni488.h, I see that ibsta is a global variable. Therefore I am confused as to why I am getting a linking error
I am following this guide: http://na.tm.agilent.com/pna/help/latest/Programming/GPIB_Example_Programs/GPIB_using_Visual_C++.htm
My code is attached
Attachments:
code.c 3 KBCheck out the 4882query.c example located on your computer at National Instruments > NI-488.2 > Examples > Standard C > 4882query. The National Instruments folder might be in a sub-folder of Public or Public Documents. Look at the ReadMe.txt file first. It contains a C++ section. Then try compiling the example and see what happens.
Jeff Munn
Applications Engineer
National Instruments -
Unsatisfied Link Error when using Oracle OCI (Type II) driver
Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
If when creating a connection pool via the console, using the Oracle OCI (Type
II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
or format error" then check that the library included in the SHLIB_PATH is pointing
at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/libWe do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
Linking error when using C++ DLL for writing TDM files
I try to integrate TDM into my C++ code. Then I downloaded the package from the NI website "Integrating TDMS in Third-Party Products". I tested the the sample "writeFile.c". But a linking error as following occurred:
1>Linking...
1>nilibddc.lib(implib.obj) : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function _LoadDLLIfNeeded
1>.\Debug/Test TDM.exe : fatal error LNK1120: 1 unresolved externals
Can anyone help me out. Many thanks.
Solved!
Go to Solution.I migrated my code from VC++ 6 compiler to VC++ 2005. Then linking errors are gone.
nilibddc.lib(implib.obj) : error LNK2001: unresolved external symbol ___security_cookie
nilibddc.lib(implib.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
P.S. "Read me" from NI says "The Microsoft 32-bit format is compatible with Microsoft Visual C version 6.0". But I tested the code with VC++6 professional with SP6 package and upgrade the SDK to the latest version that supports vc6. I still have the linking errors. My test seems prove that the dll does not support VC6.
Message Edited by Kuo on 04-22-2010 05:03 AM -
Link error when using WebLogic 6.0 and Oracle 8.1.6
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected]
[att1.html]We do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
i have all the issues stated in my question as of this morning. they werent there last night. WTF happened to my beloved firefox? BTW,
I got an amd dual core 4000, nvidia gtx 9800, 4 gigs ram, running on windows xp sp3.
BTW, windows updated last night, and thats when i got the problems
== User Agent ==
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; WWTClient2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; Creative AutoUpdate v1.40.01)I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6. -
Error when use Crystal report Bundled Version with Vs2003 on Windows Vista
Post Author: MartinoLuccarelli
CA Forum: .NET
Hi, I have developed a software with Vs2003 that uses Crystal report Bundled Version. I have created a Installation package that include the merge modules, and i have entered the Licence Key for Crystal_regWiz2003 module. If i install and use the software in the computer with XP or Windows 2000 I do not have problems. But when i install the software on the PC with Windows Vista i have this error when the probram show a report "Operazine di Crystal Report non Riuscita perche' non e' stato possibile ottenere una licenza gratuita nel tempo allocato" Thank'sUninstall CRVS2010 that you currently have installed.
To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325 - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
Reinstall CRVS2010 SP1 from here:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
- Ludek -
After loading Acrobat 9 Pro on my desktop PC (Windows 8.1; 64-bit OS), opening and closing a previously saved pdf file, I constantly get a message pop-up that indicates a "database organizer" error.
How do I fix this?
I have read multiple responses at various forums and they do not seem to apply, or have not worked for others, with regard to the details of my version of Acrobat and Windows OS.
I'm beginning to think that the only solution is to purchase the latest version of Acrobat Pro and install it on my PC, which, of course, I would prefer not to do, unless this is my only viable option.
Can this problem, specific to my version of Acrobat and Windows OS, be fixed or is the simple answer: purchase the latest version of Acrobat Pro, because there is no fix for my version of Acrobat/Windows OS?
Any help would be greatly appreciated.
FHWHi Frank ,
Please refer to the following link and see if this helps.
https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Regards
Sukrit Dhingra -
Error when using SAP authentication for Designer
my error is:
[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(The
secSAPR3 DLL could not be found or does not exist(hr=#0x80042a01)
can you help me?
regardshi,
pls refer the link
Error when using SAP authentication for Designer
try re-installing BOE and check
hope it helps,
sundar -
Linker errors when linking OCCI 10.1.0 statically on RH AS 3.0 platform
Hello All,
I was trying to build an OCCI program on a Red Hat AS 3.0 Update 4 Platform, statically linking to OCCI libraries of Oracle 10.1.0 version. The g++ compiler version is 3.2.3.
The Makefile and the errors that got generated is mentioned below. However, I could able to build the program when linking through shared library version of OCCI. My requirement is to build the program statically.
I had been stuck up with this for almost a week and tried checking the previous postings in the forums/newsgroups, but not of much help. I added the following libraries :
-lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10\
-lnsslb10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10
to the Makefile, based on somebody's posting in OCI/OCCI forum. If I didn't provide
-lpthread I get linker errors in pthread_xxx functions.
Any help/pointers on this would be really appreciated.
Makefile (static link)
======
CXX=/usr/bin/g++
ORA_HOME=/u01/app/oracle/product/10.1.0
ifndef CXXFLAGS
# Define C++ compiler flags to locate third-party header files as well as
# any other options you may want.
CXXFLAGS=-I${ORA_HOME}/rdbms/demo \
-I${ORA_HOME}/rdbms/public \
-I${ORA_HOME}/plsql/public \
-I${ORA_HOME}/network/public
endif
# Include any header files in the current directoryj
CXXFLAGS:=$(CXXFLAGS) -I . -g -static
ifndef LDFLAGS
# Define link paths for Oracle libraries.
LDFLAGS=-L${ORA_HOME}/lib/ -L${ORA_HOME}/rdbms/lib/
endif
LIBS=-locci10 -lclntst10 -lnsl -ldl -lm \
-lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10\
-lnsslb10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -lpthread
#LIBS=${ORA_HOME}/lib/libocci10.a ${ORA_HOME}/lib/libclntst10.a -lpthread -ldl
OCCIPROG=SCDBUtilTest
OCCIOBJ=SCDBUtil.o SCDBUtilTest.o
debug: ${OCCIPROG}
${OCCIPROG}: ${OCCIOBJ}
${CXX} ${CXXFLAGS} -o $@ ${OCCIOBJ} ${LDFLAGS} ${LIBS}
clean:
-rm -f $(OCCIPROG) $(OCCIOBJ)
When ran make, below is the output generated.
/usr/bin/g++ -I/u01/app/oracle/product/10.1.0/rdbms/demo -I/u01/app/oracle/product/10.1.0/rdbms/public -I/u01/app/oracle/product/10.1.0/plsql/public -I/u01/app/oracle/product/10.1.0/network/public -I . -g -static -c -o SCDBUtil.o SCDBUtil.cpp
/usr/bin/g++ -I/u01/app/oracle/product/10.1.0/rdbms/demo -I/u01/app/oracle/product/10.1.0/rdbms/public -I/u01/app/oracle/product/10.1.0/plsql/public -I/u01/app/oracle/product/10.1.0/network/public -I . -g -static -c -o SCDBUtilTest.o SCDBUtilTest.cpp
/usr/bin/g++ -I/u01/app/oracle/product/10.1.0/rdbms/demo -I/u01/app/oracle/product/10.1.0/rdbms/public -I/u01/app/oracle/product/10.1.0/plsql/public -I/u01/app/oracle/product/10.1.0/network/public -I . -g -static -o SCDBUtilTest SCDBUtil.o SCDBUtilTest.o -L/u01/app/oracle/product/10.1.0/lib/ -L/u01/app/oracle/product/10.1.0/rdbms/lib/ -locci10 -lclntst10 -lnsl -ldl -lm -lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10 -lnsslb10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -lpthread
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sqmul.o)(.text+0xab): In function `sqmul_dlopen':
: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sntp.o)(.text+0x1089): In function `sntpcall':
: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sntp.o)(.text+0x10a1): In function `sntpcall':
: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sntp.o)(.text+0xfa1): In function `sntpcall':
: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(si.o)(.text+0x14f): In function `sigunmu':
: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sniq.o)(.text+0x224): In function `snigun':
: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(snlpc.o)(.text+0x1427): In function `snlpcgthstbyad':
: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(slputcp.o)(.text+0x245): In function `slputcpsockaddr':
: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sgslun.o)(.text+0x2ef0): In function `sgslunGetHostName':
: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(snlpc.o)(.text+0xe90): In function `snlpcgthstent':
: Using 'gethostent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(snlpc.o)(.text+0x1945): In function `snlpcgtsrvbynm':
: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(snlpc.o)(.text+0x1b8b): In function `snlpcgtsrvbypt':
: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(snlpc.o)(.text+0x1702): In function `snlpcgtsrvent':
: Using 'getservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiStatementImpl.o)(.text+0x6ffb): In function `oracle::occi::StatementImpl::getObject(unsigned int)':
: undefined reference to `OCIPAnyDataSetFlag'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiResultSetImpl.o)(.text+0xf99): In function `oracle::occi::ResultSetImpl::getBFloat(unsigned int)':
: undefined reference to `lfpinit'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiResultSetImpl.o)(.text+0x10d9): In function `oracle::occi::ResultSetImpl::getBDouble(unsigned int)':
: undefined reference to `lfpinit'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiResultSetImpl.o)(.text+0x1ca8): In function `oracle::occi::ResultSetImpl::getObject(unsigned int)':
: undefined reference to `OCIPAnyDataSetFlag'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiResultSetImpl.o)(.text+0x48b6): In function `oracle::occi::ResultSetImpl::defineConvertBFloat(oracle::occi::ResultSetImpl::Define*, float*, unsigned int*, int)':
: undefined reference to `lfpinit'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiResultSetImpl.o)(.text+0x49e2): In function `oracle::occi::ResultSetImpl::defineConvertBDouble(oracle::occi::ResultSetImpl::Define*, double*, unsigned int*, int)':
: undefined reference to `lfpinit'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0x1aa): In function `oracle::occi::Timestamp::Timestamp(oracle::occi::Environment const*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to `OCIPGetTZI'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0x256): In function `oracle::occi::Timestamp::Timestamp(oracle::occi::Environment const*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to `OCIPGetTZI'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0x302): In function `oracle::occi::Timestamp::Timestamp(oracle::occi::Environment const*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<unsigned short, oracle::occi::utext_char_traits, std::allocator<unsigned short> > const&)':
: undefined reference to `OCIPGetTZI'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0x3be): In function `oracle::occi::Timestamp::Timestamp(oracle::occi::Environment const*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<unsigned short, oracle::occi::utext_char_traits, std::allocator<unsigned short> > const&)':
: undefined reference to `OCIPGetTZI'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0x48a): In function `oracle::occi::Timestamp::do_TimestampConstruct(oracle::occi::Environment const*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*)':
: undefined reference to `OCIPGetTZI'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiTimestamp.o)(.text+0xb42): more undefined references to `OCIPGetTZI' follow
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiSQLExceptionImpl.o)(.text+0x91): In function `oracle::occi::SQLExceptionImpl::getNLSMessage(oracle::occi::Environment*) const':
: undefined reference to `OCIPGetErrorMessageNLS'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiSQLExceptionImpl.o)(.text+0x15b): In function `oracle::occi::SQLExceptionImpl::getNLSUStringMessage(oracle::occi::Environment*) const':
: undefined reference to `OCIPGetErrorMessageNLS'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x56): In function `oracle::occi::AnyDataImpl::AnyDataImpl(oracle::occi::Connection const*, OCIAnyData*, bool)':
: undefined reference to `OCIPAnyDataSetUCIOptMode'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x156): In function `oracle::occi::AnyDataImpl::AnyDataImpl(oracle::occi::Connection const*, OCIAnyData*, bool)':
: undefined reference to `OCIPAnyDataSetUCIOptMode'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x3ae): In function `oracle::occi::AnyDataImpl::AnyDataImpl(oracle::occi::AnyDataCtx const*)':
: undefined reference to `OCIPAnyDataSetUCIOptMode'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x4e6): In function `oracle::occi::AnyDataImpl::AnyDataImpl(oracle::occi::AnyDataCtx const*)':
: undefined reference to `OCIPAnyDataSetUCIOptMode'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x780): In function `oracle::occi::AnyDataImpl::setNull()':
: undefined reference to `OCIPAnyDataSetNull'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x1cc5): In function `oracle::occi::AnyDataImpl::setObject(oracle::occi::PObject const*)':
: undefined reference to `OCIPAnyDataSetFlag'
/u01/app/oracle/product/10.1.0/lib//libocci10.a(occiAnyDataImpl.o)(.text+0x2d6f): In function `oracle::occi::AnyDataImpl::getAsObject() const':
: undefined reference to `OCIPAnyDataSetFlag'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstclo.o)(.text+0x39): In function `lstclo':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstclo.o)(.text+0x52): In function `lstclo':
: undefined reference to `__ctype_tolower'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstclo.o)(.text+0x6f): In function `lstclo':
: undefined reference to `__ctype_tolower'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstmclo.o)(.text+0x46): In function `lstmclo':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstmclo.o)(.text+0x5f): In function `lstmclo':
: undefined reference to `__ctype_tolower'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstmclo.o)(.text+0x7c): In function `lstmclo':
: undefined reference to `__ctype_tolower'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lxhcnv.o)(.text+0x366): In function `lxhcnv':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lxpname.o)(.text+0xc5): In function `lxpname':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(sl.o)(.text+0x405): In function `sltln':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kge.o)(.text+0x2b19): In function `kgespf':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kge.o)(.text+0x2d12): In function `kgespf':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kgh.o)(.text+0x10d48): more undefined references to `__ctype_b' follow
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpuini.o)(.text+0x1d70): In function `kpufhndl0':
: undefined reference to `wtcsrfre'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpuini.o)(.text+0x7e00): In function `kpuinit0':
: undefined reference to `wtcsrin'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lcvb24.o)(.text+0x45): In function `lcvb24':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lcvb24.o)(.text+0x9a): In function `lcvb24':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lcvb2w.o)(.text+0x45): In function `lcvb2w':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lcvb2w.o)(.text+0x9a): In function `lcvb2w':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lpu.o)(.text+0x1c5): In function `lpuparse':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lpu.o)(.text+0xf62): more undefined references to `__ctype_b' follow
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstlo.o)(.text+0x44): In function `lstlo':
: undefined reference to `__ctype_tolower'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstmup.o)(.text+0x43): In function `lstmup':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstup.o)(.text+0x28): In function `lstup':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstup.o)(.text+0x44): In function `lstup':
: undefined reference to `__ctype_toupper'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0x54f5): In function `LsxvParseDecimal':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0x6da8): In function `LsxValidateBinary':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0x7710): In function `LsxValidateLong':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0xb274): In function `LsxvIsLanguage':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0xb316): In function `LsxvIsLanguage':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lsxv.o)(.text+0xb3ac): more undefined references to `__ctype_b' follow
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpucc.o)(.text+0x271): In function `kpuccCacheErr':
: undefined reference to `wtcLerr'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpucc.o)(.text+0x2a6): In function `kpuccMainErr':
: undefined reference to `wtcMerr'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpucc.o)(.text+0x2e1): In function `kpuccGoRemote':
: undefined reference to `wtclkm'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(kpucc.o)(.text+0x326): In function `kpuccGetStats':
: undefined reference to `wtcstu'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lpxbuf.o)(.text+0x2a4f): In function `LpxbufSingleProcess':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(lstmlo.o)(.text+0x43): In function `lstmlo':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(nldt.o)(.text+0x9a1): In function `nldtstr2lv':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(nlfi.o)(.text+0x42f): In function `nlfifpf':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(nlfi.o)(.text+0x462): In function `nlfifpf':
: undefined reference to `__ctype_b'
/u01/app/oracle/product/10.1.0/lib//libclntst10.a(nlfi.o)(.text+0x4d4): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make: *** [SCDBUtilTest] Error 1
Thanks & Regards,
Karthik DHi ,
Oh! Anyway, thanks for the information. However, the glibc version I use is glibc-2.3.2-95.30.
There is a bit of story behind the reason we tried to use static linking. Actually, the application around which we use to develop solutions supports only Oracle 9i. We were developing some components using the C++ SDK provided by application vendor and that components need some information from DB for processing. So, we needed to write a DB class to do that. Since, we found Oracle supports C++ DB interface(OCCI), we thought to use that.
We had to use RH AS 3.0 platform and the gcc compiler 3.2.x+ for compiling our component code. But Oracle 9i OCCI code doesn't get compiled with gcc/g++ 3.2.x+ compilers. So, we planned to use Oracle 10g OCCI libraries for building the DB class and link it to the custom component we had developed.
In the run-time environment, we had to install both Oracle 9i clients and Oracle 10g clients since the app requires Oracle 9i and the custom component requires Oracle 10g. We did some kind of tweaking (by providing symbolic links to Oracle 10g OCCI libraries from Oracle 9i client directory) so that both the app and the component gets started.
I know this is not a good idea. But we didn't want to spend much time on this at that time since we were doing a proof-of-concept. Later, we thought what could be done. We thought ,first we can try lthe custom component linked to static library version of OCCI. That's the reason we tried of static linking.
The other option is to use OCI interface. But this is a bit of work since we need to write lot of wrapper methods to handle intricacies with OCI and OCI code is cumbersome compared to OCCI.
Hope now you could have got the problem, I am talking about. Any other better ways?
Thanks
Karthik -
Linking error while trying to connect to 10 g oracle db through OCCI
Hello experts,
Iam getting a linking error while trying to connect to 10 g through OCCI.I've tried both available Instant client versions,But no luck.now, I am using instant client 11.2.0.2 with visual studio 2005 and oracle 10 g on 32 bit XP. I get "*The procedure entry point OCILobSetContentType could not be located in the dynamic link library OCI.dll*" linking error
How can i fix this error
Thanks in advance..
Regards,
SrihariHello,
Please ensure that you are using correct PATH and ORACLE_HOME settings - for example if IC 11202 is installed in
c:\oracle\11202\instantclient_112
execute on commandline
ORACLE_HOME=c:\oracle\11202\instantclient_112
PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%PATH%
before starting VS2005 from commandline - or generate a commandscript
Inside VS2005 please ensure that you are picking up the libraries from
%ORACLE_HOM%\oci\lib\msvc\v8\*
furtheron, copy the
%ORACLE_HOM%\oci\lib\msvc\v8\*.dll
to %ORACLE_HOME% - otherwise by default the v9 ar picked up (copied during installation)
When this has been done, build the code and test - should work
regards,
Frank
Edited by: fscherie on 11.01.2012 12:41 -
ORA-01017 error while using a database link
Hi all,
I have a TNS entry as below
HOME=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.66.205.110)(PORT=1521))
(CONNECT_DATA=(SID=HOME))
I have created a database link as
create public database link link92.com using 'HOME'.
This was created successfully and an entry was made in all_db_links table.
However if i try connecting to a table in the remote database...for example
select * from emp@link92;
I am receiving an error ORA-01017(Invalid username passwd).
Would appreciate if somebody could help me out.
Thank youIt is not that the Database Link is "PUBLIC" that makes it use the current username/password.
It is that the Database Link has been created without specifying a " CONNECT TO username IDENTIFIED BY password " that makes the DBLink behave as a "current user database link" using the current username/password to connect to the remote database.
You can have a PUBLIC database link that uses a "CONNECT TO username IDENTIFIED BY password" such that all connections use the same remote username and password.
You can also have "private" (ie not PUBLIC) database link that does not specify a "CONNECT TO username IDENTIFIED BY password" which becomes a "current user [owner] database link". -
Getting linker error in Visual studio while trying to use class ActiveSelectionObserver
I am trying to implement a selection observer. I am using public specifier to derive from class ActiveSelectionObserver and have included the header file SelectionObserver.h.
But I am getting the below error from linker while trying to do that.
Below is the my code:
class CSDTSelectionObserverImpl : public ActiveSelectionObserver
/* some code here**/
Below is the linker error:
CSDTSelectionObserverImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl ActiveSelectionObserver::ActiveSelectionObserver(class IPMUnknown *,class IDType<struct PMIID_tag>)" (__imp_??0ActiveSelectionObserver@@QEAA@PEAVIPMUnknown@@V?$IDType@UPMIID_tag@@@@@Z) referenced in function "public: __cdecl CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(class IPMUnknown *)" (??0CSDTSelectionObserverImpl@@QEAA@PEAVIPMUnknown@@@Z)Thanks Markus, this resolved the issue.
I Included below in properties> linker>input>Additional dependencies
$(ID_SDK_DIR)\build\win\objdx64\WidgetBin.lib
But is there some documentation to get this information? as what all .lib are needed for a particular class etc? -
Excel Error When Using Microsoft Data Link
I have a user who is running the following:
Windows 7 w/64 bit OS
MS Office 2010
SAS 9.3 Software
They created a database in Excel and have integrated the information with SAS 9.3 database.
For some reason, now when they try to 'Refresh' data in the Excel spreadsheet, Excel
freezes and then crashes.
I believe it's because the 'Microsoft Data Link' is failing, during set-up. Below are
the error messages they get, when trying to set-up the 'Microsoft Data Link' with the
SAS 9.3 software:
ERROR MESSAGES:
1. Microsoft Data Link Error: Test connection failed because of an error in setting the
window handle property. Multipl-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done. Continue with test connection? Yes or
No.
2. Microsoft Data Link: Test connection succeeded but some settings were not accepted by
the provider.
I don't know where to begin troubleshooting this issue, as I don't use the SAS
9.3 software, nor have I ever attempted to use the 'Microsoft Data Link' option in
Excel.
TROUBLESHOOTING I'VE TRIED:
Repair of MS Office 2010
Uninstall/Reinstall Excel 2010
Any assistance would be appreciated.Hi,
In regarding of the issue, please provide us more information to assist you better.
Did this issue occur with other database program? Such as Access, SQL sever or other?
If the Excel still crashes, I recommend we collect the Event log and App crash dump file to do further troubleshooting. You can try to analyze dump by
yourself if you would like to:
How to analyze app crash dump file:
http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
Also you can send them to us via Email ([email protected])
If the issue occur with the SAS 9.3 software, I recommend you connect it's provider or support to get more help.
Did you
use 'Microsoft Data Link' like this?
If it was, we may need to debug the connecting string, you can post the question to Visual Studio forum.
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
hi Guys...
please help me...
i m new in c++ connectivity with Oracle using OCCI...
following is my code which i wrote in Dev C++ using g++ compiler
#include <occi.h>
using namespace oracle::occi;
int main() {
Environment *env = Environment::createEnvironment();
Environment::terminateEnvironment(env);
return 0;
Errors comming
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Dev-Cpp\bin\occ1.cpp" -o "C:\Dev-Cpp\bin\occ1.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -I"E:\instantclient" -I"E:\oracle\product\10.2.0\db_1\OCI\include" -L"C:\Dev-Cpp\lib" -L"E:\instantclient"
C:\DOCUME~1\MANSI\LOCALS~1\Temp/cc4Gcaaa.o(.text+0x52):occ1.cpp: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
C:\DOCUME~1\MANSI\LOCALS~1\Temp/cc4Gcaaa.o(.text+0x60):occ1.cpp: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'
collect2: ld returned 1 exit status
Execution terminated
tell me where I am wrong???hi Mark,
Thanks So much for replying...
Actually I am totally new in C++ connectivity with oracle 10g database..
could u please help me because tomorrow i have an interview on this...n i wnt to learn some basics of creating a connection
it would be great if u can give me some steps on how to create a c++ program ( what compliers , header files,library files ..on which location they should be) that can connect to oracle 10g database.
plz it very urgent
i have done searching on google...but didn't get good tutorial on this...
thanks
mansi
Maybe you are looking for
-
I can't view videos and photos in Adobe Reader
I have Adobe Reader but cannot get certain videos or photos etc from friends. I have trouble updating. I own an IMac desk top computer. I have recently installed XOS system which is not helping either.
-
Problems in connecting the RFC adapter
Hi all, we are using XI 3.0 which has been installed very recently. I am trying to configure the RFC adapter but i am getting an error "program <progname> not registered". I have set up a TCPIP connection on the ECC system with the parameters : gate
-
Problem facing in LSMW ......
I am facing a problem in LSMW . While creating ..... in the very first step( i.e., among 13 steps,that is in Maintain Object Attributes) when i executed .....other window is opening where i have checked BATCH INPUT RECORDING ....in that i have given
-
Adobe CS5 Production Premier for MAC: My $700 Dollar Set of Coasters.
Preface: If you have a genuine interest in the plight of those that have had to suffer under the sword of Adobe's tyrannical rule than read on, otherwise feel free to move on wary traveler. (I don't want to bother you with this if you are fed up wit
-
Dear Friends Can you able to guide me for updating ROUNDING VALUE in MRP1 view of Material master Ex. I have 1000 materials in material amster, and for all thease material at present ROUNDING VALUE is ZERO Now i want to update all the values IS THERE