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 |
|
21楼#
发布于:2016-07-09 16:11
我的运行环境(虚拟机 6GB内存)win2008+sql server2008,已经安装了.net4.5.1,但是在在iis中只能设置asp.net V4.0;客户端浏览器chrome V45
|
|
22楼#
发布于:2016-07-10 15:33
Hello,楼上,先检查一下数据库是否创建了H3_ShareServie,另外检查一下iiS里面是创成功创建H3站点,站点如未创建,可手动创建,还解决不了,可参考产品区的问题手册,或参考下载解压后的安装文件中的安装手册。
|
|
24楼#
发布于:2016-07-11 15:43
数据库中看到已经创建了H3_ShareServie,iiS里面也成功创建H3站点,整个安装过程除了最后一步出错,其它都是正常的
|
|
26楼#
发布于:2016-07-11 16:59
|
|
|
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 |
|