文章导航PC6首页软件下载单机游戏安卓资源苹果资源

pc软件新闻网络操作系统办公工具编程服务器软件评测

安卓新闻资讯应用教程刷机教程安卓游戏攻略tv资讯深度阅读综合安卓评测

苹果ios资讯苹果手机越狱备份教程美化教程ios软件教程mac教程

单机游戏角色扮演即时战略动作射击棋牌游戏体育竞技模拟经营其它游戏游戏工具

网游cf活动dnf活动lol周免英雄lol礼包

手游最新动态手游评测手游活动新游预告手游问答

您的位置:首页技术开发ASP技巧 → Asp.Net控件加载错误的解决方法

Asp.Net控件加载错误的解决方法

时间:2004/11/7 4:12:00来源:本站整理作者:蓝点我要评论(0)

    开发基于Asp.Net的系统,最初使用R.a.d Treeview 2.5,经常会出现控件无法加载的情况。原以为是控件本身的问题,可后来将R.a.d Treeview升级到3.0版,还是无法解决。去Terelik官方网站看了F.A.Q,也没有提到这个问题。


    后来发现,当出现控件无法加载的情况之后,只要Restart系统,或者等一会儿重新编译执行程序,控件无法加载的情况即消失了。难道是Framework的问题?怕我们编程太累,让我们中间休息一下?郁闷.......


    今天偶然间发现如下一篇文章,照之做了之后,问题解决~哈



PRB: Access Denied Error When You Make Code Modifications with Index Services Running
http://support.microsoft.com/default.aspx?scid=kb;en-us;329065


 


CAUSE
If you run Index Server (Cisvc.exe), then Index Server may rescan the Temporary ASP.NET Files directory while it requests a Microsoft ASP.NET page. Cisvc.exe then holds a lock on the Temporary ASP.NET Files directory for one to five minutes. The length of time of the lock depends on the size of the directory that causes the Aspnet_wp.exeprocess (or W3wp.exe process for applications that run on Microsoft Internet Information Services [IIS] 6.0) to not load the particular DLL.
RESOLUTION
If you do not use Index Server on the server, you can disable it. To do so, follow these steps:


Click Start, and then click Services.
Locate Indexing Service from the list of services, and then click Indexing Service Properties from the subform.
On the General tab of the Indexing Service Properties dialog box, in the Startup type drop-down item list, click Disabled.
Click OK.


If you use Index Server, you can exclude the Temporary ASP.NET Files directory from the folders that the Index Server scans. To do so, follow these steps:


Click Start, point to All Programs, point to Administrative Tools, and then click Computer Management.
Expand the Services and Applications node, expand the Indexing Service node, and then expand the System node.
Right-click the Directories folder, point to New, and then click Directory from the subform to open the Add Directory dialog box.
Click Browse, and then locate the Temporary ASP.NET Files directory. You typically find the Temporary ASP.NET files in the following path: c:\\Microsoft.NET\Framework\\Temporary ASP.NET Files
Note is the version of .NET Framework installed on your computer.
Click No under the Include in Index? option buttons.
Click OK to close.
Close the Computer Management dialog box.
Restart the Indexing Services service.
MORE INFORMATION
Other software that is designed to scan directories at regular intervals may lock the files that are located in the Temporary ASP.NET Files directory in a manner that is similar to how the Indexing Service locks the files. Examples of such software include virus scanners and backup software. Microsoft recommends that you see the manufacturers' manuals for the individual software for information about how to disable or to exclude the Temporary ASP.NET Files from these services.


原来是索引服务引起的故障~~


相关阅读 Windows错误代码大全 Windows错误代码查询激活windows有什么用Mac QQ和Windows QQ聊天记录怎么合并 Mac QQ和Windows QQ聊天记录Windows 10自动更新怎么关闭 如何关闭Windows 10自动更新windows 10 rs4快速预览版17017下载错误问题Win10秋季创意者更新16291更新了什么 win10 16291更新内容windows10秋季创意者更新时间 windows10秋季创意者更新内容kb3150513补丁更新了什么 Windows 10补丁kb3150513是什么

文章评论
发表评论

热门文章 没有查询到任何记录。

最新文章 VB.NET 2005编写定时关 Jquery get/post下乱码解决方法 前台gbk gb如何使用数据绑定控件显示数据ASP脚本循环语句ASP怎么提速

人气排行 轻松解决"Server Application Error"和iis"一起学习DataGridView调整列宽用ASP随机生成文件名的函数Jquery get/post下乱码解决方法 前台gbk gbODBC Drivers错误80004005的解决办法返回UPDATE SQL语句所影响的行数的方法用Javascript隐藏超级链接的真实地址两个不同数据库表的分页显示解决方案