开发者

Could not load type 'type_name' from assembly 'assembly_name'

I have been struggling with this for more than 3 hours. I have a proj开发者_如何学JAVAect 'project1' that contains an interface : 'interface1'

but when I deploy the project on IIS (it's wcf app), I get this exception :

Could not load type 'interface1' from assembly 'project1'.


Check if you have older version of the assembly in the GAC. Also attach debugger and check Debug->Modules view to see where you assembly is loaded from.

In general for cases of strange assembly loading problems (like this one - can't find particular type in some assembly) configure and use fuslogvw to see what asseblies are actually loaded.


I finally solved the problem by erasing and starting over with the configuration file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜