This knowledge base article applies to Customer-Hosted installations only. You may encounter an issue where you type in the URL for the mobile web site (generally http://<your-servername-or-ip>/mobile, http://<your-servername-or-ip>/eioboard/mobile, or http://<your-servername-or-ip>:801/mobile). Instead of being directed to the mobile web login page, you are directed to the full blown web login page. If you inspect your Event Viewer logs on the server, you may see the following error:
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/26/2014 11:31:19 AM Event time (UTC): 3/26/2014 4:31:19 PM Event ID: e981a2a0a5bc4398b788a18b057a44a3 Event sequence: 2 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-2-130403250776037932 Trust level: Full Application Virtual Path: / Application Path: C:\Program Files (x86)\Savance\EIOBoard Server\EIOBoard\ Machine name: EIEIOBoard Process information: Process ID: 11732 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: Session state has created a session id, but cannot save it because the response was already flushed by the application. Request information: Request URL: http://www.eioboard.com/Login.aspx?ReturnUrl=An unhandled exception has occurred.fDefault.aspx Request path: /Login.aspx User host address: 192.168.1.1 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 5 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: 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.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Custom event details: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
This is caused by the IIS Server losing the session ID, which can be caused by a number of different reasons. To resolve this issue, a Global.asax file can be added to store the session ID to a variable. The Global.asax file needs to be placed in the root directory of the EIOBoard application. It isn't created by default when installing EIOBoard, as it is an optional file, so it would need to be created manually with a text editor with the following content:
<%@ Application Language="C#" %> <%@ Import Namespace="System.Diagnostics" %>
<script runat="server">
void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started string sessionId = Session.SessionID; }
</script>
Once the file is saved, restart IIS for it to take effect. You should now have no trouble browsing to the mobile web login page in your web browser.
|