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文件就行。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM