Asp.net Web.Config中出现错误

Asp.net Web.Config中出现错误,asp.net,web-config,.net-2.0,Asp.net,Web Config,.net 2.0,请告诉我什么是使用: <add assembly="*"/> 谢谢根据: 您可以指定星号(*)通配符来添加应用程序专用程序集缓存中的每个程序集,该应用程序位于应用程序的\bin子目录或.NET Framework安装目录(%systemroot%\Microsoft.NET\Framework\version) 由于您很可能不需要将所有程序集添加到应用程序中,因此我建议只添加您实际使用的程序集,并保留部分,这将解决您的问题。索引服务可能会导致此问题。如果索引服务正在您的计算机上运行

请告诉我什么是使用:

<add assembly="*"/>
谢谢

根据:

您可以指定星号(*)通配符来添加应用程序专用程序集缓存中的每个程序集,该应用程序位于应用程序的\bin子目录或.NET Framework安装目录(%systemroot%\Microsoft.NET\Framework\version)


由于您很可能不需要将所有程序集添加到应用程序中,因此我建议只添加您实际使用的程序集,并保留
部分,这将解决您的问题。

索引服务可能会导致此问题。如果索引服务正在您的计算机上运行,则应将其从索引目录中排除:

  • 从计算机上的管理工具打开计算机管理。
  • 导航到“服务和应用程序”下的索引服务。
  • 在索引服务下选择“Web”。
  • 在右窗格中,右键单击鼠标并选择“新建”>“目录”。
  • 添加网页所在的路径(例如:c:\inetpub)。
  • 对不在inetpub下的所有虚拟目录重复此操作。
  • 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: Exception of type 'System.OutOfMemoryException' was thrown.
    
    Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config