on 10-02-2013 9:02 AM
Hi all experts,
I want to create add on web application for my customer. and in that web application, i want to create web service to create web method to insert and update information in SAP. i created web service by using vs 2010 with .net framework 3.5. after i created, i public into my local iis7 and start to run web service. When i browse web service, it displays me an error like this: "Could not load file or assembly 'Interop.SAPbobsCOM' or one of its dependencies. An attempt was made to load a program with an incorrect format" . I don't know how to solve it.
So does anybody know how i can solve this problem?
Note: it runs in Win 7 64 bit.
Thanks
TONY
I just recently ran into this and have a solution! I know this thread is over a year old, but incase anyone else stumbles across this post, I thought I'd post my solution.
The issue I encountered, was my Visual Studio project was set to build for x86, but my IIS Express ran by Visual Studio was set to run in x64. To turn off x64 for IIS Express in Visual Studio navigate to:
Tools -> Options -> Projects and Solutions -> Web Projects
and then uncheck "Use the 64 bit version of IIS Express".
As soon as I did this, rebuilt and ran my solution, everything started working again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.