Hello all, maybe you guys can help me out here. I am building a web site using Visual Studio 2015 Professional, if I run the site in local IIS, it runs fine, however, when I upload the site to my host (In a Web Farm), then I get the following error;
timed out waiting for a program to execute. the command being executed was "x:\Folder\Folder\Folder.com\wwwroot\bin\roslyn\vbc.exe" /shared /keepalive;line-height:normal;">Stack Trace:
[ExternalException (0x102): Timed out waiting for a program to execute. The command being executed was "X:\folder\folder\folder.com\wwwroot\bin\roslyn\vbc.exe" /shared /keepalive:"10" /noconfig @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6aa07fb8\6be34694\up4mwu30.cmdline".] System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)+2349 System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +106 System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName) +81 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.Compile(CompilerParameters options, String compilerFullPath, String arguments, String& outputFile, Int32& nativeReturnValue) +193 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.FromFileBatch(CompilerParameters options, String[] fileNames) +680 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) +187 System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) +24 System.Web.Compilation.AssemblyBuilder.Compile() +939 System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +10060089 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +9952600 System.Web.Compilation.BuildManager.CompileGlobalAsax() +44 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +260
[HttpException (0x80004005): Timed out waiting for a program to execute. The command being executed was "X:\folder\folder\folder.com\wwwroot\bin\roslyn\vbc.exe" /shared /keepalive:"10" /noconfig @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6aa07fb8\6be34694\up4mwu30.cmdline".] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +435 System.Web.Compilation.BuildManager.CallAppInitializeMethod() +33 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +545
[HttpException (0x80004005): Timed out waiting for a program to execute. The command being executed was "X:\folder\folder\folder.com\wwwroot\bin\roslyn\vbc.exe" /shared /keepalive:"10" /noconfig @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6aa07fb8\6be34694\up4mwu30.cmdline".] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9920760 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261 |
I am compiling the project in "Release" mode as recommended by some and the web.config file <compilation debug /> is set to "false"
Anyone with a fix please help!