Hey guys,
we've implemented a unique SAP interface (SkriptWithoutWrapper.txt) for our system and therefore we included the SAP NCo 3.0 compiled with .Net 2.0 in our database. Compiling the VB.Net scripts and the new SAP interface works fine, but compiling a jobchain or the templates in the designer brings the error message: "Die Datei oder Assembly "sapnco, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden." (see pic ErrorWithoutManifest.png)
We tried to compile with a manifest file but the error was similiar (see pic ErrorWithManifest)
After this we got the hint, that we need a wrapper around the SAPNCo becaue it isn't possible right now to use the sapnco references in the designer directly. So Today I built the Wrapper (SKriptSAPConnector.txt) and modified the script in designer (SkriptWithWrapper.txt)
But we still get the error in case we compile the DB. But the Wrapper works fine in VS2010 with our ScriptLibrary. I compiled the wrapper for x86 frameworks.
Do you have any ideas? We think it is a 32-64 Bit problem, but we tried both version of the sapnco and both failed.
FYI: Q1IM is 6.0 version and runs on 64 Bit machines. The error occur on 2 similiar laptops and direct on the server.
Kind regards
Georg