错误信息
A
编译器错误
CS006:
未能写入输出文件“
c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/e67e30d5/75ef25f0/x8714ibu.dll
”
--
“拒绝访问。
B
您尝试安装的产品已随操作系统一起安装到计算机上了
,
请用
WINDOWS UPDATE
安装更新
问题出现原因:
公司一系统维护人员,给我运行了一段,如下的批处理文件
----------------------------
@echo off
echo
正在清除系统垃圾文件,请稍等
......
del
/f /s /q %systemdrive%/*.tmp
del
/f /s /q %systemdrive%/*._mp
del
/f /s /q %systemdrive%/*.log
del
/f /s /q %systemdrive%/*.gid
del
/f /s /q %systemdrive%/*.chk
del
/f /s /q %systemdrive%/*.old
del
/f /s /q %systemdrive%/recycled/*.*
del
/f /s /q %windir%/*.bak
del
/f /s /q %windir%/prefetch/*.*
rd /s /q %windir%/temp & md %windir%/temp
del
/f /q %userprofile%/cookies/*.*
del
/f /q %userprofile%/recent/*.*
del
/f /s /q "%userprofile%/Local Settings/Temporary Internet Files/*.*"
del
/f /s /q "%userprofile%/Local Settings/Temp/*.*"
del
/f /s /q "%userprofile%/recent/*.*"
echo
清除系统
LJ
完成!
echo. & pause
---------------------------------
而后再运行
asp.net 1.1
开
发的网站都是
报,类似如下的错误。
“/”
应用程序中的服务器错误。
编译错误
说明
:
在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
编译器错误信息 : CS0016: 未能写入输出文件 “c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/e67e30d5/75ef25f0/x8714ibu.dll”--“ 拒绝访问。 ”
源错误 :
编译器错误信息 : CS0016: 未能写入输出文件 “c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/e67e30d5/75ef25f0/x8714ibu.dll”--“ 拒绝访问。 ”
源错误 :
[
没有相关的源行
]
|
|
源文件
:
行
:
0
解决过程
1
.
到路径里
查看对应得那个
x8714ibu.dll
文件现在根本就不存在了。
c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/e67e30d5/75ef25f0/
2
.
重新安装可
在
“
window 2003
中安装
.net 1.1 Framework
总是报”
您尝试安装的产品已随操作系统一起安装到计算机上了
,
请用
WINDOWS UPDATE
安装更新
3
.
找到了解决的方法
后来在
微软相关技术
网找到了解决的方法。
Ø
RESOLUTION
1. Create a temporary folder under %Systemroot%, and then name it Temp.
2. Grant full permissions on the Temp folder to the aspnet user account in .NET Framework 1.0 or to the NETWORK SERVICE user account in .NET Framework 1.1.
3. Right-click My Computer, and then click Properties.
4. On the Advanced tab, click Environment Variables.
5. Select the TEMP variable under System variables, and then click Edit.
6. Type %SystemRoot%/TEMP in the Variable Value box, and then click OK.
7. Repeat steps 5 and 6 to edit the TMP variable. Click OK two times.
8. Click Start, and then click Run.
9. To reset Internet Information Services (IIS), type iisreset on the command prompt.
Ø
中文翻译
1.
在系统目录下新建一个名叫
Temp
的临时文件夹
2.
把临时文件夹的所有权限赋给
aspnet
帐户
3.
右击我的电脑,选择属性
4.
在高级选项卡中,单击环境变量
5.
选择系统变量下的
Temp
变量进行编辑
6.
在输入框中输入系统根目录
/Temp,
点击
ok
7.
重复
5
,
6
步编辑
TMP
变量,点击
2
次
ok
8.
单击开始菜单,选择运行
9.
在命令行中重启
iis
服务
cmd-> iisreset
问题最终成功解决
留下该记录,希望对碰到同样问题的软件工程师有所帮助。