您的位置:首页 > 移动开发

Server Error in '/XXX_Develop' Application.

2012-02-01 14:25 363 查看
困扰许久的问题

Server Error in '/XXX_Develop' Application.

--------------------------------------------------------------------------------

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Access is denied: ‘XXXXXXXX’.

Source Error:

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Line 198: <add assembly="*"/>

Line 199: </assemblies>

Line 200: </compilation>

Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198

Assembly Load Trace: The following information can be helpful to determine why the assembly ‘XXXXXXXX' could not be loaded.

=== Pre-bind state information ===

LOG: DisplayName =XXXXXXXXX

(Partial)

LOG: Appbase = file:///C:/Inetpub/wwwroot/XXXX_Develop

LOG: Initial PrivatePath = bin

Calling assembly : (Unknown).

===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

LOG: Post-policy reference: XXXXX

LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/pds_develop/334b3141/7fad2c67/Interop.Excel.DLL.

LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/pds_develop/334b3141/7fad2c67/Interop.Excel/Interop.Excel.DLL.

LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/PDS_Develop/bin/Interop.Excel.DLL.

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

LOG: Post-policy reference: XXXXX, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null

XXXXX =Excel dll 文件 ,总是出现此类问题 删除此dll 文件引入有时候会好 有时不行 重启动会好一会 ,调试的时候会出错 。。。。

解决办法:

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐