Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net 404´íÎó

ÔÚתÏòеÄÒ³Ãæʱ£¬»á³öÏÖÏÂÃæµÄ´íÎó
ÎÞ·¨ÕÒµ½×ÊÔ´¡£
˵Ã÷: HTTP 404¡£ÄúÕýÔÚ²éÕÒµÄ×ÊÔ´(»òÕßËüµÄÒ»¸öÒÀÀµÏî)¿ÉÄÜÒѱ»ÒƳý£¬»òÆäÃû³ÆÒѸü¸Ä£¬»òÔÝʱ²»¿ÉÓá£Çë¼ì²éÒÔÏ URL ²¢È·±£ÆäƴдÕýÈ·¡£
ÇëÇóµÄ URL: /lonin.aspx
½â¾ö·½·¨ÈçÏ£º
1.Ê×ÏÈ£¬ÒªÖØÐÂ×¢²áIIS £ºÔËÐÐcmd ºó ½øÈë“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727”¡¡¼üÈëÃüÁîaspnet_regiis -i
Æä´Î£¬ÔÚ£º ¼ÆËã»ú¹ÜÀí£­£­InternetÐÅÏ¢·þÎñ£¨IIS£©¹ÜÀíÆ÷£­£­Web·þÎñÀ©Õ¹£­£­ASP.NET V2.0.50727 ÖÐÑ¡ÔñÔÊÐí
×îºó£¬ÖØÐÂÔÚ¼ÆËã»ú¹ÜÀíµÄ¶ÔÓ¦ÏîÄ¿ÖÐÕÒµ½ÄãÒªä¯ÀÀµÄÒ³Ã棬´ò¿ªÒ³Ã棬¾Í¿ÉÒÔÁË¡£
ÁíÍ⣺
HTTP 403.1 ½ûÖ¹·ÃÎÊ£º½ûÖ¹¿ÉÖ´ÐзÃÎÊ
Internet ÐÅÏ¢·þÎñ
Ô­ÒòÊÇÖ´ÐÐȨÏÞ²»¹»£¬½â¾öµÄ·½·¨ÊÇ£º
´ò¿ª“¹ÜÀí¹¤¾ß”µÄ“Internet ÐÅÏ¢·þÎñ”£¬ÓÒ¼üÑ¡Ôñ“WEBÕ¾µãÊôÐÔ”µÄ“Ö÷Ŀ¼”Ñ¡Ï£¬°Ñ“Ö´ÐÐÐí¿É”µÄÑ¡Ïî´Ó“ÎÞ”¸ÄΪ“´¿½Å±¾”¾ÍºÃÁË¡£
2.µÄÈ·ÊÇûÓÐÕâ¸öÎļþʱ£¬
ÔÚweb.configÎļþÖÐÌí ¼ÓÒ»¸ö´íÎó´¦ÀíµÄ½Ú
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>¡£


Ïà¹ØÎĵµ£º

asp.net ÖÐǶÈëÊÓƵ²¥·ÅÆ÷

 <object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 width="352" height="352" id=MediaPlayer1>
<param name=AudioStream value=-1>
<param name=AutoSize value=-1>
<!--ÊÇ·ñ×Ô¶¯µ÷Õû²¥·Å´óС-->
<param name=AutoStart value=0>
<!--ÊÇ·ñ×Ô¶¯²¥·Å-->
<par ......

»ùÓÚASP.NETµÄ»áÒéÊÒÔ¤¶¨ÏµÍ³


»ùÓÚASP.NETµÄ»áÒéÊÒÔ¤¶¨ÏµÍ³£ºÑÝʾµØÖ· http://www.51dll.cn/dotnetcms/ (²âÊ԰棬ºÜ¶àÄÚÈÝ»áÖð²½Ìí¼Ó)
±¾ÎĽéÉÜ»áÒéÊÒÔ¤¶¨ÏµÍ³µÄÔµÓÉÒÔ¼°Ê¹Óãº
ÔµÓÉ£º¿ª»áÊÇÿһ¸öÆóÒµ±Ø²»¿ÉÉÙµÄÄÚÈÝ£¬ÏÖ´úÆóÒµ¿ª»áʱ£¬±ØÐëÓÐÈý¸öÒªÊý£º
1£©»áÒéÊÒ  2£©±Ê¼Ç±¾ ºÍ 3£©Í¶Ó°ÒÇ
ÔںܶàÆóÒµÀ¶¼ÊÇʹÓÃÊÖ¹¤Ô¤¶¨µÄ£¬Âé·³¡¢·ÑÁ¦¶øÇ ......

asp.netÖдò¿ªÐ´°¿ÚµÄ¶àÖÖ·½·¨(תÔØ)

asp.netÖдò¿ªÐ´°¿ÚµÄ¶àÖÖ·½·¨(תÔØ)
1.Response.Redirect("XXX.aspx",true)——Ö±½ÓתÏòеÄÒ³Ã棬ԭ´°¿Ú±»´úÌæ;
2. Response.Write("<script>window.open(XXX.aspx','_blank')</script>")——Ô­´°¿Ú±£Áô£¬ÁíÍâÐÂÔöÒ»¸öÐÂÒ³Ãæ;
3.Response.Write("<script>window.location=XXX. ......

asp.net ´ò°ü³É°²×°³ÌÐò

1. µÄ.net£¬ÓÃÊó±êÓÒ»÷ÄãµÄ¹¤³Ì(½â¾ö·½°¸)£¬Ñ¡Ôñadd new project(Ìí¼Óн¨ÏîÄ¿)¡£
2.Ñ¡Ôñsetup and deployment projects£¨°²×°ºÍ²¿ÊðÏîÄ¿£©µÄ web setup project(web°²×°ÏîÄ¿)¡££¨×¢ÒâsetupprojectµÄ´æ·Å·¾¶¡£Í¨³£Ä¬ÈÏ£©
3.vsµÄ´°¿Ú»áÏÔʾÎļþϵͳ£¨you setup name£©¡£ÓÃÊó±êµã»÷×óÀ¸ÏµÄ"web application folder" µÄ¼Óº ......

ASP.NETÒ³Ãæˢз½·¨×ܽá

ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); }
µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.locat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ