How can I enable Assembly binding logging?

前端 未结 9 1583
长发绾君心
长发绾君心 2020-12-07 14:03

I\'m getting, \"Could not load file or assembly \'Bla\' or one of its dependencies. An attempt was made to load a program with an incorrect format.\"

A portion of th

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 14:37

    Per pierce.jason's answer above, I had luck with:

    Just create a new DWORD(32) under the Fusion key. Name the DWORD to LogFailures, and set it to value 1. Then restart IIS, refresh the page giving errors, and the assembly bind logs will show in the error message.

提交回复
热议问题