Hi People, We are facing the same issue in one of our Production servers. We have a web farm of 4 servers and one of the server has started throwing below exception.
All the 4 servers have same version of code, but 3 of them are working fine and one has started crashing since yesterday. We have done the initial research on checking the code/config/dll differences and we could not see any difference in the server where the
issue is occurring. This is almost certain that it is an IIS/Serve level setting/permission issue, but I am still clueless. Can some one help us here?
"Exception message: Activation error occured while trying to get instance of type LogWriter, key ""
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 57
in c:\Home\Chris\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 90
at Microsoft.Practices.EnterpriseLibrary.Logging.Logger.get_Writer() in e:\Builds\EntLib\Latest\Source\Blocks\Logging\Src\Logging\Logger.cs:line 413
at Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write(LogEntry log) in e:\Builds\EntLib\Latest\Source\Blocks\Logging\Src\Logging\Logger.cs:line 303
"Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter", name = "(none)".
Exception occurred while: Calling constructor Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener(System.String fileName, System.String header, System.String footer, Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.ILogFormatter
formatter, System.Int32 rollSizeKB, System.String timeStampPattern, Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollFileExistsBehavior rollFileExistsBehavior, Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollInterval rollInterval,
Exception is: IOException - The account used is a computer account. Use your global user account or local user account to access this server.
All our boxes are win 2008 servers and the application has been smoothly running since 2 years. above issue is encountered for the first time.