发布到Azure后,外部组件已抛出异常

时间:2016-01-25 17:52:58

标签: asp.net azure azure-web-sites

我已将site部署到Azure,并收到上述错误,其堆栈跟踪如下:

Exception type: HttpCompileException
Exception message: External component has thrown an exception. at  
System.Web.Compilation.AssemblyBuilder.Compile() at 
System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean    isPrecompiledApp) at System.Web.Compilation.BuildManager.CompileGlobalAsax()   
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at   
System.Web.Compilation.BuildManager.CallAppInitializeMethod() at   
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager   
appManager, IApplicationHost appHost, IConfigMapPathFactory   
configMapPathFactory, HostingEnvironmentParameters hostingParameters, 
PolicyLevel policyLevel,    Exception appDomainCreationException)

这是一个带有AngularJS前端的ASP.NET MVC5 Web应用程序。必须修改什么才能解决这个问题?

0 个答案:

没有答案