I am creating a website in iis & getting the below errors while accessing
Event code: 3007 Event message: A compilation error has occurred.
Event time: 10/8/2020 9:11:23 AM
Event time (UTC): 10/8/2020 4:11:23 PM
Event ID: 8f2e8617f393499e80ef70ce9de6c596
Event sequence: 3
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-132466470829036222
Trust level: Full
Application Virtual Path: /
Application Path: D:\Program Files\APware\App\DAP\
Machine name: PW0425 Process information:
Process ID: 4688
Process name: w3wp.exe
Account name: IIS APPPOOL\DataWebSite Exception information:
Exception type: HttpCompileException
Exception message: (0): error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\86401203\d9a8f09\App_global.asax.f9ss4eo4.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)
Request information:
Request URL: http://localhost:8885/admin1.svc
Request path: /admin1.svc
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\DataWebSite Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\DataWebSite
Is impersonating: False
Stack trace:
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)
When checked the logged in user and is part of Admin Group & able to create folders for the path shown access denied.
Could some one guide me on this? but this is working on other server.
Aucun commentaire:
Enregistrer un commentaire