Saturday, 9 September 2017

No assembly found containing an OwinStartupAttribute - Issue Fixed In Asp.Net


While you working with your Asp.net web application then you face this error frequently.  The error No assembly found containing an OwinStartupAttribute appears on screen and u will be stuck at that point. So now how to Remove owin no assembly found containing an owinstartupattribute error.




This error often comes due to the Web.confi settings. In web.config file under app setting section you need to write single line of code to resolve this No assembly found containing an OwinStartupAttribute issue/error. Currently your Webconfig may be looks like this .

Under the Configuration and then app setting you paste the below given code and you have done .

<configuration>  
  <appSettings>  
  <add key="owin:AutomaticAppStartup" value="false" />   
  </appSettings>  
 </configuration>   

Here you can easily understand by writing this line you easily resolve this issue which happens  due to app startup configuration.

SOLUTION
    <add key="owin:AutomaticAppStartup" value="false" />                        


Also Read -
Error - Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependenc

No comments:

Post a Comment