每当我想运行从本地主机我的应用程序 它生成以下奇怪的错误
中的/应用程序中的服务器错误。
-------------------------------------------------- ------------------------------
编译错误
说明:该请求提供服务所需资源的编译过程中出现错误。请检查下面的特定错误详细信息并适当地修改源$ C $ C。
编译器错误信息:CVT1108:无法打开C:\ WINDOWS \ TEMP \ RESC1C1.tmp写作
源错误:
[没有相关的源行]
源文件:行:0
显示详细的编译器输出:
....
CVTRES:致命错误CVT1108:无法打开C:\ WINDOWS \ TEMP \ RESC1C1.tmp写作
微软(R)的Visual C#2010编译器版本4.0.30319.1
版权所有(C)微软公司。版权所有。
错误CS1583:C:\ WINDOWS \ Microsoft.NET \框架\ v4.0.30319 \临时ASP.NET文件\ ROOT \ 449ad1a6 \ abc33f1b \ CSCC1C0.tmp'是不是有效的Win32资源文件
解决方案
下面是步骤来解决这个问题:
转到C:\ WINDOWS
右键单击Temp文件夹
点击属性。
进入安全
给创建者所有者组完全控制权。
whenever I want to run my application from localhost it generates the following wierd error
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
解决方案
Here are the steps to fix it:
Go to C:\Windows
Right Click the Temp folder
Click on Properties
Go to Security
Give CREATOR OWNER group full control.