happierlarry Posted December 16, 2011 Posted December 16, 2011 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: 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.RaisePostBackEvent(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\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_bx3jjum1.1.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625 System.Web.HttpApplication.ExecuteStep(IExecutionStep 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.
nickbro Posted December 16, 2011 Posted December 16, 2011 Can you try the link in http://www.edugeek.net/forums/home-access-plus/87523-hap-event-log-security-issue.html
Mr_Jolly Posted December 19, 2011 Posted December 19, 2011 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.
nickbro Posted December 19, 2011 Posted December 19, 2011 @Mr_Jolly can you try the attached DLL, I've set it to silently fail if the Event Log cannot be accessed
happierlarry Posted December 19, 2011 Author Posted December 19, 2011 Sorry, where do I copy them to? Just in HAP folder? Thanks.
Mr_Jolly Posted December 19, 2011 Posted December 19, 2011 Same error except for this part Source Error: [No relevant source lines]
happierlarry Posted December 19, 2011 Author Posted December 19, 2011 Into the Bin Folder Thanks, but no difference. :-(
Mr_Jolly Posted December 19, 2011 Posted December 19, 2011 Yep, mine's identical except for the destination path after \hap\ Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_xwxtu3h5.4.cs Line: 0
Mr_Jolly Posted December 19, 2011 Posted December 19, 2011 that seems to do the trick for me, thanks Nick.
happierlarry Posted December 19, 2011 Author Posted December 19, 2011 That worked! I can login but I still can't connect to the domain.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now