ASP.NET MVC and IIS - Sequence contains no matching element

Netix

New Member
I have a web application written in ASP.NET MVC. Everything is okay, in visual studio app works just fine, but as soon as I put it on the IIS server, it gives me this error:\[code\]Sequence contains no matching element\[/code\].This is stack trace that it gives me:\[quote\] [InvalidOperationException: Sequence contains no matching element]
System.Linq.Enumerable.Single(IEnumerable\[code\]1 source, Func\[/code\]2 predicate) +4134530 XSockets.Plugin.Framework.Helpers.PluginHelpers.GetInstance(ImportedType importedType) +143 XSockets.Plugin.Framework.Composable.Compose(T obj) +656 XSocketsServer..ctor() +170
Scyk.MvcApplication.Application_Start() +173 [HttpException (0x80004005): Sequence contains no matching element]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12864673
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475 [HttpException (0x80004005): Sequence contains no matching element]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601\[/quote\]Can anyone help me here? I have no idea what is wrong, especially when everything is okay in visual studio...Edit: my App_Start():\[code\]protected void Application_Start(){ AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); new XSocketsServer();}\[/code\]I am starting xsockets server in there, but anyways, if I comment out this XSocketsServer, it still gives me the same error.
 
Back
Top