The following errors occurred while attempting to load the app.

- The OwinStartup attribute discovered in assembly 'YY.Web' referencing startup type 'YY.Web.Startup' conflicts with the attribute in assembly 'HBJK.Web' referencing startup type 'HBJK.Web.Startup' because they have the same FriendlyName ''. Remove or rename one of the attributes, or reference the desired type directly.
To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.

原因:因为修改了项目的名字,在bin 文件夹下出现两个bll文件一个是原来的

解决方法:只要删除原来的bll文件就行。

原文地址:https://www.cnblogs.com/Martincheng/p/9068931.html