现在的思路是将B系统放在一个子文件夹里,使用自己的Web.config。 现在B系统普通的页面都可以显示了,就是调用App_Code下代码的页面会报错,错误信息类似如下: Server Error in '/' Application. --------------------------------------------------------------------------------
Could not load type 'ClsApp' from assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'ClsApp' from assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.