SignalR provoquant de graves questions sur la mise à niveau
Après deux jours, j'ai été en mesure d'obtenir enfin la nouvelle SignalR installé;cependant, je suis confronté à un autre problème.
J'ai retiré le spécifique Owin Assemblée ou perdu de référence, certains comment.
J'ai vérifié mon bac, de paquets, de référence et des dossiers et de l'original de tous les Owin les conventions de nommage sont visibles.
Quelqu'un me sauver de cette tragédie et de me montrer comment résoudre ce problème?
Ici est le serveur d'erreur renvoyé à partir de iis.
Server Error in '/' Application.
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.
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.
- 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.
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.
- 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.]
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) +115
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): 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.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9874840
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Étiez-vous à l'aide de
Juste un conseil: Si ce message d'erreur avec un jouet exemple, assurez-vous que votre index.html (ou autre) de la page est marquée comme la page de démarrage de Visual Studio.
nuget
pour gérer cela?Juste un conseil: Si ce message d'erreur avec un jouet exemple, assurez-vous que votre index.html (ou autre) de la page est marquée comme la page de démarrage de Visual Studio.
OriginalL'auteur Filling The Stack is What I DO | 2013-11-06
Vous devez vous connecter pour publier un commentaire.
C'est parce que l'exécution n'est pas en mesure de détecter un démarrage de classe dans votre assemblée. Dans votre projet, essayez d'ajouter un niveau d'assemblée attribut spécifiant votre démarrage classe
Sinon, vous pouvez spécifier le début de la classe comme une appSetting dans votre site web.config comme:
Pour plus d'informations sur le démarrage de la classe de détection de consulter cette tutoriels.
OriginalL'auteur Praburaj
Ou c'est juste à cause d'un manque de démarrage.cs fichier qui est souvent créer par asp.net mvc modèle lorsque vous créez un nouveau projet avec l'authentification.
Il m'arriver parce que je n'ai pas choisi d'ajouter une authentification.
À résoudre de cette manière, il suffit d'ajouter une de démarrage.cs fichier à la racine de votre projet comme ceci :
et cela devrait fonctionner.
C'est une alternative à la accepté de répondre.
OriginalL'auteur Dragouf
Il suffit de télécharger l'owin.dll et le placer dans le dossier bin de votre application!
http://owin.org/
OriginalL'auteur harry