选择显示字体大小

asp.net控件加载错误的解决方法

    开发基于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 as.net_wp.exeprocess (or w3wp.exe process for applications that run on microsoft inte.net 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.

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


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons