Skip to Content
0

Sap Client issue porting code from Windows Server 2003 to Windows Server 2012

Sep 20, 2017 at 12:38 PM

42

avatar image
Former Member

We are using SAP Client on Windows Server 2003. We use the registered ocx's and DLL's from this in a Classic ASP application to retrieve data from SAP and display it in our intranet. This has been working for a number of years. We are now in the process of porting the classic ASP site to Windows Server 2012. I have had to install a later version of SAP Client (version 7). This has installed without issue and I can connect via this to our main SAP Servers. Back in our classic asp page the first line of code is to create a SAP Object. and we use Set MyObj = CreateObject("SAP.Functions"). This is found in the wdtfuncs.ocx file. On windows Server 2003 this and other sap files such as librfc32.dll are all registered in the registry. On windows Server 2012 these are not registered and so as soon as the above line of code is hit, I receive an ActiveX object cant be created error message. I have tried copying the SAP DLL's and OCX's from windows Server 2003 to our windowssysWOW64 directory on windows server 2012 and then attempting to manually register them using regsvr32, but all fail with no entry point. From the install of the SAP Client on windows server 2012 the files can also be seen in C:\sapguiinstallfile\nw_7.0_presentation\pres1\gui\windows\win32\sapgui I've also tried regsvr32 from that directory to, but still get the same issue.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jelena Perfiljeva
Oct 05, 2017 at 09:40 PM
0

Sorry, I've lost the trail somewhere in the middle but this doesn't look like an ABAP question.

I believe there is an SAP forum on MSDN, you might get more replies there. Or on StackOverflow.

Also reach to your local SAP team. They should be able to at least search in the SAP notes (these are not publicly available) or even reach to SAP for assistance.

As a side note, this might be a good idea to review the design since there has been many changes in the SAP world since 2003.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Oct 06, 2017 at 08:18 AM
0

Ask your basis to provide you notes like 2256415 - Adaptation of RFC controls (Logon, Function, Table and BAPI) to use SAP NetWeaver RFC Library (just an example) and similar notes, fell free to search for such notes by yourself too.

Share
10 |10000 characters needed characters left characters exceeded