´íÎóÃèÊö | ÎÞ·¨Ïò»á»°×´Ì¬·þÎñÆ÷·¢³ö»á»°×´Ì¬ÇëÇó¡£ÇëÈ·±£ ASP.NET State Service (ASP.NET ״̬·þÎñ)ÒÑÆô¶¯£¬²¢ÇÒ¿Í»§¶Ë¶Ë¿ÚÓë·þÎñÆ÷¶Ë¿ÚÏàͬ¡£Èç¹û·þÎñÆ÷λÓÚÔ¶³Ì¼ÆËã»úÉÏ£¬Çë¼ì²é HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesaspnet_stateParametersAllowRemoteConnection µÄÖµ£¬È·±£·þÎñÆ÷½ÓÊÜÔ¶³ÌÇëÇó¡£Èç¹û·þÎñÆ÷λÓÚ±¾µØ¼ÆËã»úÉÏ£¬²¢ÇÒÉÏÃæÌáµ½µÄ×¢²á±íÖµ²»´æÔÚ»òÕßÉèÖÃΪ 0£¬Ôò״̬·þÎñÆ÷Á¬½Ó×Ö·û´®±ØÐëʹÓá°localhost¡±»ò¡°127.0.0.1¡±×÷Ϊ·þÎñÆ÷Ãû³Æ¡£ |
´íÎóÔÒò | web.configÖÐÅäÖÃSessionStateµÄmodeΪStateServer£¬µ«·þÎñÆ÷ûÓпªÆô¸Ä¸ö·þÎñ¡£ |
½â¾ö·½°¸ |
1.´ò¿ªÍøÕ¾¸ùĿ¼ÏµÄweb.configÎļþ 2.ÕÒµ½sessionStateÓï¾äÐÐ 3. ÐÞ¸Ämode="StateServer" ÐÞ¸ÄΪmode="InProc" |