Jump to content

AdamS

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

About AdamS

  1. I ran into that same problem; although it did actually create the hapconfig.xml file in the App_Data folder. It was an indicator of another problem, though. The fix was to open regedt32, and go to HKLM\System\CurrentControlSet\services\eventlog\Security Right click the "Security" key and choose "Permissions" Add the "IIS AppPool\HAP" user (replace "HAP" with whatever you called your HAP app pool) and give it "Read" permission.
  2. Thanks Nick! I had found other forum posts which indicated that the "NETWORK SERVICE" user accounted for the IIS application pools. I didn't need to make any changes to the registry entries, or add permissions to the Application log; adding the "IIS AppPool\HAP" account with read permission to the "security" key in the registry fixed it.
  3. I am trying to upgrade from HAP+ v8.4 to v8.7. I have an existing 8.4 that is working. I've tried both a migration (using the old hapconfig.xml file from the 8.4) as well as a clean install and end up with this error once the setup process is complete: 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: [TABLE=width: 784] [TR] [TD]An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. [/TD] [/TR] [/TABLE] Stack Trace: [TABLE=width: 937] [TR] [TD][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.Global.Application_Start(Object sender, EventArgs e) +93 [/TD] [/TR] [/TABLE] Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 I have already tried increasing the trust level in web.config, and I have edited permission in the registry to grant "NETWORK SERVICE" read access to HKLM\System\CurrentControlSet\services\eventlog\Security This system is Windows Server 2008 R2 Enterprise SP1 with all updates. Nothing else runs on this box; it was set up specifically for testing out HAP+. AFAIK, it looks like there's a security violation, but the error here is actually only telling me that it can't tell me any more than that (thus, "unhandled" exception).
×
×
  • Create New...