WCF. When debugging all gorgeous, but playing through IIS8...

Do a WCF project.

Is service server IIS8. Use to connect third-party 32bit Dll-Ki. It works when I debug from the Studio. All gut starts and works using IIS8 Express 32 bit.

Do export project to folder. Custom IIS8 64. Through it, stuff like this comes out.

Sitting about the exception: System.BadImageFormatException: could Not load file or Assembly "lalalala" or one of its dependencies. An attempt was made to load a program with an incorrect format.

Did not AnyCPU, x86 specifically, a tick was put in the pool to support 32 bit - all bestolku.
October 3rd 19 at 02:33
1 answer
October 3rd 19 at 02:35
The fact that it was necessary to run the application with a check "32 bit" in IIS8.

Because in IIS express everything works (aka in the Studio 2012).

And in IIS8 our app with this ticked it and problem solved. ( Bum deal... kapets...
Don't know how to ISE 8, 7 there is a setting to allow the pool to run 32 bit applications. 8 a simple form of change?
- Colton_Fritsch38 commented on October 3rd 19 at 02:38
no, the same. no option to true - Pattie.Kuvalis commented on October 3rd 19 at 02:41

Find more questions by tags C#Visual Studio