当前位置:网站首页>Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。
Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。
2022-06-29 09:26:00 【zlbcdn】
用阿里云上传代码后,访问网站,出现如下错误:
----------错误界面的信息---------------
“/”应用程序中的服务器错误。
组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.ComponentModel.Win32Exception: 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。
源错误:
执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。]
[ExternalException (0x80004005): 无法执行程序。所执行的命令为 “f:\usr\LocalUser\bxw23*******\bin\roslyn\csc.exe” /shared /keepalive:“10” /noconfig /fullpaths @“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\63cb5cf8\b0070fdf\4auhg5zi.cmdline”。]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +6487183
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +115
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName) +59
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.Compile(CompilerParameters options, String compilerFullPath, String arguments, String& outputFile, Int32& nativeReturnValue) +270
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.FromFileBatch(CompilerParameters options, String[] fileNames) +680
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) +186
System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) +23
System.Web.Compilation.AssemblyBuilder.Compile() +884
System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +9520058
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +9950660
System.Web.Compilation.BuildManager.CompileGlobalAsax() +44
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +269
[HttpException (0x80004005): 无法执行程序。所执行的命令为 “f:\usr\LocalUser\bxw23*******\bin\roslyn\csc.exe” /shared /keepalive:“10” /noconfig /fullpaths @“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\63cb5cf8\b0070fdf\4auhg5zi.cmdline”。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +427
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +31
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +535
[HttpException (0x80004005): 无法执行程序。所执行的命令为 “f:\usr\LocalUser\bxw23*****\bin\roslyn\csc.exe” /shared /keepalive:“10” /noconfig /fullpaths @“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\63cb5cf8\b0070fdf\4auhg5zi.cmdline”。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9952212
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +456
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34280
----------错误界面的信息---------------
错误截图
晚上搜索信息找到解决方案:
打开nuget,然后卸载Microsoft.CodeDom.Providers.DotNetCompilerPlatform 包,重新编译发布
具体操作如下:

参考资料:参考资料
边栏推荐
- 1099 build a binary search tree (30 points)
- This open source project is super wow, and handwritten photos are generated Online
- September 17, 2020 gateway business process has two tasks: referer certification and non commodity Templating
- September 21, 2020 referer string segmentation boost gateway code organization level
- Codeforces Round #641 Div2
- Download control 1 of custom control (downloadview1)
- L2-025 divide and rule (25 points)
- Summary after the 2009 ICPC Shanghai regional competition
- 这个开源项目超哇塞,手写照片在线生成
- Nacos registry cluster
猜你喜欢
随机推荐
QGIS mapping
JVM method return address
HDU 6778 car (group enumeration -- > shape pressure DP)
Virtual machine port scanning
Related problems of pointer array, array pointer and parameter passing
MySQL innodb每行数据长度的限制
L2-3 is this a binary search tree- The explanation is wonderful
nacos注册中心集群
Function pointer, function pointer array, calculator + transfer table, etc
Arc view and arc viewpager
September 25, 2020 noncopyable of boost library for singleton mode
Ural1517 freedom of choice [suffix array: longest common continuous substring]
2019.10.6 training summary
Binding mechanism of JVM methods
C#中IEqualityComparer接口的实现
DevExpress的双击获取单元格数据
L2-026 small generation (25 points)
1021 deep root (25 points)
If I were in Beijing, where would it be better to open an account? In addition, is it safe to open an account online now?
走迷宫 bfs 中等+——最后的编程挑战









