ÇóÖú°¡£¬Ëæ±ã½¨Á¢Ò»¸ö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°¡
ÖØÖÃÁËÏÂ
·¢ÏÖÒ»µãÓö¼Ã»Óз·····
Ïà¹ØÎÊ´ð£º
È磺
Request.ServerVariables("AUTH_USER")
Request.ServerVariables("LOGON_USER")
Request.ServerVariables("REMOTE_USER")ÕâЩ¶¼ÊǶÁ»·¾³±äÁ¿¡£
ÔÚASP/ASP.NE ......
ÔÚ¹«Ë¾¾Àí¸øÁËÎÒÕâÑùÒ»¸öÏîÄ¿£º
ÏîÄ¿ÒÔÇ°ÒѾ¿ª·¢ÁË£¬ÓÃASP¿ª·¢µÄ£»
ÏÖÔÚ½«ÆäÖÐÒ»¸öÄ£¿éÓÃASP.NETÖØпª·¢£»
ÊÔÎÊ£ºÔõô°ì£¿
Ô½ÏêϸԽºÃ£¬×îºÃÊǽáºÏʵ¼Ê¿ª·¢£¬O(¡É_¡É)Oлл
ÓеÀÀ ......
asp.net ÖÐÈçºÎʵÏÖ×óÓÒÐÍ¿ò¼Ü
¾ÍÊǵã×ó±ßÌøתµ½Óұ߶԰ɣ¬iframe¿ò¼Ü
ÒýÓÃ
¾ÍÊǵã×ó±ßÌøתµ½Óұ߶԰ɣ¬iframe¿ò¼Ü
¾Í¸úHTMLÒ»ÑùµÄ£¬Òª²»¾ÍÓÃmasterÄ£°åËãÁË
Òâ˼ÊÇÒ»¸öÆÁÄ»2¸öä¯ÀÀÆ÷´°¿Ú£¿Ã»À ......
Èçͼ
ÎÒµÄÒ»¸öSolutionÀï°üº¬Á½¸öProject£¬Ò»¸öÊÇC#Àà¿â¹¤³Ì£¬Ò»¸öÊÇASP.NETÓ¦Óã¬Á½¸ö¹¤³Ì¶¼ÊÇͨ¹ýLinq to SqlÀ´²Ù×÷Êý¾Ý¿â£¬ÏÖÔÚµÄÎÊÌâÊÇÔÚ¸ø¿Í»§Ê¹ÓõÄʱºò£¬Ã»·¨Áé»îÅäÖÃSql·þÎñÆ÷µÄÐÅÏ¢£¬²éÁËÏ£¬Ê¹ÓÃDe ......