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

ÇóÖú°¡£¬Ëæ±ã½¨Á¢Ò»¸ö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/ASP.NETÖÐÉèÖû·¾³±äÁ¿£¿£¿£¿

È磺
Request.ServerVariables("AUTH_USER")
Request.ServerVariables("LOGON_USER")
Request.ServerVariables("REMOTE_USER")ÕâЩ¶¼ÊǶÁ»·¾³±äÁ¿¡£

ÔÚASP/ASP.NE ......

?!¹ØÓÚASP³ÌÐòÆäÖÐһģ¿é¸üÐÂΪASP.NET³ÌÐòµÄÎÊÌâ¡£

ÔÚ¹«Ë¾¾­Àí¸øÁËÎÒÕâÑùÒ»¸öÏîÄ¿£º

ÏîÄ¿ÒÔÇ°ÒѾ­¿ª·¢ÁË£¬ÓÃASP¿ª·¢µÄ£»
ÏÖÔÚ½«ÆäÖÐÒ»¸öÄ£¿éÓÃASP.NETÖØпª·¢£»

ÊÔÎÊ£ºÔõô°ì£¿

Ô½ÏêϸԽºÃ£¬×îºÃÊǽáºÏʵ¼Ê¿ª·¢£¬O(¡É_¡É)Oлл


ÓеÀÀ ......

asp.net ÖÐÈçºÎʵÏÖ×óÓÒÐÍ¿ò¼Ü

asp.net ÖÐÈçºÎʵÏÖ×óÓÒÐÍ¿ò¼Ü
¾ÍÊǵã×ó±ßÌøתµ½Óұ߶԰ɣ¬iframe¿ò¼Ü

ÒýÓÃ
¾ÍÊǵã×ó±ßÌøתµ½Óұ߶԰ɣ¬iframe¿ò¼Ü


¾Í¸úHTMLÒ»ÑùµÄ£¬Òª²»¾ÍÓÃmasterÄ£°åËãÁË

Òâ˼ÊÇÒ»¸öÆÁÄ»2¸öä¯ÀÀÆ÷´°¿Ú£¿Ã»À ......

asp.netÖÐ×Ô¶¨ÒåÀà¿âµÄÎÊÌâ

Èçͼ

ÎÒµÄÒ»¸öSolutionÀï°üº¬Á½¸öProject£¬Ò»¸öÊÇC#Àà¿â¹¤³Ì£¬Ò»¸öÊÇASP.NETÓ¦Óã¬Á½¸ö¹¤³Ì¶¼ÊÇͨ¹ýLinq to SqlÀ´²Ù×÷Êý¾Ý¿â£¬ÏÖÔÚµÄÎÊÌâÊÇÔÚ¸ø¿Í»§Ê¹ÓõÄʱºò£¬Ã»·¨Áé»îÅäÖÃSql·þÎñÆ÷µÄÐÅÏ¢£¬²éÁËÏ£¬Ê¹ÓÃDe ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ