系统重装前,我把以前的C:\Inetpub下的东西复制了一份,重装后又拷回来了。程序都能打开,但是在vs.net中运行时,报错:
[试图运行项目出错:无法在web上启动调试。未将项目配置为调试。]
但是我的web.config中debug=true。
直接在浏览器中输入路径时,报错:
[Server Error in '/' Application.
--------------------------------------------------------------------------------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 44: 它为成员站点提供单独登录和核心配置文件服务。
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- 授权
Source File: c:\inetpub\wwwroot\RegistProcess\web.config Line: 46 ]请高手指点!!!!
[试图运行项目出错:无法在web上启动调试。未将项目配置为调试。]
但是我的web.config中debug=true。
直接在浏览器中输入路径时,报错:
[Server Error in '/' Application.
--------------------------------------------------------------------------------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 44: 它为成员站点提供单独登录和核心配置文件服务。
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- 授权
Source File: c:\inetpub\wwwroot\RegistProcess\web.config Line: 46 ]请高手指点!!!!
解决方案 »
- asp.net 中和C#中的listBox1.SelectedItem这么大区别啊
- 关于VS2003使用ajax问题?
- SqlServer 2005 开发版在使用时有没有什么限制?
- 关于Asp.net(C#)DataGrid与XML文件的问题,最简单的。谢谢各们大哥们了。
- 如何弹出“打开对话框”?
- 类型“ScriptManager”的控件“ScriptManager1”必须放在具有 runat=server 的窗体标记内
- 怎么实现上下移动DataGrid中的行啊?
- 如何实现就像这里的帖子一样,可以由楼主给回复者打分?
- 这个方法的意思
- ????如何判断某个cookie & Session是否存在????
- 有个郁闷的问题,做了个添加数据的功能,记录多了一行,但是数据一个都没进去,郁闷啊!
- 关于FLASH连接弹出小窗口的问题
在iis中给你的应用程序配置一个虚拟目录!!!
选中不能使用的项目,在properties->directory->application settings->application name后create就可以了。