Focal Point
Creation of sql adapter

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9391010782

June 08, 2008, 07:19 AM
Majid Jeddi
Creation of sql adapter
I have just installed the 64 bit version of webfocus 7.6.5 and when i finish doing the setting, i wanted to create a sql dapater and then a connection to sql server 2005 but i am getting the following strange error i have never seen before:

(FOC1261) PHYSICAL INTERFACE NOT FOUND FOR SUFFIX SQLMSS. MODULE NAME : OLEFOC
(FOC1262) THE FOLLOWING NATIVE ERROR MESSAGE(S) CAPTURED :
(FOC1260) Loading D:\ibi\64bit\srv76\home\bin\olefoc.dll: RebindStatus: failed
to bind C:\WINDOWS\system32\KERNEL32.dll
(FOC1263) THE CURRENT ENVIRONMENT VARIABLES FOR SUFFIX SQLMSS ARE :
(FOC1260) PATH : D:\ibi\64bit\srv76\home\bin
(FOC1260) C:\Program Files\Java\jre1.6.0_03\bin\server
(FOC1260) C:\Program Files\HP\NCU
(FOC1260) C:\WINDOWS\system32
(FOC1260) C:\WINDOWS
(FOC1260) C:\WINDOWS\System32\Wbem
(FOC1260) C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\
(FOC1260) D:\Program Files\Microsoft SQL Server\90\DTS\Binn\
(FOC1260) D:\Program Files\Microsoft SQL Server\90\Tools\binn\
(FOC1260) D:\Program Files\Microsoft SQL Server (x86)\90\Tools\binn\
(FOC1260) D:\Program Files\Microsoft SQL Server (x86)\90\DTS\Binn\
(FOC1260) D:\Program Files\Microsoft SQL Server
(x86)\90\Tools\Binn\VSShell\Common7\IDE\
(FOC1260) C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\IDE\PrivateAssemblies\
(FOC1260) C:\Program Files\Java\jre1.6.0_03\bin
(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF)
(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF)
(FOC1488) SQL INTERFACE HAS NOT BEEN INSTALLED OR COULD NOT BE INITIALIZED
: Physical interface not found for SUFFIX=SQLMSS . Module name: OLEFOC
(FOC1479) ERROR CONNECTING TO SQL DATABASE



Note: All the information regarding the user and database are correct and the user has full right to the database.

Any Idea.

Thanks


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
June 08, 2008, 09:00 AM
Danny-SRL
Majid,
As it says, you are probably missing the OLEFOC.DLL file.
Look for it on your disk. Maybe it is there but not in the Windows search path. And maybe it was not installed.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

June 09, 2008, 02:03 AM
Majid Jeddi
Hi Danny,

Thanks for you reply. I solved the problem since i discover it was missing the following dll in the path:mfc80.dll

Thanks


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
June 10, 2008, 03:48 AM
GamP
You're being put on the wrong foot by the message that olefoc.dll is missing.
What this message actually means is that olefoc.dll 'or one of its compnents' is missing. Usually the file itself is available and in the path, but some other dll that is called by it, is not. As was the case here.
There is a freeware utility, called 'dependency walker' that you can use to open any dll and see what other software is called by it. I find this a great help in solving problems of this kind.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
June 10, 2008, 04:51 AM
Tony A
Great tip GamP, thanks for sharing Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10