div.ui-datepicker
{
    line-height: normal;
    font-size: 0.8em;
}
input.hasDatepicker
{
    vertical-align: middle;
    z-index: 1000;
    position: relative;
}
button.ui-button-icon-only
{
    margin-left: .2em;
    vertical-align: bottom;
}
.ui-button
{
    font-size: 0.8em;
    vertical-align: bottom;
}
div.ui-button {
    margin-top: 15px;
    margin-left: 10px;
    margin-bottom: -5px;
    display: inline-block;
    padding: .4em 1em;
}
.ui-state-on {
    border: 1px solid #acdd4a;
    background-color: #6eac2c;
    color: #ffffff;
}
    .ui-state-on:hover {
        border-color: #588923;
        background-color: #f1feec;
        color: #588923;
    }
.ui-state-off {
    border: 1px solid #cd0a0a;
    background-color: #ff0e0e;
    color: #ffffff;
}
    .ui-state-off:hover {
        border-color: #cd0a0a;
        background-color: #fef1ec;
        color: #cd0a0a;
    }
.ui-state-on .ui-icon-money {
    background-image: url(images/money_pound.png);
    background-position: 0 0;
}
.ui-state-off .ui-icon-money {
    background-image: url(images/money_pound_gray.png);
    background-position: 0 0;
}
#dialog p
{
    margin: 0;
}
.ui-tooltip
{
    box-shadow: 5px 5px 5px #999999;
}
.ui-tooltip.errorCode
{
    width: 380px;
}
.ui-tooltip-content
{
    padding: 5px 5px 5px 5px;
}
.ui-tooltip-content span
{
    margin-right: 0.5em;
}
.ui-tooltip-content p
{
    font-size: 0.8em;
}
.ui-tooltip-content a
{
    color:blue;
}
.ui-tooltip-content a img
{
    margin-left: 0.5em;
    vertical-align: top;
}
.ui-tooltip.errorCode table
{
    font-size: 0.8em;
    width: 100%;
}
.ui-tooltip.errorCode table th, .ui-tooltip.errorCode table td{
    padding-top: 0pt;
    padding-right: 5px;
    padding-bottom: 0pt;
    padding-left: 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #F3F3F3;
}
.ui-tooltip.errorCode table th
{
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CCCCCC;
}
.ui-tooltip.errorCode table th.left, .ui-tooltip.errorCode table td.left
{
    text-align: left;
}
.ui-tooltip.errorCode table th.right, .ui-tooltip.errorCode table td.right
{
    text-align: right;
}
.ui-buttonset .ui-state-active
{
    border: 1px solid #0088D6;
}
div.ui-dialog-titlebar span.ui-button-text {
    padding: initial;
}

.ui-controlgroup.no-icon .ui-checkboxradio-icon {
    display: none;
}<!DOCTYPE html>
<html>
    <head>
        <title>Session state has created a session id, but cannot save it because the response was already flushed by the application.</title>
        <meta name="viewport" content="width=device-width" />
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; }
         @media screen and (max-width: 639px) {
          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
         }
         @media screen and (max-width: 479px) {
          pre { width: 280px; }
         }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>Session state has created a session id, but cannot save it because the response was already flushed by the application.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>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.

            <br><br>

            <b> Exception Details: </b>System.Web.HttpException: Session state has created a session id, but cannot save it because the response was already flushed by the application.<br><br>

            <b>Source Error:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>

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.                      </code>

                  </td>
               </tr>
            </table>

            <br>

            <b>Stack Trace:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>

[HttpException (0x80004005): Session state has created a session id, but cannot save it because the response was already flushed by the application.]
   System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean&amp; redirected, Boolean&amp; cookieAdded) +4474679
   System.Web.SessionState.SessionStateModule.CreateSessionId() +95
   System.Web.SessionState.SessionStateModule.DelayedGetSessionId() +109
   System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID() +24
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +854
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +93
</pre>                      </code>

                  </td>
               </tr>
            </table>

            <br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4797.0

            </font>

    </body>
</html>
<!-- 
[HttpException]: Session state has created a session id, but cannot save it because the response was already flushed by the application.
   at System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded)
   at System.Web.SessionState.SessionStateModule.CreateSessionId()
   at System.Web.SessionState.SessionStateModule.DelayedGetSessionId()
   at System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID()
   at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!-- 
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->