Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Razor Exception

By: a guest on Jun 26th, 2011  |  syntax: None  |  size: 3.78 KB  |  hits: 95  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [InvalidOperationException: Could not determine the code language for "~/_appstart.cshtml".]
  2.    System.Web.WebPages.Razor.WebPageRazorHost.GetCodeLanguage() +15771
  3.    System.Web.WebPages.Razor.WebPageRazorHost..ctor(String virtualPath, String physicalPath) +100
  4.    System.Web.WebPages.Razor.WebRazorHostFactory.CreateHost(String virtualPath, String physicalPath) +28
  5.    System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfigCore(RazorWebSectionGroup config, String virtualPath, String physicalPath) +276
  6.    System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(String virtualPath, String physicalPath) +57
  7.    System.Web.WebPages.Razor.RazorBuildProvider.CreateHost() +17
  8.    System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode() +65
  9.    System.Web.WebPages.Razor.RazorBuildProvider.get_CodeCompilerType() +36
  10.    System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) +65
  11.    System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +218
  12.    System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +40
  13.    System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +8967366
  14.    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +320
  15.    System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +111
  16.    System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +125
  17.    System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +52
  18.    System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(String virtualPath, Type requiredBaseType) +28
  19.    System.Web.WebPages.VirtualPathFactoryManager.CreateInstance(String virtualPath) +270
  20.    System.Web.WebPages.ApplicationStartPage.<ExecuteStartPage>b__6(String vpath) +26
  21.    System.Web.WebPages.ApplicationStartPage.ExecuteStartPageInternal(HttpApplication application, Action`1 monitorFile, Func`2 fileExists, Func`2 createInstance, IEnumerable`1 supportedExtensions) +152
  22.    System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application, Action`1 monitorFile, Func`2 fileExists, Func`2 createInstance, IEnumerable`1 supportedExtensions) +41
  23.  
  24. [HttpException (0x80004005): Exception of type 'System.Web.HttpException' was thrown.]
  25.    System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application, Action`1 monitorFile, Func`2 fileExists, Func`2 createInstance, IEnumerable`1 supportedExtensions) +88
  26.    System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application) +287
  27.    System.Web.WebPages.WebPageHttpModule.StartApplication(HttpApplication application, Action`1 executeStartPage, EventHandler applicationStart) +113
  28.    System.Web.WebPages.WebPageHttpModule.StartApplication(HttpApplication application) +71
  29.    System.Web.WebPages.WebPageHttpModule.Init(HttpApplication application) +156
  30.    System.Web.HttpApplication.InitModulesCommon() +80
  31.    System.Web.HttpApplication.InitModules() +43
  32.    System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
  33.    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
  34.    System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
  35.    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327