今天使用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了一下,
| 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. |
| 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停了,就好用了。
石家庄网站建设的优点:我们是专属定制,制作符合您公司业务、风格的网站,这就做到给您制作的网站是网络上独一无二的网站,这样更有利于搜索引擎的收录。如果您喜欢网络上某个风格的网站或者网站模板,我们是只仿制而不直接套用,我们会对其中的结构和样式做增减优化,做…
竞价排名营销是一种通过 竞价购买搜索引擎中关键词或关键短语的广告方式。竞价排名营销分为两种类型。 第一种,直接为真正的搜索引擎结果的排名付费,也就是说付的钱越多,网页所获得的排名名也就越高。 第二种则更类似于普通的广告。这种竞价排名营销方式通过…
网站优化对网站来说是非常重要的,直接决定和影响着网站所起到的作用,以及在各个地方当中的排名。在进行seo优化的过程中,我们必须要坚持一定的原则,真正的把这些事情做得更好,才可以确保最终的结果,这对于我们来说是非常重要的事。 SEO优化主要分为8小步: …