2 Replies Latest reply: Oct 4, 2011 8:33 AM by Pasan Indeewara RSS

Problem connecting to SAP .NET Connector in 64 bit

Pasan Indeewara
Currently Being Moderated

In my .NET Application I have a 32bit DLL built using Visual studio 2003 to get custom data from SAP.

It works fine in Windows 7 (32bit). But it fails when I put the application in 64 bit Win 2008 server throwing below.

 

Error: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

 

Stack:

 

   at SAP.Connector.Connection.Open()

   at eAcT_Leisureline.eAcT_Leisureline.GetProductionOffStandardsData(ZPRD_OFFSTable& gt_ZPRD_OFFS, ZPRD_OFFCTable& gt_ZPRD_OFFC)

   at AMN.RFC_Grpah_Gen.Generate_OffStd_Graph()

 

Why it is not possible to run this 32 bit simple app. in 64 bit. Any workaround would be really appreciated. thanks.

Actions