发布后出现的web.config的问题??急!
都设置好了,浏览该页面的时候出现以下错误:
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:
Line 52: “Passport”和“None”
Line 53: -->
Line 54: <authentication mode="Windows" />
Line 55: <!-- 应用程序级别跟踪记录
Line 56: 应用程序级别跟踪在应用程序内为每一页启用跟踪日志输出。
Source File: c:\inetpub\wwwroot\study\web.config Line: 54
---------------
我也设置了虚拟目录了的。怎么回事?
另:
我这次用vs.net生成了的部署工程的安装文件,但我在另外一台机器上安装的时候它提示输入安装的路径,我记得以前我生成的安装文件安装的时候只是提示输入虚拟目录名就可以了的,这次怎么会是提示输入安装路径呢?
急呀!