Question

Photo of Keith Pavia

0

HELP! Site Down

Hi Guys,

We have not made any changes to our site recently, but today it just started acting up.  Going very slow and throwing errors.  Now this is all we get.  Any ideas???

Server Error in '/' Application.


The following errors occurred while attempting to load the app.
- No assembly found containing an OwinStartupAttribute.
- The discovered startup type 'Startup, App_Code.dhq4an8u, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' conflicts with the type 'Startup, App_Code.ph_adsmc, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Remove or rename one of the types, or reference the desired type directly.
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.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.EntryPointNotFoundException: The following errors occurred while attempting to load the app.
- No assembly found containing an OwinStartupAttribute.
- The discovered startup type 'Startup, App_Code.dhq4an8u, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' conflicts with the type 'Startup, App_Code.ph_adsmc, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Remove or rename one of the types, or reference the desired type directly.
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.

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:
 

[EntryPointNotFoundException: The following errors occurred while attempting to load the app.
 - No assembly found containing an OwinStartupAttribute.
 - The discovered startup type 'Startup, App_Code.dhq4an8u, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' conflicts with the type 'Startup, App_Code.ph_adsmc, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Remove or rename one of the types, or reference the desired type directly.
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.]
   Microsoft.Owin.Host.SystemWeb.OwinBuilder.GetAppStartup() +357
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +28
   System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) +86
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +489
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +349
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +305

[HttpException (0x80004005): The following errors occurred while attempting to load the app.
 - No assembly found containing an OwinStartupAttribute.
 - The discovered startup type 'Startup, App_Code.dhq4an8u, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' conflicts with the type 'Startup, App_Code.ph_adsmc, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Remove or rename one of the types, or reference the desired type directly.
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.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +657
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209                 

  • Photo of Jon Edmiston

    0

    Can you provide more details on your hosted environment. Googling the error points to a possible issue with SignalR configuration (http://stackoverflow.com/questions/20068075/owin-startup-class-missing). You might try one of the following:

    • Check that the file '~/App_Code/Startup.cs' exists. 
    • Check that the file '~/bin/RockInstaller.dll' does NOT exist

    Other than that we'd need more info on your hosting environment.

    • Keith Pavia

      Sorry Jon.


      We are on an Arvixe shared server (Hosting plan: PersonalClass ASP), and everything is configured as per the suggested setup. I will look at those things you mentioned.


      I contacted Arvixe support and they are supposed to be looking at it.

    • Keith Pavia

      I checked the files
      ◦File '~/App_Code/Startup.cs' does exist.
      ◦File '~/bin/RockInstaller.dll' does NOT exist

    • Keith Pavia

      Thanks! The site is back up. I am not sure what the issue was, but this is what they said when I asked what was wrong.
      "I have made some corrective changes in the application pool setting on the server in order to overcome this issue."
      Even though it is back up it is taking almost 2 minutes to go from page to page. Is there an alternative to hosting with Arvixe?