I had a question a couple of weeks back regarding the subject line. As part of that message I stated I had lost the exception that UO.NET was throwing. Well I finally got it replicated again on a new server. Below is the exception. As was mentioned in the earlier email, assigning Local System to the Application Pool identity for IIS, fixed the exception and then I could set it back to Network Services. So I'm real certain this has to do with IIS not having enough permissions to do the registry update. Does anyone have ideas on how to accomplish this, without changing the Application Pool identity?
Glenn Batson Server Error in '/' 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: Requested registry access is not allowed. Source Error: 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. Stack Trace: [SecurityException: Requested registry access is not allowed.] Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 System.Diagnostics.PerformanceCounterLib.CreateRegistryEntry(String machineName, String categoryName, CounterCreationDataCollection creationData, Boolean& iniRegistered) +184 System.Diagnostics.PerformanceCounterLib.RegisterCategory(String machineName, String categoryName, String categoryHelp, CounterCreationDataCollection creationData) +43 System.Diagnostics.PerformanceCounterCategory.Create(String categoryName, String categoryHelp, CounterCreationDataCollection counterData, String machineName, String localizedIniFilePath) +923 System.Diagnostics.PerformanceCounterCategory.Create(String categoryName, String categoryHelp, CounterCreationDataCollection counterData) +17 IBMU2.UODOTNET.UniPerfCounter..ctor() +782 IBMU2.UODOTNET.UniObjects.set_UOPooling(Boolean value) +90 Jenkon.Web.BusinessObjects.WBO..cctor() in C:\Inetpub\wwwroot\Branches\2.3.0-IH00004\WebBusinessObjects\WBO.cs:77 ------------------------------------------------------------------------ -------- Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/