.NET v2 - BC30138: Unable to create temp file in path 'C:\WINDOWS\TEMP\': Access is denied.
Environment
Content
Got this error when the website was migrated to other server.
It was because of the permissions of ASPNET and NETWORK SERVICE on C:\WINDOWS\TEMP. Set back those to have full permission, the website was back to normal.
Reference
Update
- Microsoft .NET Framework version 2
Content
Got this error when the website was migrated to other server.
Microsoft (R) Visual Basic Compiler version 8.0.50727.3053
for Microsoft (R) .NET Framework version 2.0.50727.3649
Copyright (c) Microsoft Corporation. All rights reserved.
vbc : error BC30138: Unable to create temp file in path 'C:\WINDOWS\TEMP\': Access is denied.
It was because of the permissions of ASPNET and NETWORK SERVICE on C:\WINDOWS\TEMP. Set back those to have full permission, the website was back to normal.
Reference
Update