从昨天起我在我的网站上的IIS中出现了这个错误,而不是 发生了,该网站在VS2013中编译得很好但是当我将它上传到IIS时就可以了 错误花了2年以上的网站运行没有问题。
来源错误:
执行期间生成了未处理的异常 当前的网络请求。有关的来源和位置的信息 可以使用下面的异常堆栈跟踪来识别异常。
堆栈追踪:
[Win32Exception(0x80004005):访问被拒绝]
[ExternalException(0x80004005):无法执行程序。命令 被执行是 “C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ vbc.exe”/ noconfig @“C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Temporary ASP.NET 文件\ transiceberg \ 26691cf8 \ 468c99a2 \ sxvljlta.cmdline”。]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken,String cmd,String currentDir,TempFileCollection tempFiles,String& outputName,String& errorName,String trueCmdLine) +3365 System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken,String cmd,String currentDir,TempFileCollection tempFiles,String& outputName,String& errorName,String trueCmdLine) +8591876 System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options,String compilerDirectory,String compilerExe,String 参数,字符串& outputFile,Int32& nativeReturnValue,String trueArgs)+331
Microsoft.VisualBasic.VBCodeGenerator.FromFileBatch(CompilerParameters options,String [] fileNames)+875
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options,String [] fileNames)+179
System.Web.Compilation.AssemblyBuilder.Compile()+ 12440424
System.Web.Compilation.BuildProvidersCompiler.PerformBuild()+ 303 3 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(布尔 isPrecompiledApp)+12978145
System.Web.Compilation.BuildManager.CompileGlobalAsax()+50
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()+665[HttpException(0x80004005):无法执行程序。命令 被执行是 “C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ vbc.exe”/ noconfig @“C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Temporary ASP.NET 文件\ transiceberg \ 26691cf8 \ 468c99a2 \ sxvljlta.cmdline”。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +80 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1142 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel,Exception appDomainCreationException)+1193[HttpException(0x80004005):无法执行程序。命令 被执行是 “C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ vbc.exe”/ noconfig @“C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Temporary ASP.NET 文件\ transiceberg \ 26691cf8 \ 468c99a2 \ sxvljlta.cmdline”。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context)+12980692 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest) wr,HttpContext context)+12820285
答案 0 :(得分:0)
看起来某些权利已被撤销给用户。尝试提供管理员的用户权限。