A
A
Alexander Borisovich2013-07-19 10:42:00
C++ / C#
Alexander Borisovich, 2013-07-19 10:42:00

WCF. When debugging, everything is gorgeous, but already executing through IIS8 ...

Making a WCF project.
The service for the IIS8 server becomes. We use third-party 32bit Dlls to connect. It works when you press debug from the studio. All gut starts and fulfills through IIS8 Express 32 bit.
We export the project to a folder. We set up IIS8 64. Through it, such garbage climbs out.

Cедения об исключении: System.BadImageFormatException: Не удалось загрузить файл или сборку "лялляляля" либо одну из их зависимостей. Была сделана попытка загрузить программу, имеющую неверный формат.

They didn’t make AnyCPU, specifically x86, they checked the boxes in the pool to support 32 bit ones - all to no purpose.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Borisovich, 2013-07-19
@Alexufo

The fact is that it was necessary to run the application with the “32 bit” checkbox in IIS8.
For everything works in IIS express (it's in studio 2012).
And in IIS8, our application with this checkbox crashes with an error (Boom to figure it out ... kapets ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question