Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 861351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:57:57+00:00 2026-05-15T08:57:57+00:00

Because the SAP Connector for .NET is no longer maintained by SAP, I am

  • 0

Because the SAP Connector for .NET is no longer maintained by SAP, I am now looking for an alternative to connect the Microsoft world with the SAP world. I know there are third party products like "ERPConnect", but I want to do this with tools from SAP (by the way I cannot use the Enterprise Services, because the target SAP system is SAP 4.6C).

Therefore there has arisen the crazy idea to use the SAP Java Connector in combination with the tool IKVM.NET (http://www.ikvm.net/devguide/net2java.html). IKVM.NET provides The IKVMC tool, which converts Java bytecode to .NET dll’s and exe’s. "No sooner said than done!" I converted the SAP JCo to .NET dlls and created a new Visual Studio solution.

I put all the JCo files into a subdirectory of my solution.
I set 2 references to the generated IKVM.OpenJDK.Core.dll and sapjco.dll. Great, all JCo classes where now available as .NET classes. Full of optimism I wrote some little code to connect to a SAP system.

JCO.Client client = null;
client = JCO.createClient(…)

The compilation of my test code had no errors. "Wonderful !" I thought.
Then I started my test application. Unfortunately I got an exception calling JCO.createClient:

Could not load middleware layer ‘com.sap.mw.jco.rfc.MiddlewareRFC’\r\nno sapjcorfc in java.library.path

I have 2 questions on this topic.

  1. Do you think my idea using the SAP Java Connector (SAP JCo) to connect .NET with SAP is a good idea or is it nonsense? Perhaps someone had already the same idea 😉

  2. How can the above exception be solved ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T08:57:58+00:00Added an answer on May 15, 2026 at 8:57 am

    1) I don’t think this approach is a good idea. The actual connection to sap is done not from java ( or from .net in the old .net connector). But from a c dll named, librfc32.dll. I believe that IKVM support of JNI is not complete.

    It will maybe work, But, even than, it will be fragile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For many years I have used the old SAP DCOM Connector to communicate between
Because I need to build a very strongly-typed & type-safed project for Asp.net MVC.
Our software is written in C# and needs to connect to SAP. As some
I connect to a SAP server via SAP Logon Control TLB (which eats about
Because of some problem I restored my XP. but now some of my projects
I already know that BO was bought up by SAP on the cheap, but
I am looking for alternatives to NWDI (Stands for Netweaver Development Infrastructure by SAP)
Because I'm using a shared Microsoft SQL Server instance, I have started to use
Because there is no build in footer to ExpandableListView , I have built it
Because shells other than ksh do not support pass-by-reference, how can multiple arrays be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.