iis6½â¾öÔËÐÐasp.net mvc
ÅäÖÃiis6½â¾öÔËÐÐasp.net mvcÏîÄ¿“ÎÞ·¨ÕÒµ½¸ÃÒ³”µÄ´íÎó
ÔÚiis6ÔËÐÐasp.net mvc ÏîĿʱ£¬Èç¹û³öÏÖ“ÎÞ·¨ÕÒµ½¸ÃÒ³”µÄÌáʾ£¬¼´404´íÎó£¬ÄÇôÓпÉÄÜÊÇiisûÓÐÉèÖú㬰´ÏÂÃæ²Ù×÷¿ÉÒÔ½â¾ö£º
´ò¿ªiis¹ÜÀíÆ÷£¬ÓÒ»÷ÏàÓ¦µÄÍøÕ¾½Úµã£¬Ñ¡Ôñ“ÊôÐÔ”¿ì½Ý²Ëµ¥£¬µ¯³öÊôÐÔ¶Ô»°¿ò£¬Ñ¡Ôñ“Ö÷Ŀ¼”Ñ¡Ï£¬µã»÷“ÅäÖÔ°´Å¥£¬ÔÚµ¯³öµÄÓ¦ÓóÌÐòÅäÖöԻ°¿òµÄÓ³ÉäÑ¡Ï£¬µã»÷“²åÈë”°´Å¥£¬ÔÚµ¯³öµÄ Ìí¼Ó/±à¼Ó¦ÓóÌÐòÀ©Õ¹ÃûÓ³Éä¶Ô»°¿òµã»÷“ä¯ÀÀ”°´Å¥ä¯ÀÀÑ¡Ôñasp.netµÄÖ´ÐгÌÐò£¬ÀýÈ磺
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
²¢ÇÒÈ¥µô“È·ÈÏÎļþÊÇ·ñ´æÔڔѡÏµã»÷È·¶¨Í˳ö¸÷¸ö¶Ô»°¿ò¡£
Ïà¹ØÎĵµ£º
½â¾ö·½·¨£º
1.¿´¿´ÄãµÄTerminal Services·þÎñÆô¶¯Ã»ÓУ¬Èç¹ûûÓÐÆô¶¯¾Í¿ÉÒÔ½â¾öÎÊÌâ¡£
2È·ÈÏ Machine Debug Manager ·þÎñÒÑÆô¶¯
3¡¢´ò¿ªÏîÄ¿ÊôÐÔ£¬ÔÚ“Debug”(µ÷ÊÔ)Ò»ÏîÀ°Ñ“Enable the Visual Studio hosting process”(ÆôÓÃVisual Studio ËÞÖ÷½ø³Ì)Ç°µÄ¹³È¥µô¡£
4. ......
ÎÊÌâ1£º
“/dsfsd”Ó¦ÓóÌÐòÖеķþÎñÆ÷´íÎó¡£
佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆڼ䣬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.NullReferenceException: 佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£
Ô´´íÎó:
Ö´ ......
Asp.net ºǫ́µ÷ÓÃjs·½·¨(ת)
1. ÓÃResponse.Write·½·¨
¡¡¡¡´úÂëÈçÏ£º
Response.Write("<script type='text/javascript'>alert("XXX");</script>");
´Ë·½·¨È±ÏݾÍÊDz»Äܵ÷Óýű¾ÎļþÖеÄ×Ô¶¨ÒåµÄº¯Êý£¬Ö»Äܵ÷ÓÃÄÚ²¿º¯Êý£¬¾ßÌåµ÷ÓÃ×Ô¶¨ÒåµÄº¯ÊýÖ»ÄÜÔÚResponse.WriteдÉϺ¯Êý¶¨ Ò壬±ÈÈç
Response.Write("& ......
dzÎöASP.NETµÄPage.IsPostBack ÊôÐÔ
http://www.sina.com.cn 2008Äê05ÔÂ06ÈÕ 11:33 IT168.com
¡¾IT168¼¼ÊõÎĵµ¡¿
ÏÖÔÚ´Ó¶ÔASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò¿ªÊ¼£¬Ìå»áÒ»ÏÂB/S½á¹¹µÄ³ÌÐòµÄÌص㣬ÏÂͼÊÇASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò˵Ã÷£º
Page_Init£¨Ò³Ãæ³õʼ»¯Òý·¢µÄʼþ£©——>Page_Load£¨¼ÓÔ ......