on 05-04-2011 3:16 AM
I am running on a W7 64 bit machine. On it I have 4.0 of .net; Visual C# 2010 Express
I have downloaded and installed the SAP_DotConnector3_X64 for .NET 4.
I am trying to compile and execute the Tutorial that comes with this version.
In doing so, I've added a reference to sapnco.dll and sapnco_utils.dll (which oddly enough were installed in the c:\windows\Program File (x86) directory, i.e. the 32 bit program directory.
When I build the tutorial project, I get two warnings
1) Referenced Assembly sapnco_utils.dll targets a different processor
2) Referenced assemply sapnco.dll targets a different processor
When I try to execute the tutorial, I get a BadImageFormatException .... Could not load file od assemly 'sapnco_utils, version.... . An attempt was made to load a program with an incorrect forrmat'.
Any help will be appreciated.
Hi,
Check your project properties.
"Build" > "Platform Target": set to "Any CPU".
"Application" > "Target framework": set to u201C.NET framework 4u201D
This should solve the warnings..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.