+ Post New Thread
Results 1 to 14 of 14
Home Access Plus+ Thread, HAP loging in problems in Projects:; ...
  1. #1

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    HAP loging in problems

    Hi everyone,
    This looks like excellent project but I’ve got some problems with it. Using MS server 2008 (just a member server on the domain) and IIS7 with HAP+ 7.7 (installed on two servers with the same result). After completing configuration, going to ~/hap/setup.aspx, on the “General” tab - “IIS7 Integrated Pipeline” and “Services Activated” options have red cross (not sure how to rectify this); on “Active Directory” tab after entering “Domain UPN”, admin username and password and I’m getting “Not Found” pop up.
    If I go to ~/hap I’m getting login screen, logging in with my domain credentials getting the following error:

    Server Error in '/hap' Application. ________________________________________
    Security Exception
    Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

    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:

    [SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.]
    System.Diagnostics.EventLog.FindSourceRegistration (String source, String machineName, Boolean readOnly, Boolean wantToCreate) +714
    System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +460
    System.Diagnostics.EventLog.SourceExists(String source) +22
    HAP.Web.Logging.EventViewer.Log(String source, String message, EventLogEntryType type) +37
    HAP.Web.Login.login_Click(Object sender, EventArgs e) +266
    System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +154
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11426722
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11426238
    System.Web.UI.Page.ProcessRequest() +269
    System.Web.UI.Page.ProcessRequest(HttpContext context) +167
    ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Te mporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_bx3jjum1.1.cs: 0
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +625
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +270

    ________________________________________
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237


    Any help is appreciated. Thanks.

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,588
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Can you try the link in HAP+ Event Log Security Issue

  3. #3

    Join Date
    Jun 2009
    Posts
    28
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi, I'm having the same issue.
    Just used the v7 to v7.8 upgrade and it broke. It's been running happily for months so it's something in the upgrade. The article above is 6 years old, for server 2003 and references a registry node that doesn't exist and a support page from microsoft that has been removed. Any additional help would be much appreciated.

    Rick.

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,588
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    @Mr_Jolly can you try the attached DLL, I've set it to silently fail if the Event Log cannot be accessed

  5. #5

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Sorry, where do I copy them to? Just in HAP folder?

    Thanks.

  6. #6

    Join Date
    Jun 2009
    Posts
    28
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Same error except for this part

    Source Error:

    [No relevant source lines]

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,588
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Into the Bin Folder

  8. #8

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    Into the Bin Folder
    Thanks, but no difference. :-(

  9. #9
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,588
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Can you take a screenshot of the error

  10. #10

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Here it is...
    HAP loging in problems-error-screen.jpg

  11. #11

    Join Date
    Jun 2009
    Posts
    28
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yep, mine's identical except for the destination path after \hap\

    Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Te mporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_xwxtu3h5.4.cs Line: 0

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,588
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Ok can you try this one

  13. Thanks to nickbro from:

    happierlarry (19th December 2011)

  14. #13

    Join Date
    Jun 2009
    Posts
    28
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    that seems to do the trick for me, thanks Nick.

  15. #14

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    That worked! I can login but I still can't connect to the domain.

SHARE:
+ Post New Thread

Similar Threads

  1. [v7.5] HAP+ Setup Install Problem
    By teklogic in forum Home Access Plus+
    Replies: 48
    Last Post: 23rd November 2011, 10:26 AM
  2. HAP 7 Installation Problem - AppPool
    By enjay in forum Home Access Plus+
    Replies: 24
    Last Post: 14th October 2011, 07:22 PM
  3. WSUS 3.0 MMC snap in problem
    By tosca925 in forum Windows
    Replies: 8
    Last Post: 8th May 2007, 09:37 PM
  4. Problem with Proxy settings in GPO
    By tosca925 in forum Windows
    Replies: 9
    Last Post: 18th January 2006, 12:54 PM

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
  •