- 热门文章:
- · asp.net datagrid如何在最后一行作求和:
- · HTTPBrowserCapabilities---在asp.net中显示浏览器属性
- · 将xml作为DataGrid 操作(Sort, Edit, Delete)
- · 使用net classes访问其他网站内容
- · 在asp.net中调用Excel 文件
- · 如何利用RowFilter 属性从一个dataset中创建两个不同的datagrid
- · 使用.NET访问Internet(5) Paul_Ni(原作)(补充)
- · 使用.NET访问Internet(5) Paul_Ni(原作)
- · 使用.NET访问Internet(4) Paul_Ni(原作)(补充)
- · 使用.NET访问 Internet(3) Paul_Ni(原作)
- · 使用.NET访问Internet(4) Paul_Ni(原作)
- · 使用.NET访问 Internet(2) Paul_Ni(原作)
上一篇:用C#实现无需iiS环境就可以执行aspx文件 >>
解决一个比较奇怪的NET问题的方法
After you compile your Web application, you may receive the following error messages in
the Microsoft Visual Studio .NET task list:
Could not copy temporary files to the output directory.
-and-
The file @#bin\mywebapp.dll@# cannot be copied to the run directory. The process cannot
access the file because it is being used by another process.
-and-
The file @#bin\mywebapp.pdb@# cannot be copied to the run directory. The process cannot
access the file because it is being used by another process.
微软对此的解释为如下,
CAUSE
Typically, this problem occurs because of a trailing backslash at the end of the path that
is set for the root Web site. For example:
C:\Inetpub\wwwroot\
This causes the mechanism that copies the DLLs from your Bin directory to the Temporary
ASP.NET Files folder to fail. When this mechanism fails, the runtime loads the DLL
directly from the Bin directory rather then from the Temporary ASP.NET Files folder.
This problem may also occur if any virtual directories with trailing backslashes have
child directories that are marked as Web applications.
RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the
problem described in this article and should be applied only to systems experiencing this
specific problem. This fix may receive additional testing at a later time, to further
ensure product quality. Therefore, if you are not severely affected by this problem,
Microsoft recommends that you wait for the next Microsoft .NET Framework service pack that
contains this fix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain
the fix. For a complete list of Microsoft Product Support Services phone numbers and
information about support costs, please go to the following address on the World Wide Web:
http://support.microsoft.com/directory/overview.asp
NOTE : In special cases, charges that are normally incurred for support calls may be
canceled, if a Microsoft Support Professional determines that a specific update will
resolve your problem. Normal support costs will apply to additional support questions and
issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
--------------------------------------------------------------
26-Mar-2002 04:35 1.0.3705.213 192,512 Aspnet_isapi.dll
26-Mar-2002 04:30 19,332 Aspnet_perf.ini
26-Mar-2002 04:35 1.0.3705.213 24,576 Aspnet_regiis.exe
26-Mar-2002 04:35 1.0.3705.213 28,672 Aspnet_wp.exe
20-Mar-2002 12:31 8,709 Smartnav.js
20-Mar-2002 12:31 7,003 Smartnavie5.js
26-Mar-2002 13:34 1.0.3705.213 1,183,744 System_web.dll
NOTE : This fix requires Microsoft .NET Framework Service Pack 1.
我在看到此文前对此的解决方法是,CTRL+ALT+DEL,将进程中的ASPNET_WP.EXE去掉,
再运行,一切OK,哈哈,微软的东西真怪呀
下一篇:asp.net datagrid如何在最后一行作求和: >>
相关文章:
- · 修改后的Whois查询程序
- · 使用.NET访问 Internet(1) Paul_Ni(原作)
- · 如何取得动态装载的WEB CONTROL的属性值?
- · POP3 Client as a C# Class(转自CodeProject)
- · 饼图的一种画法(转载自aspcool)
- · 精品:Asp3.0中email有效性验证
- · 使用Div加速页面的显示(原创)
- · Creating DataGrid Templated Columns Dynamically - Part I(转自Dotnettips)
- · 关于asp.net的代码重用
- · Getting Datagrid Columns Keypress,Keyup, Keydown and other events to Fire(一个很好的东西)
- · runat=server
- · 关于上下文(Context)/2(转MS)
- · 关于上下文(Context)/1(转MS)
- · 在.NET中使用静态变量来代替Application变量
- · ASP.NET窗体对话框的实现
- · 用.NET创建定时缓存
- · 将Session值储存于SQL Server中
- · ASP.NET中的事务处理和异常处理
- · ASP.NET Caching /2
- · 嘿,懒鬼!!其实MSDN阐述得真得不错哎,不知道你从哪来的资料
- · ASP.NET Caching /1
- · 绝对酷,如何解决asp.net中javascript脚本的问题(使用服务器控件执行客户端脚本)
- · 最佳ASP.NET编程习惯
- · 一次同时上传多个文件
- · 在datagrid中求和(vb.net,c#)
- · ASP.NET中利用SQLXML WEB服务访问XML数据(转)
- · 在DataGrid中经弹出窗口确认后执行操作(删除)。(附在DataGrid中修改,添加记录)详见代码!!
- · 在datagrid中放入一个DropDownList(忘了这个问题在那里看到的了CSDN or There)
- · 简单的动态加载用户控件的方法
- · 关于如何 确认删除的另外一个办法。
- · 掉掉注意了,如何动态加载用户控件(ascx)
- · 给大家一个新的加密方法,C#的。(国外的,只用于学习,支持中文)
- · TO feixr,DataGrid中的Radiobutton
- · 微软.NET战略和ASP.NET简介(1)
- · 微软.NET战略和ASP.NET简介(3)
- · 微软.NET战略和ASP.NET简介(2)
- · 验证控件介绍--RegularExpressionValidator
- · 验证控件介绍--RangeValidator
