Skip to Content
Oct 14, 2013 at 03:11 PM

.NET Connector x64 (sapnco) in Visual Studio 2012 debug mode


So can anybody tell me what I need to do to be able to debug a web application in Visual Studio that uses the .NET Connector 3 64-bit? I have set my target to x64, but I still get the dreaded Could not load file or assembly 'sapnco' or one of its dependencies. An attempt was made to load a program with an incorrect format.....

The site runs fine in IIS both locally and on a server, but I sure would like to be able to run from Visual Studio. Using 32-bit DLLs is usually my solution, but this time around I have to use the 64-bit DLLs. My development machine is, of course, 64-bit.

Has anybody been able to discover the right settings to be able to debug?