已经将虚拟目录设置了“运行程序”。现在是这样的,根目录的web.config中定义的“Infragistics2.WebUI.UltraWebChart.v6.1”在运行虚拟目录中的程序时,虚拟目录的web.config报“Could not load file or assembly 'Infragistics2.WebUI.UltraWebChart.v6.1, Version=6.1.20061.28, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified. ”
你虚拟目录的这个文件夹不要放在主文件夹里面
”
2.根目录下的web.config 用 <location path="." allowOverride="true" inheritInChildApplications="false"> </location>来限止web.config的一些继承
你根目录中有Infragistics2.WebUI.UltraWebChart.v6.1
那么子目录也要有Infragistics2.WebUI.UltraWebChart.v6.1假如Infragistics2.WebUI.UltraWebChart.v6.1对应的dll在根目录的\bin\abc.dll
那么子目录的bin也要有\bin\abc.dll