服務熱線
153 8323 9821
今天使用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停了,就好用了。