首页 新闻 会员 周边

windows server 2008 r2 配置IIS网站之后访问站点Win32Exception (0x80004005)

0
[待解决问题]
[Win32Exception (0x80004005): 拒绝访问。]

[ExternalException (0x80004005): Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\64ecdd32\f5bcb3be\yorfrpfw.cmdline".]
   System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +5976181
   System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +122
   Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs) +261
   Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames) +474
   Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) +166
   System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) +25
   System.Web.Compilation.AssemblyBuilder.Compile() +964
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +224
   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +272
   System.Web.Compilation.BuildManager.CompileGlobalAsax() +42
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +317

[HttpException (0x80004005): Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\64ecdd32\f5bcb3be\yorfrpfw.cmdline".]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +63
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +421
   System.Web.Compilation.BuildManager.CallAppInitializeMethod() +29
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +672

[HttpException (0x80004005): Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\64ecdd32\f5bcb3be\yorfrpfw.cmdline".]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +638
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +191

.NET重新安装了之后,给目录

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root开放了权限,也不行
猎美的主页 猎美 | 菜鸟二级 | 园豆:202
提问于:2017-09-20 13:01
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册