solo
0

帖子

5

跟帖

520

积分

初级榴莲
初级榴莲
  • 社区居民
20楼#
发布于:2016-07-09 14:42
安装成功最后一步提示做集群配置的时候出错:
Server Error in '/Cluster' Application.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

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: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

Source Error:


Line 88:             get
Line 89:             {
Line 90:                 if (this.Session["ClusterConnection"] == null)
Line 91:                 {
Line 92:                     if (Server == null)

Source File: c:\H3BPMD\Cluster\App_Code\ClusterPage.cs    Line: 90

Stack Trace:


[HttpException (0x80004005): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.]
   System.Web.UI.Page.get_Session() +5112202
   OThinker.H3.Cluster.ClusterPage.get_Connection() in c:\H3BPMD\Cluster\App_Code\ClusterPage.cs:90
   OThinker.H3.Cluster.ClusterPage.OnLoad(EventArgs e) in c:\H3BPMD\Cluster\App_Code\ClusterPage.cs:160
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
solo
0

帖子

5

跟帖

520

积分

初级榴莲
初级榴莲
  • 社区居民
21楼#
发布于:2016-07-09 16:11
我的运行环境(虚拟机 6GB内存)win2008+sql server2008,已经安装了.net4.5.1,但是在在iis中只能设置asp.net V4.0;客户端浏览器chrome V45
xiongle
1

帖子

72

跟帖

1946

积分

高级榴莲
高级榴莲
  • 社区居民
22楼#
发布于:2016-07-10 15:33
Hello,楼上,先检查一下数据库是否创建了H3_ShareServie,另外检查一下iiS里面是创成功创建H3站点,站点如未创建,可手动创建,还解决不了,可参考产品区的问题手册,或参考下载解压后的安装文件中的安装手册。
wangwei
11

帖子

46

跟帖

868

积分

高级榴莲
高级榴莲
23楼#
发布于:2016-07-11 12:04
离开箱即用不远了
这年代,哥玩的还是老掉牙的情怀!
solo
0

帖子

5

跟帖

520

积分

初级榴莲
初级榴莲
  • 社区居民
24楼#
发布于:2016-07-11 15:43
数据库中看到已经创建了H3_ShareServie,iiS里面也成功创建H3站点,整个安装过程除了最后一步出错,其它都是正常的
海洋饼干
0

帖子

3

跟帖

375

积分

初级榴莲
初级榴莲
25楼#
发布于:2016-07-11 15:57
请问这个试用版,在哪儿导入论坛的案例来运行?
H3产品支持_开心
61

帖子

154

跟帖

8473

积分

铂金榴莲
铂金榴莲
  • 社区居民
26楼#
发布于:2016-07-11 16:59
海洋饼干:请问这个试用版,在哪儿导入论坛的案例来运行?回到原帖
下载的demo中,有文件使用说明,内容如下,在H3中按说明内容导入就OK啦



图片:QQ截图20160711165759.png

Stay hungry. Stay foolish.
solo
0

帖子

5

跟帖

520

积分

初级榴莲
初级榴莲
  • 社区居民
27楼#
发布于:2016-07-11 17:10
错误示意图
solo
0

帖子

5

跟帖

520

积分

初级榴莲
初级榴莲
  • 社区居民
28楼#
发布于:2016-07-11 17:15
数据库和IIS配置情况
xiongle
1

帖子

72

跟帖

1946

积分

高级榴莲
高级榴莲
  • 社区居民
29楼#
发布于:2016-07-11 18:30
27楼,启用SessionState(加在<system.web></system.web>里)加入下面的配置试试
<pages enableSessionState="true" enableViewState="true" enableEventValidation="false" viewStateEncryptionMode="Never" validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
</pages>
另外,也可以参考资料:http://www.cnblogs.com/regedit/archive/2007/09/27/908088.html
游客

返回顶部