gpt4 book ai didi

ASP.NET 无法访问 Windows 临时文件夹?

转载 作者:行者123 更新时间:2023-12-04 02:44:23 24 4
gpt4 key购买 nike

每当我想从本地主机运行我的应用程序时
它会产生以下奇怪的错误

Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CVT1108: cannot open C:\Windows\TEMP\RESC1C1.tmp for writing

Source Error:



[No relevant source lines]


Source File: Line: 0



Show Detailed Compiler Output:

....

CVTRES : fatal error CVT1108: cannot open C:\Windows\TEMP\RESC1C1.tmp for writing
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

error CS1583: 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\449ad1a6\abc33f1b\CSCC1C0.tmp' is not a valid Win32 resource file

最佳答案

以下是修复它的步骤:

转到 C:\Windows

右键单击临时文件夹

点击属性

转到安全

赋予 CREATOR OWNER 组完全控制权。

关于ASP.NET 无法访问 Windows 临时文件夹?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5946618/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com