Skip to Content
Mar 30, 2011 at 03:50 PM

.NET Connector 3.0 and SQLServer CLR integration


Hi all,

I would like to do a RFC-call using the .NET-connector 3.0 from a SQLServer stored procedure.

I created a program to do the call in C# and this is working. Then I started to "convert" this to a project to create a dll containing a stored procedure to be used in SQLServer. Without references to sapnco and sapnco_utils it is working. But when I add the references, build the project and try to create the assembly in SQLServer I get the following error:

Msg 6544, Level 16, State 1, Line 2

CREATE ASSEMBLY for assembly 'FS SAPCalls' failed because assembly 'sapnco_utils' is malformed or not a pure .NET assembly.

Unverifiable PE Header/native stub.

When I leave out the reference to sapnco_utils in the .NET-project, I get the same error.

Is there any way to get this working?