|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
c++是语言,其实C++和java的应用范围根本就不一样的。在java应用的领域内,c++是不合适的。所以微软才搞了C#和Java对抗。asp.net|debug|程序|毛病 SYMPTOMS
WhenyoudebuganASP.NETapplicationinVisualStudio.NET,youmayreceivethefollowingerrormessage:
Errorwhiletryingtorunproject:Unabletostartdebuggingonthewebserver.Theprojectisnotconfiguredtobedebugged
ForASP.NETprojects,verifythatyouhaveavalidprojectfilecalledWeb.configfortheURLspecifiedanddebugissettotrueinthatfile.
ForATLServerprojects,verifythattheDEBUGverbisassociatedwithyourISAPIextension.
WouldyouliketodisablefutureattemptstodebugASP.NETpagesforthisproject?
CAUSE
Thiserrorcanoccurprimarilybecause:•TheASP.NETApplicationdoesnothaveaWeb.Configfile.
•TheExecutePermissionspropertyforthecurrentprojectfolderinInternetServicesManagerissettoNone.
RESOLUTION
Toresolvethisproblem,useoneofthefollowingmethods,dependingonyourcircumstances:•IfyourprojectdoesnothaveaWeb.configfile,addaWeb.configfiletothedirectorythatcontainstheASP.NETapplication.IfyouareworkinginVisualStudio.NET,right-clicktheprojectinProjectExplorer,clickAddNewItem,andthenclickWebConfigurationFile.
•IfyourprojectalreadyhasaWeb.configfile,andifthedebugattributeissettotrueinthe<compilation>sectionoftheWeb.configfile,followthesestepstosettheExecutePermissionspropertyfortheprojectfolder:1.StartInternetServicesManager,andthenclicktheprojectthatyouaretryingtodebug.
2.Right-clicktheproject,andthenclickProperties.
3.ClicktheDirectorytab.
4.IfNoneisselectedintheExecutePermissionslist,clickScriptsonly,andthenclickApply.
我有个同学,他是搞Java的,他给我说“Java不是效率低,而是速度慢。”,我不是搞Java的,我实在想不透这句话的含义,难道执行速度不就是效率低吗?难道执行速度慢还成效率高了? |
|