Monday, May 15, 2017

No assembly found containing an OwinStartupAttribute

After switching to Visual Studio 2017, one of the projects we were working on started to fail with the following error message:

The following errors occurred while attempting to load the app.

- No assembly found containing an OwinStartupAttribute.

- No assembly found containing a Startup or [AssemblyName].Startup class.

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.

In our case we don’t need the OWIN startup detection, so we followed the suggestion as mentioned in the error message and updated our config to:


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


Strange that we didn’t had this problem before VS 2017…

More information:


Vcom Infotech Company said...

Nice info sharing. Thank you very much. Coimbatore websites | Web design Coimbatore

Philips Huges said...

Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.

Installment loans
Payday loans
Title loans

suri shannon said...

"Great post. Keep it up. Thanks for advice. It is wonderful information for me. "!!
seo specialist florida

Designpluz said...

It is a great sharing me...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. I enjoyed every little bit part of it.Web Design Sydney

Earmold Sydney said...

cute blog with colourful images, really I appreciate your works. All the articles are very interesting to read Ear plugs for Sleeping Motorcycle Ear Plugs