iT邦幫忙

0

WSUS 移除後無法佈署。

abc205234 10 月前1181 瀏覽

WSUS因硬碟爆掉,重新安裝後無法佈署。

錯誤碼:Log file is located at C:\Users\Administrator\AppData\Local\Temp\tmpFCE3.tmp
Post install is starting
Fatal Error: Failed to start and configure the WSUS service

錯誤代碼:
[HttpCompileException]: (0): error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\apiremoting30\6d914a06\f0f4283c\App_global.asax.czr3dp61.dll' -- 'Access is denied. '
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
   at System.Web.Compilation.BuildManager.CompileGlobalAsax()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
[HttpException]: (0): error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\apiremoting30\6d914a06\f0f4283c\App_global.asax.czr3dp61.dll' -- 'Access is denied. '
   at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
   at Microsoft.UpdateServices.Setup.StartServer.StartServer.FixSubscriptionCategories()
2016-09-20 20:30:50  StartServer encountered errors. Exception=Synchronization in progress. Please cancel synchronization and run postinstall again.
2016-09-20 20:30:50  Microsoft.UpdateServices.Administration.CommandException: Failed to start and configure the WSUS service
   at Microsoft.UpdateServices.Administration.PostInstall.Run()
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

請各位大大幫小弟一下,找很多地方了 但是就是用不好。萬分感謝。

liurambo0911 iT邦高手 1 級 ‧ 10 月前 檢舉
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\apiremoting30\6d914a06\f0f4283c\App_global.asax.czr3dp61.dll' -- 'Access is denied.
似乎是主因 確認一下安全性設定

1 個回答

0
WilliamHuang
iT邦大師 1 級 ‧ 10 月前

Framework 要不要完整移除再裝看看
通常硬碟突然壞軌或壞掉
某檔案跟資料夾還會在當時的鎖定狀態
WSUS的資料夾只能在本機上不能指向外部USB裝置
我是睡覺前來打醬油的
^^

我要發表回答

立即登入回答