powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / ASP.NET State service
7 сообщений из 7, страница 1 из 1
ASP.NET State service
    #37687823
dMazay82
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Всем доброго времени суток.

Коллеги помогайте.

Проблема в следующем:
Есть Win7 (x64)
.Net(4.0)
VS2010
Проект ASP.Net,
В все это работало без проблем, в один прекрасный момент копм конкретно подвис, после жесткого ребута при запуске проекта появляется сообщение которое ниже.
При этом Сервис ASP.NET State service Запущен.
Web.config прописано следующее
Код: c#
1.
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10" cookieless="UseCookies" cookieName="ASP.NET_SessionId" regenerateExpiredSessionId="true" timeout="60" />


Собственно вот оно, сообщение:
Код: c#
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
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. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: 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.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 

[HttpException (0x8000ffff): 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.]
   System.Web.SessionState.OutOfProcSessionStateStore.MakeRequest(StateProtocolVerb verb, String id, StateProtocolExclusive exclusiveAccess, Int32 extraFlags, Int32 timeout, Int32 lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout, SessionNDMakeRequestResults& results) +2180320
   System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +221
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +807
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75



Гугление сводится к одному, что необходимо запустить сервис ASP.NET State service, но не помогает.
Пробовал переустановить .Net тоже не помогло.

Подскажите куда капнуть еще.
...
Рейтинг: 0 / 0
ASP.NET State service
    #37688101
bazile
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
dMazay82, Может порт изменился? Попробуй с той машины где запущен state server выполнить команду - telnet 127.0.0.1 42424 - убедись что Telnet Client у тебя установлен.
...
Рейтинг: 0 / 0
ASP.NET State service
    #37688197
dMazay82
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
bazile,
По telnet подключается. По netstat -a порт тоже присутствует в слушающих.
...
Рейтинг: 0 / 0
ASP.NET State service
    #37688297
bazile
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
dMazay82, Интересно. В EventLog смотрел, вдруг что-то полезное там есть? Перезагружать комп пробовал?
...
Рейтинг: 0 / 0
ASP.NET State service
    #37688382
dMazay82
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
bazile, Сорь но выложу весь лог.
Код: c#
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
Event code: 3009 
Event message: Unable to make the session state request to the session state server. Details: last phase='Reading response from the state server', error code=0x8000FFFF, size of outgoing data=7 
Event time: 02.03.2012 14:00:59 
Event time (UTC): 02.03.2012 10:00:59 
Event ID: a4d277dafd7a4ee4b16c2c5c9f3f5f18 
Event sequence: 21 
Event occurrence: 5 
Event detail code: 50016 
 
Application information: 
    Application domain: 5c28efc4-7-129751510689791833 
    Trust level: Full 
    Application Virtual Path: /WebReport 
    Application Path: C:\inetpub\WebReport\ 
    Machine name: 
 
Process information: 
    Process ID: 3424 
    Process name: WebDev.WebServer40.exe 
    Account name: USER
 
Exception information: 
    Exception type: HttpException 
    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.

Request information: 
    Request URL: http://localhost:4899/WebReport/Login.aspx 
    Request path: /WebReport/Login.aspx 
    User host address: 127.0.0.1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: BS\USER 
 
Thread information: 
    Thread ID: 31 
    Thread account name: BS\USER 
    Is impersonating: False 
    Stack trace: 
 
Custom event details: 


Код События: 1310

По этому коду нарыл статью http://support.microsoft.com/kb/2028718/ru , но на 7 такого нет.
...
Рейтинг: 0 / 0
ASP.NET State service
    #37689027
bazile
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
dMazay82, это в общем то же самое сообщение об ошибке, которое не добавляет ничего нового. Ты сказал что делал "жесткий ребут". Это могло повредить какие-то файлы ОС не относящиеся к ASP.NET. Можно попробовать откатить систему на точку до возникновения проблемы. Больше идей нет :(
...
Рейтинг: 0 / 0
ASP.NET State service
    #37691284
dMazay82
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
bazile,
Пичалька, Точка возврата где система была рабочей уплыл(.
Всем спс буду восстанавливать винду
...
Рейтинг: 0 / 0
7 сообщений из 7, страница 1 из 1
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / ASP.NET State service
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]