大问题!.NET如何合并两个网站?(说不清楚,内详)
现在我遇到了很大的问题。就是我做了两个网站。假如一个是A站,一个是B站。这两个站在IIS上都正常运行。比如输入
http://localhost/A和http://localhost/B,他们都没错。但是我把B站放在A站的子文件夹下时,比如A里有一个B文件夹,我就把B站放在里面。输入如下访问
http://localhost/A/B,它就出现如下错误
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
|
各位高手有没有办法?是B站的web.config的配置问题。该怎么设?多谢赐教