locked
Is it possible to use 32bit component in 64 bit .Net application RRS feed

  • Question

  • User1385195316 posted

     Hi,

    I'm developing Asp.Net application (c#) to run it in 64 bit IIS environment.

    I have to use .Net Connector for SAP component (32bit, there is not 64 bit version) in my application.

    What must i do? 

    Thanks. 

    Wednesday, February 24, 2010 5:00 AM

All replies

  • User-158764254 posted

    SAP has both 32bit and 64bit versions of the librfc32.dll.

    This the the assembly that actually communicates with the SAP systems.

    If you install the 64bit librfc32 onto your server, then the .NET Connector assemblies may work.

    or your could just set your IIS app pool to run as a 32 bit process.

    Wednesday, February 24, 2010 8:41 AM
  • User1385195316 posted

    Hi,

    I downloaded 64 bit librfc32u.dll. I put it near application dll file.But the result is the same.It does not work.

    I tryed to add reference the librfc32u.dll in my application , but it cannot be done because my developing environment is 32 bit.

    How can i set IIS pool to run as 32 bit process?

    Thanks.

    Wednesday, February 24, 2010 3:00 PM
  • User-158764254 posted

    The librfc32 assembly is normally found in the system32 folder. 

    But you may find that setting the app pool to run as 32bit is a simpler solution:

    http://blog.davidyack.com/journal/2008/5/19/iis7-and-32bit-applications.html

    http://support.softartisans.com/kbview_1213.aspx

     

    Wednesday, February 24, 2010 8:17 PM