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 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").
None
0 Points
1 Post
No assembly found containing an OwinStartupAttribute
Aug 24, 2020 08:34 AM|lisa2020|LINK
Hi
I've been working on some code, and i'm getting the following error.
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
All-Star
48670 Points
18169 Posts
Re: No assembly found containing an OwinStartupAttribute
Aug 24, 2020 09:47 AM|PatriceSc|LINK
Hi,
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.
All-Star
58444 Points
15764 Posts
Re: No assembly found containing an OwinStartupAttribute
Aug 24, 2020 03:48 PM|bruce (sqlwork.com)|LINK
You are most likely missing a reference to a dll that defines the attribute.