Re: RWW and Session State



Hi,

Entered 'pages' as specified, but the problem still persists, exactly as
before.

Thanks.

Regards,

Dave.

"Crina Li (MSFT)" <v-crinal@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uLJyW06rFHA.3396@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Dave,
>
> Thanks for your reply.
>
> Please follow the steps below to resolve the issue:
>
> 1. Make a copy of the web.config in the C:\Inetpub\remote directory.
>
> 2. Open the web.config in the C:\Inetpub\remote directory with Notepad and
> search for the following:
>
> <sessionState mode="InProc"
>
> Then add the following on a new line above the <sessionState mode="InProc"
> line.
>
> <pages enableSessionState="true"/>
>
> Save the web.config and quit Notepad.
>
> 3. Close IE and then reconnect to Remote Web Workplace. Does the issue
> still persist?
>
> Hope this helps.
>
> Please feel free to let me know if you have any questions or if you need
> further assistance.
>
> I'm looking forward to hearing from you.
>
> Best regards,
>
> Crina Li (MSFT)
>
> Microsoft CSS Online Newsgroup Support
>
> Get Secure! - www.microsoft.com/security
>
> =====================================================
> This newsgroup only focuses on SBS technical issues. If you have issues
> regarding other Microsoft products, you'd better post in the corresponding
> newsgroups so that they can be resolved in an efficient and timely manner.
> You can locate the newsgroup here:
> http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
>
> When opening a new thread via the web interface, we recommend you check
> the
> "Notify me of replies" box to receive e-mail notifications when there are
> any updates in your thread. When responding to posts via your newsreader,
> please "Reply to Group" so that others may learn and benefit from your
> issue.
>
> Microsoft engineers can only focus on one issue per thread. Although we
> provide other information for your reference, we recommend you post
> different incidents in different threads to keep the thread clean. In
> doing
> so, it will ensure your issues are resolved in a timely manner.
>
> For urgent issues, you may want to contact Microsoft CSS directly. Please
> check http://support.microsoft.com for regional support phone numbers.
>
> Any input or comments in this thread are highly appreciated.
>
> =====================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --------------------
> | From: "Dave McQueen" <dave@xxxxxxxxxxxxxxxxxxx>
> | References: <eEf3HIhrFHA.3596@xxxxxxxxxxxxxxxxxxxx>
> <RkFuw9rrFHA.3396@xxxxxxxxxxxxxxxxxxxxx>
> | Subject: Re: RWW and Session State
> | Date: Thu, 1 Sep 2005 18:52:53 +0100
> | Lines: 212
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | X-RFC2646: Format=Flowed; Original
> | Message-ID: <uqlXJ5xrFHA.2588@xxxxxxxxxxxxxxxxxxxx>
> | Newsgroups: microsoft.public.windows.server.sbs
> | NNTP-Posting-Host: 81.171.210.34
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:149966
> | X-Tomcat-NG: microsoft.public.windows.server.sbs
> |
> | Hi.
> |
> | Thanks for the reply. Have tried your advice, and run iisreset at
> | appropriate places, but still cannot resolve this error. See
> actions/errors
> | below.
> |
> | Regards,
> |
> | Dave.
> |
> | ==============================
> |
> | 1/2 - Have checked the Local Service and Network Service for the 2
> | folders. - OK.
> | 3/4/5 - Have checked the IIS settings as specified. - OK.
> | ----
> | 1 - Have Tried accessing https://localhost/remote. Produces error
> below.
> |
> | The page cannot be displayed
> | A problem has occurred with the Remote Web Workplace. Close this
> | browser window, and then log on again. If this problem continues,
> contact
> | the person responsible for your network.
> |
> |
> | 2 - Have run CEICW. Still not working.
> |
> | 3 -Error logged below on accessing https:\\localhost\\remote
> |
> | Event Type: Error
> | Event Source: SBS.RWW
> | Event Category: None
> | Event ID: 0
> | Date: 01/09/2005
> | Time: 10:03:33
> | User: N/A
> | Computer: LGSERVER
> | Description:
> | The following fatal error occurred in the Remote Web Workplace
> application:
> | URL: https://localhost/remote/Default.aspx
> | Error Message: Session state can only be used when enableSessionState
> is
> | set to true, either in a configuration file or in the Page directive
> | Stack Trace: at System.Web.UI.Page.get_Session()
> | at remote._default.Page_Load(Object sender, EventArgs e)
> | at System.Web.UI.Control.OnLoad(EventArgs e)
> | at System.Web.UI.Control.LoadRecursive()
> | at System.Web.UI.Page.ProcessRequestMain()
> |
> | For more information, see Help and Support Center at
> | http://go.microsoft.com/fwlink/events.asp.
> |
> | I tried changing the web.config as specified -
> |
> | > 3. Replace <customErrors mode="On" defaultRedirect="error.aspx" />
> with >
> | <customErrors Mode="Off" />
> |
> | But it did not make any difference. The same error showed as above.
> | The page cannot be displayed
> | A problem has occurred with the Remote Web Workplace. Close this
> | browser window, and then log on again. If this problem continues,
> contact
> | the person responsible for your network.
> |
> |
> | ------------------------------------------------------------------------
> |
> |
> | "Crina Li (MSFT)" <v-crinal@xxxxxxxxxxxxxxxxxxxx> wrote in message
> | news:RkFuw9rrFHA.3396@xxxxxxxxxxxxxxxxxxxxxxxx
> | > Hi Dave,
> | >
> | > Thank you for posting in SBS newsgroup.
> | >
> | > Based on my research, there are several causes for this error. For
> | > example,
> | > the Local Service and Network Service accounts do not have Full
> Control
> to
> | > the "Temporary ASP.NET Files" folder. To resolve this issue, please
> follow
> | > these steps:
> | >
> | > 1. Add Local Service and Network Service account Read & Execute, List
> | > Folder Contents, and Read permissions to
> | > %windir%\Microsoft.NET\Framework\v1.1.4322.
> | > 2. Add Local Service and Network Service account Full Control
> permission
> | > to
> | > %windir%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files.
> | > 3. Open ''Internet Information Services (IIS) Manager'' console in
> | > ''Administrative Tools'' on the SBS 2003 server. Expand <Server
> | > Name>\''Application Pools''. Make sure the DefaltAppPool is running.
> | > 4. Expand ''Web Sites''\''Default Web Site''. Right-click ''Remote''
> and
> | > click ''Properties''. In the ''Virtual Directory'' tab, check the
> | > ''Application settings''. You should see ''Remote'' in the Application
> | > name
> | > bar and ''DefaultAppPool'' in the ''Application pool'' bar.
> | > 5. Also in the properties window, click ''Directory Security'' tab,
> click
> | > ''Edit'' button. Make sure anonymous access is enabled.
> | >
> | > If it still does not work, would you please help me collect the
> following
> | > information?
> | >
> | > 1. Try to access https://localhost/remote from the SBS server itself
> and
> | > check if you are able to visit RWW properly.
> | > 2. Rerun CEICW to reconfigure IIS and RWW, can the issue be resolved?
> | > 3. Are there any errors on Event log?
> | >
> | > To perform further research, please follow the steps below to turn off
> the
> | > friendly error messages and post the detailed message.
> | >
> | > 1. Make a copy of Inetpub\Remote\Web.config for backup purpose.
> | > 2. Open Web.config with Notepad
> | > 3. Replace <customErrors mode="On" defaultRedirect="error.aspx" />
> with
> | > <customErrors mode="Off" />
> | > 4. Save the file.
> | > 5. Go to command prompt, type "iisreset"
> | > 6. Logon to RWW using the administrator account, and also try it using
> a
> | > regular user account.
> | > 7. You should receive a more detailed error message. Please attach the
> | > detailed error message to the newsgroup so that I can better
> understand
> | > this issue.
> | > 8. Replace Web.config with the original one and iisreset when testing
> is
> | > done.
> | >
> | > I look forward to your reply. Thanks for your time and efforts on
> this
> | > issue.
> | >
> | > Best regards,
> | >
> | > Crina Li (MSFT)
> | >
> | > Microsoft CSS Online Newsgroup Support
> | >
> | > Get Secure! - www.microsoft.com/security
> | >
> | > =====================================================
> | > This newsgroup only focuses on SBS technical issues. If you have
> issues
> | > regarding other Microsoft products, you'd better post in the
> corresponding
> | > newsgroups so that they can be resolved in an efficient and timely
> manner.
> | > You can locate the newsgroup here:
> | > http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
> | >
> | > When opening a new thread via the web interface, we recommend you
> check
> | > the
> | > "Notify me of replies" box to receive e-mail notifications when there
> are
> | > any updates in your thread. When responding to posts via your
> newsreader,
> | > please "Reply to Group" so that others may learn and benefit from your
> | > issue.
> | >
> | > Microsoft engineers can only focus on one issue per thread. Although
> we
> | > provide other information for your reference, we recommend you post
> | > different incidents in different threads to keep the thread clean. In
> | > doing
> | > so, it will ensure your issues are resolved in a timely manner.
> | >
> | > For urgent issues, you may want to contact Microsoft CSS directly.
> Please
> | > check http://support.microsoft.com for regional support phone numbers.
> | >
> | > Any input or comments in this thread are highly appreciated.
> | >
> | > =====================================================
> | >
> | > This posting is provided "AS IS" with no warranties, and confers no
> | > rights.
> | > --------------------
> | > | From: "Dave McQueen" <dave@xxxxxxxxxxxxxxxxxxx>
> | > | Subject: RWW and Session State
> | > | Date: Wed, 31 Aug 2005 10:52:39 +0100
> | > | | Newsgroups: microsoft.public.windows.server.sbs
> | > | |
> | > | Hi,
> | > |
> | > | I'm pretty new to SBS 2003 and I am trying to setup RWW, but I get a
> | > session
> | > | state error whether at work or remote.
> | > |
> | > | I can access tsweb, and Exchange OWA, but when I access
> | > servername/remote
> | > I
> | > | get an sbs error logged error as follows.
> | > |
> | > | Server Error in '/remote' Application.
> | > |
> | > |
> | >
> ----------------------------------------------------------------------------
> | > ----
> | > |
> | > |
> | > | Session state can only be used when enableSessionState is set to
> true,
> | > | either in a configuration file or in the Page directive
> | > |
> | > | 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.
> | > |
> | > | Can anyone tell me what to change to get this working ? I've tried
> | > looking
> | > | at the web.config file, but not sure where the problem lies.
> | > |
> | > | Thanks.
> | > |
> | > | Dave.
> | > |
> | > |
> | > |
> | > |
> | >
> |
> |
> |
> |
>


.