문제

I wrote a WCF Data Service, when running it on the Development Server it runs without any issues; however, once I deploy it to IIS it throws this error System.IO.FileNotFoundException. The assembly it can not find is located in the GAC. Why would Development Server be finding a specific assembly and IIS not?

도움이 되었습니까?

해결책

Enabling 32 bit applications on the Application Pool fixed the issue.

다른 팁

Just my guess, but I reckon the assembly is compiled as .net 4 and IIS is running under .net 3.5. Check here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top