I moved a DNN 7.3.2 site from a Windwows 2008r2 server with SQL Server 2008r2, IIS 7.5 and ASP.NET 4.0.30319.42000.
I moved to a Windows 2012 Standard server, SQL Server, SQL Server 2012, IIS 8, ASP.NET 4.0.30319.42000.
On the new server, the site runs, but every module fails to load with a message similar to this:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent' threw an exception. ---> System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security. at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances.ReportCounterFailure(String message) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances..ctor(String categoryName, String counterName, Boolean createNewInstance) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.AddPerformanceCounter(String category, String[] counterNames, Boolean createNewInstance) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.Initialize(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent..ctor(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataServiceEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIds) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIDs) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..cctor() --- End of inner exception stack trace --- at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent.Fire(String connectionString) at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataInstrumentationFacade.ConnectionFailed(String connectionString) at Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection() at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DBCommandWrapper command) at TAC.DNN.Modules.XYZSQL.SQLDataProvider.SqlClient.SqlXYZ_contentProviderBase.GetByModuleID(TransactionManager transactionManager, Int32 moduleID, Int32 start, Int32 pageLength) at TAC.DNN.Modules.XYZSQL.SQLDataProvider.Bases.XYZ_contentProviderBase.GetByModuleID(Int32 moduleID) at TAC.DNN.Modules.TAC_XYZContent.TAC_XYZContent.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
The connection strings use the "sa" account, so there should be no permission issue, but this message seems to be all about permission.
Can anyone help?