we are working on windows 2008 R2. we have a web service(frame work 4.0) which consumes 64 bit third party DLL. when we run web service from VS 2013 or from IIS 7.5 we got a error saying “Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.”
with the help of stackoverflow we have set the below option in VS 2013
Tools | Options | Projects and Solutions | Web Projects | Use the 64 bit version of IIS Express
and published the same from VS 2013 on IIS 7.5 and it is working :)
now we have published same web service on different machine where Visual studio 2013 is not there and we are getting the same problem again.
“Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.”
how to make this web service working?