問(wèn):程序發(fā)生了組策列異常,
異常詳細(xì)信息: System.ComponentModel.Win32Exception: 組策略阻止了這個(gè)程序。要獲取詳細(xì)信息,請(qǐng)與系統(tǒng)管理員聯(lián)系。
源錯(cuò)誤:
執(zhí)行當(dāng)前 Web 請(qǐng)求期間生成了未經(jīng)處理的異常??梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關(guān)異常原因和發(fā)生位置的信息。
[Win32Exception (0x: 組策略阻止了這個(gè)程序。要獲取詳細(xì)信息,請(qǐng)與系統(tǒng)管理員聯(lián)系。]
[ExternalException (0x: 無(wú)法執(zhí)行程序。所執(zhí)行的命令為 "D:\\www\\pardos\\www\\bin\\roslyn\\csc.exe" /shared /keepalive:"10" /noconfig /fullpaths @"D:\\tmp_aspnet\\\\b6b224f9\\\\rmd5c2nm.cmdline"。]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle , cmd, currentDir, TempFileCollection , & , & , trueCmdLine)
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle , cmd, currentDir, TempFileCollection , & , & , trueCmdLine) 118
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(IntPtr , cmd, currentDir, TempFileCollection , & , & errorName) 85
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.Compile(CompilerParameters , compilerFullPath, arguments, & , Int32& nativeReturnValue) 193
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.FromFileBatch(CompilerParameters , String[] fileNames) 680
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.CompileAssemblyFromFileBatch(CompilerParameters , String[] fileNames) 186
System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters , String[] fileNames) 25
System.Web.Compilation.AssemblyBuilder.Compile() 985
System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath , CodeDirectoryType , assemblyName, excludedSubdirectories, isDirectoryAllowed) 529
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath , CodeDirectoryType , assemblyName, excludedSubdirectories) 131
System.Web.Compilation.BuildManager.CompileCodeDirectories() 398
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 256
[HttpException (0x: 無(wú)法執(zhí)行程序。所執(zhí)行的命令為 "D:\\www\\pardos\\www\\bin\\roslyn\\csc.exe" /shared /keepalive:"10" /noconfig /fullpaths @"D:\\tmp_aspnet\\\\b6b224f9\\\\rmd5c2nm.cmdline"。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() 65
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 458
System.Web.Compilation.BuildManager.CallAppInitializeMethod() 35
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager , IApplicationHost , IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, policyLevel, appDomainCreationException) 605
[HttpException (0x: 無(wú)法執(zhí)行程序。所執(zhí)行的命令為 "D:\\www\\pardos\\www\\bin\\roslyn\\csc.exe" /shared /keepalive:"10" /noconfig /fullpaths @"D:\\tmp_aspnet\\\\b6b224f9\\\\rmd5c2nm.cmdline"。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) 99
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, context) 263
版本信息: .NET 版本:4.0.30319; ASP.NET 版本:4.8.4330.0,asp.net的程序無(wú)法打開(kāi)
答:您好,查看到對(duì)應(yīng)的報(bào)錯(cuò),當(dāng)前為您注釋這段代碼,現(xiàn)在可以正常訪問(wèn)。
問(wèn):虛擬主機(jī)能鏈接到外部服務(wù)器的數(shù)據(jù)庫(kù)、redis,及其它服務(wù)嗎?
答:您好,是可以的,請(qǐng)?jiān)趯?duì)應(yīng)的配置文件中填寫(xiě)對(duì)應(yīng)的調(diào)用地址即可,非常感謝您長(zhǎng)期對(duì)我司的支持!
西部數(shù)碼(west.cn)是經(jīng)工信部、ICANN、CNNIC認(rèn)證審批,持有ISP、云牌照、IDC、CDN、頂級(jí)域名注冊(cè)商等全業(yè)務(wù)資質(zhì)的正規(guī)老牌服務(wù)商,自成立至今20余年專注于域名注冊(cè)、虛擬主機(jī)、云服務(wù)器、企業(yè)郵箱、企業(yè)建站等互聯(lián)網(wǎng)基礎(chǔ)服務(wù)!
截止目前,已經(jīng)為超過(guò)2000萬(wàn)個(gè)域名提供了注冊(cè)、解析等服務(wù),是中國(guó)五星級(jí)域名注冊(cè)注冊(cè)商!已為超過(guò)50萬(wàn)個(gè)網(wǎng)站提供了高速穩(wěn)定的云托管服務(wù),獲評(píng)中國(guó)最受用戶喜歡云主機(jī)服務(wù)商。
西部數(shù)碼提供全方位7X24H專業(yè)售后支撐,域名注冊(cè)特價(jià)1元起,高速穩(wěn)定云主機(jī)45元起,更多詳情請(qǐng)瀏覽西部數(shù)碼官網(wǎng):http://www.ps-sw.cn/