將.net項目發佈遇到的問題

1.將項目上到生產環境須要安裝framework、IIS(這兩個系統自帶) vc++2010(自行安裝)等c++

2.啓動項目,顯示如下錯誤:session

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.server

須要啓動ASP.NET State Service服務rem

相關文章
相關標籤/搜索