+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
Home Access Plus+ Thread, My HAP users have to log in over and over again every time the click on anything! in Projects:; It's a issue to diagnose, scince HAP+ shouldn't ask you to log in again unless the session cookie has been ...
  1. #16

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    It's a issue to diagnose, scince HAP+ shouldn't ask you to log in again unless the session cookie has been expired unexpectedly

  2. #17

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    OK, looking forward to your help. Thanks once again, Nick....

  3. #18

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I get this error page as well, whenever I click something, it returns to the login page and the user clicks the back button:

    Server Error in '/hap' Application.
    --------------------------------------------------------------------------------

    Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
    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: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

    <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
    <system.web>
    <compilation debug="true"/>
    </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:


    [ViewStateException: Invalid viewstate.
    Client IP: 10.120.26.11
    Port: 41280
    Referer: Al-Hijrah School - Home Access Plus+ - Login
    Path: /hap/login.aspx
    User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)
    ViewState: /wEPDwUKMTUzNTQ2OTI1MGRkau2HejsLfCVEFJOQvCeYg8GcTDV qqvXBnDRLDNE49LQ=]

    [HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
    System.Web.UI.ViewStateException.ThrowError(Except ion inner, String persistedState, String errorPageMessage, Boolean macValidationError) +235
    System.Web.UI.ViewStateException.ThrowMacValidatio nError(Exception inner, String persistedState) +14
    System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +274
    System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String serializedState) +4
    System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37
    System.Web.UI.HiddenFieldPageStatePersister.Load() +241
    System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +106
    System.Web.UI.Page.LoadAllState() +43
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
    System.Web.UI.Page.ProcessRequest() +78
    System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\hap\84de08c5\70e6ba5a\App_Web_n0qo2cag.2.cs: 0
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +100
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

    We're not using https or ssl certificates.

    Help!!!
    Last edited by aaqib; 10th May 2012 at 10:33 AM.

  4. #19

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The web page of the above error page is:

    =http://myfiles.al-hijrah.bham.sch.uk/hap/login.aspx?ReturnUrl=%2fhap%2fMyComputer%2fH

    If I delete everything up to /hap from the address, I return to the login page (obviously) and can re-log in.

    It's a real pain!

  5. #20

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,675
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Please try searching on line for that error message

    Online tool to create keys for view state validation and encryption

  6. #21

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Where abouts do I add the machine key script? I'm a novice at this. I tried adding the machine key into various positions in the web.comfig script but errors occur.

  7. #22

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Machine key hasn't resolved the issue, unfortunately....
    Last edited by aaqib; 15th May 2012 at 03:26 PM.

  8. #23

    Join Date
    Jun 2011
    Location
    United Kingdom
    Posts
    39
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Do you think it has anything to do with us going through the BgFl network?

  9. #24

    Join Date
    Jun 2010
    Location
    Birmingham, UK
    Posts
    48
    Thank Post
    1
    Thanked 13 Times in 13 Posts
    Rep Power
    12
    Hi Aaqib,

    Schools within the BGfL already have this setup and working. If it was a BGfL network issue, it wouldn't be working across any of the schools.

    If you are getting to your webserver via the URL then this sounds like a config issue on your web server, not a BGfL issue.



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Scheduled Task - user must be logged in to run
    By enjay in forum Windows Server 2008 R2
    Replies: 12
    Last Post: 17th January 2012, 05:29 PM
  2. Replies: 0
    Last Post: 10th October 2011, 06:36 PM
  3. Black Screen - Users have to wait to get in
    By Psymon in forum Windows Vista
    Replies: 1
    Last Post: 13th November 2008, 06:08 PM
  4. New users can't log in to Outlook Web Access
    By WithoutMotive in forum Windows
    Replies: 5
    Last Post: 7th September 2007, 12:17 PM
  5. Replies: 7
    Last Post: 3rd March 2007, 09:44 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •