The following errors occurred while attempting to load the app.
The OwinStartup attribute discovered in assembly ‘Search4Expert.Service.WebService’ referencing startup type ‘Search4Expert.Service.WebService.Startup’ conflicts with the attribute in assembly ‘Search4Expert.Web.UI’ referencing startup type ‘Search4Expert.Web.UI.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.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Please any one help me.
I get this problem quite often in new ASP.NET applications.All you have to do is open you Web.config file and the following line to it under the
<appSettings> <add key="owin:AutomaticAppStartup" value="false" /> </appSettings>
Answered By – Denys Wessels
Answer Checked By – Terry (BugsFixing Volunteer)