查看: 766|回复: 9
|
救命!为何出现这个error page当我要load 我的asp.net applicaiton
[复制链接]
|
|
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 37: by Microsoft that offers a single logon and core profile services for member sites.
Line 38: -->
Line 39: <authentication mode="Windows" />
Line 40:
Line 41:
Source File: c:\inetpub\wwwroot\abc\web.config Line: 39 |
|
|
|
|
|
|
|
楼主 |
发表于 22-5-2006 12:33 PM
|
显示全部楼层
当我在vs.net open project,准备run我的project时,出现这个error msg:
error while trying to run project, unable to start debugging on the web server. The project is not configured to be debugged
然后我按 project - abc properties , 发现start up object = "none" ,也没有其他可以选择。。 why? how to solve tis problem? |
|
|
|
|
|
|
|
发表于 22-5-2006 02:26 PM
|
显示全部楼层
原帖由 counterking 于 22-5-2006 12:33 PM 发表
当我在vs.net open project,准备run我的project时,出现这个error msg:
error while trying to run project, unable to start debugging on the web server. The project is not configured to be debugged
...
在这个project 的web.config 里把 set "debug = true" then , restart IIS 在开过,应该 ok liao... |
|
|
|
|
|
|
|
楼主 |
发表于 22-5-2006 03:06 PM
|
显示全部楼层
在web.config里debug一早就set去true了。。 还是不行
奇怪的是为和按 project - abc properties , 发现start up object = "none" ,也没有其他可以选择。。 why? |
|
|
|
|
|
|
|
发表于 22-5-2006 07:25 PM
|
显示全部楼层
在 VS.NET 运行下, 你可以尝试那么做:
Build -> Configuration Manager -> Active Solution Configuration -> Debug
至于 start up object, 去 任何一个 page, right click 设为 start up 即可. |
|
|
|
|
|
|
|
楼主 |
发表于 22-5-2006 11:36 PM
|
显示全部楼层
我去vs.net检查了,发现设定就如goatstudio所说的一样
Build -> Configuration Manager -> Active Solution Configuration -> Debug
烦人的error msg还是走出来当我run这个application
error while trying to run project, unable to start debugging on the web server. The project is not configured to be debugged
那么我还可以有什么办法去solve这个problem呢?
不好意思。。 麻烦大家了。。 特别是goatstudio
[ 本帖最后由 counterking 于 22-5-2006 11:38 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 23-5-2006 12:12 AM
|
显示全部楼层
把你的 VS.NET 里的几个 screen 贴上来看看
1. Project -> XXX_Project Properties -> Configuration Properties
2. Build -> Configuration Manager |
|
|
|
|
|
|
|
楼主 |
发表于 23-5-2006 11:08 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 23-5-2006 08:30 PM
|
显示全部楼层
请问你有rename过你的virtual directory吗??? |
|
|
|
|
|
|
|
楼主 |
发表于 24-5-2006 09:27 AM
|
显示全部楼层
行了。。 我并没有rename virtual directory.. 只是create new virtual directory.然后add path 而已
[ 本帖最后由 counterking 于 24-5-2006 09:36 AM 编辑 ] |
|
|
|
|
|
|
| |
本周最热论坛帖子
|