Showing posts with label owin. Show all posts
Showing posts with label owin. Show all posts

Tuesday, 8 November 2016

No assembly found containing an OwinStartupAttribute



The Common scenario that one of student got was during creating signalr project from empty web project. so i would like to spread it online with others. you may have see Error Screen as shown in below Screenshots -

Error : No assembly found containing an OwinStartupAttribute.
           No assembly found containing a Startup or [AssemblyName].Starup class.

         
No Assembly found containing an OwinStartupAttribute Error


Solution For error : Simple straightforward solution is to Add Below code ( as shown in below screenshot ) in web.config under <configuration> tag as shown in image below. you error will be
gone

line of Code to Add is written below and also shown written in Screenshot below

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