请选择 进入手机版 | 继续访问电脑版
 找回密码
 注册

QQ登录

只需一步,快速开始

青云安全服务中心

搜索
查看: 5184|回复: 0

无法使会话状态请求到会话状态服务器。错误代码= 0x80072749

[复制链接]
发表于 2017-7-7 10:37:47 | 显示全部楼层 |阅读模式
本帖最后由 青云团队 于 2017-7-7 10:46 编辑

客户网站后台登陆出错,系统日志中看到的错误代码如下:
  1. Event code: 3009
  2. Event message: Unable to make the session state request to the session state server. Details: last phase='Sending request to the state server', error code=0x80072749, size of outgoing data=1182
  3. Event time: 2017-9-25 9:56:06
  4. Event time (UTC): 2017-9-25 1:56:06
  5. Event ID: b02e042da1be42f2a61faa4e1d43e1fe
  6. Event sequence: 138
  7. Event occurrence: 1
  8. Event detail code: 50016

  9. Application information:
  10.     Application domain: /LM/W3SVC/1/ROOT-6-131507781617656250
  11.     Trust level: Full
  12.     Application Virtual Path: /
  13.     Application Path: F:\TebTest.Web\www\
  14.     Machine name: COMPUTER

  15. Process information:
  16.     Process ID: 4836
  17.     Process name: w3wp.exe
  18.     Account name: NT AUTHORITY\NETWORK SERVICE

  19. Exception information:
  20.     Exception type: HttpException
  21.     Exception message: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.  If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.  If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.

  22. Request information:
  23.     Request URL: http://www.xxx.com/admin/Login.aspx
  24.     Request path: /admin/Login.aspx
  25.     User host address: 1.192.110.666
  26.     User:  
  27.     Is authenticated: False
  28.     Authentication Type:  
  29.     Thread account name: NT AUTHORITY\NETWORK SERVICE

  30. Thread information:
  31.     Thread ID: 10
  32.     Thread account name: NT AUTHORITY\NETWORK SERVICE
  33.     Is impersonating: False
  34.     Stack trace:


  35. Custom event details:

  36. 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
复制代码
解决方法:
1、进入网站根目录,找到web.config文件修改代码:
(1)修改前:
  1. <font size="3">  <sessionState mode="StateServer"  cookieless="false" timeout="60"/></font>
复制代码
(2)修改后:
  1. <font size="3"><sessionState mode="InProc"  cookieless="false" timeout="60"/></font>
复制代码
2、打开服务——启动“ASP.NET State Service”服务;
3、测试后台,看是否正常。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Copyright © 2003-2019 yunsafe.com All Rights Reserved 青云安全 法律顾问:王志刚 ( 豫ICP备19043409号 )

中国 · 郑州 · 中原区 · 万达广场      服务热线:0371-67770077

QQ

 
QQ在线咨询
在线咨询QQ
285584、2998872
售前咨询热线
0371-67770077
快速回复 返回顶部 返回列表