ÇóÖú°¡£¬Ëæ±ã½¨Á¢Ò»¸öASP.NETµÄÍøÕ¾¾ÍÎÞ·¨ÔËÐÐ
ÐÂÈËÒ»¸ö£¬²»¶®£¬Ï£Íû´ó¼Ò¶à¶àÖ¸µã
ÎÒËæÒâн¨Ò»¸öÍøÕ¾£¨2.0ºÍ3.5µÄ¶¼ÊÔ¹ý£©£¬Ö»·ÅÉÏÒ»¸ö¿Ø¼þ£¬È»ºó¾ÍÖ±½ÓÔËÐÐÁË£¬ÂíÉϾÍÌø³öÒ»¸ö³ö´íµÄÒ³Ãæ£¬´ó¸ÅÊÇ˵
¡°/WebSite1¡±Ó¦ÓóÌÐòÖеķþÎñÆ÷´íÎó¡£
--------------------------------------------------------------------------------
ÎÞ·¨´´½¨¡°system.serviceModel/serviceHostingEnvironment¡±ÅäÖýڡ£machine.config ÎļþȱÉÙÐÅÏ¢¡£ÇëÑéÖ¤´ËÅäÖýÚÊÇ·ñ×¢²áÕýÈ·ÒÔ¼°½ÚÃû³ÆÊÇ·ñƴдÕýÈ·¡£¶ÔÓÚ Windows ͨÐÅ»ù´¡½Ú£¬ÇëÔËÐÐ ServiceModelReg.exe -i ÒÔÐÞ¸´´Ë´íÎó¡£
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆÚ¼ä£¬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.Configuration.ConfigurationErrorsException: ÎÞ·¨´´½¨¡°system.serviceModel/serviceHostingEnvironment¡±ÅäÖýڡ£machine.config ÎļþȱÉÙÐÅÏ¢¡£ÇëÑéÖ¤´ËÅäÖýÚÊÇ·ñ×¢²áÕýÈ·ÒÔ¼°½ÚÃû³ÆÊÇ·ñƴдÕýÈ·¡£¶ÔÓÚ Windows ͨÐÅ»ù´¡½Ú£¬ÇëÔËÐÐ ServiceModelReg.exe -i ÒÔÐÞ¸´´Ë´íÎó¡£
Ô´´íÎó:
Ö´Ðе±Ç° Web ÇëÇóÆÚ¼äÉú³ÉÁËδ´¦ÀíµÄÒì³£¡£¿ÉÒÔʹÓÃÏÂÃæµÄÒì³£¶ÑÕ»¸ú×ÙÐÅϢȷ¶¨ÓйØÒì³£ÔÒòºÍ·¢ÉúλÖõÄÐÅÏ¢¡£
Õâ¸öÊÇΪʲô£¿¶øÇÒÎÒÔÚ°´Å¥µÄµã»÷ʼþÀïÃæ£¬ÊäÈëÆäËû¿Ø¼þID£¬×Ô¶¯Íê³ÉµÄÁбíÀïÃæÃ»¿´¼ûÓÐÄÇЩ¿Ø¼þ·····
Íû¸ßÈËÖ¸µã···¶àл
ÄѵÀÊÇÄãIDEµÄ´íÎó
²»»á°É£¡ÄǾÍÂé·³ÁË········
ÓÐʲô°ì·¨½â¾öÂ𣿿ɱð֨װVS°¡
ÖØÖÃÁËÏÂ
·¢ÏÖÒ»µãÓö¼Ã»Óз·····
Ïà¹ØÎÊ´ð£º
ÏÖÔÚÓиöСÏîÄ¿£¬±ØÐë²ÉÓÃasp.net¿ª·¢£¡
±¾ÈËÊÇѧasp£¬php³öÉí£¡
ÓÉÓÚʱ¼ä²Ö´Ù£¬±¾ÈËÓÖ²»Äܼ°Ê±µÄÕÆÎÕasp.netģʽ¿ª·¢web³ÌÐò£¡
´ÖÂԵĿ´ÁËһϣ¬Ã²ËÆËùÓеĿؼþ£¬Ö»Òª±ê×¢ÊÇ runat="s ......
ÎÒÔÚÒ»¸öASPXÒ³ÃæÖÐÓà <!-- #include file="top.asp"-->ǶÌ×ÁËÒ»¸öaspÒ³Ãæ£¬µ«ÔÚµã»÷°´Å¥Ìá½»±íµ¥µÄʱºòûÓÐÈκη´Ó¦£¬ÊDz»ÊÇÁ½¸öFORMµÄÔÒòÔì³ÉµÄ£¬top.aspÀïÃæÒ²ÓÐÒ»¸öform£¬°ÑǶÌ×È¥µôµÄ»°£¬ÔËÐÐ ......
asp.net ÖÐÊý¾Ý¿âÖÐÓÐÒ»´ó¶ÎÎÄ×ÖÄÚÈÝ£¬Æä×Ó¶ÎΪnewscontent ÏÔʾ³öÀ´¡£ÓÃitemTemplate ÖеÄlable¿Ø¼þ°ó¶¨ÏÔʾ
µ«Êý¾Ý¿âÖÐÄÚÈÝÏÔʾÔÚÍøÒ³Öв»»á»»ÐС£¹Ê¸ÄÓÃ×Ô¶¨ÒåÏÔʾ·½Ê½ÄÚÈÝΪReplace(Eval("newscontent&q ......
ÏÖÔÚ×öÒ»¸öÍøÕ¾£¬ÓÃÁËĸ°æ£¬Óû§¿Ø¼þ£¬¶¼Óõ½ÁËscriptManager£¬¿ÉÊÇÄÚÈÝÒ³»¹ÒªÓÃscriptManager£¬¿´ÁËÏà¹Ø×ÊÁÏ£¬ËµscriptManagerProxy¿ÉÒÔ×÷ΪscriptManagerµÄ´úÀíʹÓã¬ÊÔÁËÏ£¬Ã»Óгɹ¦£¬ÌØ·¢´ËÌû£¬Çë¸÷λ°ï°ïæ£¬Ï ......
Èçͼ
ÎÒµÄÒ»¸öSolutionÀï°üº¬Á½¸öProject£¬Ò»¸öÊÇC#Àà¿â¹¤³Ì£¬Ò»¸öÊÇASP.NETÓ¦Óã¬Á½¸ö¹¤³Ì¶¼ÊÇͨ¹ýLinq to SqlÀ´²Ù×÷Êý¾Ý¿â£¬ÏÖÔÚµÄÎÊÌâÊÇÔÚ¸ø¿Í»§Ê¹ÓõÄʱºò£¬Ã»·¨Áé»îÅäÖÃSql·þÎñÆ÷µÄÐÅÏ¢£¬²éÁËÏ£¬Ê¹ÓÃDe ......