记忆博客园

只为成功找方法,不为失败找借口!__[じ浪漫記憶ve]

remanticmemoryID:RemanticMemory
65609次访问,排名1540好友0人,关注者0
RemanticMemory的文章
原创 134 篇
翻译 0 篇
转载 29 篇
评论 15 篇
RemanticMemory的公告
☆最大的敌人就是自己☆
net交流群20489595
最近评论
山贼:这样真的行了吗?貌似不行吧
hdnero:wow power leveling
hdnero:wow power leveling
zhanshuizhu:重新注册一下IIS
13446:沙发
湖州人,顶顶。
文章分类
收藏
相册
成长历程
激情岁月
旅游风光
站点信息
久游IT网
渐飞IT人阵地
渐飞网络(JFCMS)
存档
软件项目交易
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes

原创 访问被拒绝:“AspNetPager”的问题收藏

新一篇: 快速调用可执行程序  | 旧一篇: 组件 访问被拒绝 --“/”应用程序中的服务器错误。IIS重启不行,系统注销也不行

今天使用pager时候遇到这样一个问题:

配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“AspNetPager”。 源错误: 行 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> 行 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> 行 198: <add assembly="*"/> 行 199: </assemblies> 行 200: </compilation> 源文件: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 程序集加载跟踪: 下列信息有助于确定程序集“AspNetPager”无法加载的原因。

gooooooogle了一下,

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:
1. Click Start, and then click Services.
2. Locate Indexing Service from the list of services, and then click Indexing Service Properties from the subform.
3. On the General tab of the Indexing Service Properties dialog box, in the Startup type drop-down item list, click Disabled.
4. 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:
1. Click Start, point to All Programs, point to Administrative Tools, and then click Computer Management.
2. Expand the Services and Applications node, expand the Indexing Service node, and then expand the System node.
3. Right-click the Directories folder, point to New, and then click Directory from the subform to open the Add Directory dialog box.
4. Click Browse, and then locate the Temporary ASP.NET Files directory. You typically find the Temporary ASP.NET files in the following path: c:\<WINDIR>\Microsoft.NET\Framework\<Version Number>\Temporary ASP.NET Files
Note<Version Number> is the version of .NET Framework installed on your computer.
5. Click No under the Include in Index? option buttons.
6. Click OK to close.
7. Close the Computer Management dialog box.
8. Restart the Indexing Services service.

我用了第一种方法,在服务里面把Indexing Service停了,就好用了。

 

发表于 @ 2007年04月19日 09:47:00|评论(loading...)|编辑

新一篇: 快速调用可执行程序  | 旧一篇: 组件 访问被拒绝 --“/”应用程序中的服务器错误。IIS重启不行,系统注销也不行

评论

#Sunny 发表于2007-09-13 16:39:46  IP: 221.0.182.*
thank
发表评论  


登录
Csdn Blog version 3.1a
Copyright © RemanticMemory