佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 758|回复: 9

救命!为何出现这个error page当我要load 我的asp.net applicaiton

[复制链接]
发表于 22-5-2006 11:49 AM | 显示全部楼层 |阅读模式
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
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 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 编辑 ]
回复

使用道具 举报

Follow Us
发表于 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 | 显示全部楼层



回复

使用道具 举报


ADVERTISEMENT

发表于 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 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 22-9-2024 05:23 PM , Processed in 0.114556 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表