Last post Aug 24, 2020 03:48 PM by bruce (sqlwork.com)
Aug 24, 2020 08:34 AM|lisa2020|LINK
I've been working on some code, and i'm getting the following error.
No assembly found containing an OwinStartupAttribute
I've found some similar problems on the web so I've added the following in my web.config file under appsettings, but it's still generating the same error.
First I tried this, which didn't work
<add key="owin:AppStartup" value="false"></add>
Then I tried this, which also didn't work
<add key="owin:AppStartup" value="WebApplication1.App_Start.Startup" />
I'm relatively new to .net, can someone please advise what is the best course of action
Aug 24, 2020 09:47 AM|PatriceSc|LINK
First do you really have a class named Startup in your project? If yes make sure about its full name (but AFAIK it should be found by default if really named "Startup").
See perhaps https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/owin-startup-class-detection for details.
Aug 24, 2020 03:48 PM|bruce (sqlwork.com)|LINK
You are most likely missing a reference to a dll that defines the attribute.