Hi there,
I had some problems in the past with Nettiers and Multithreading that I was able to fix with a patch from Taliesin
http://community.codesmithtools.com/forums/2/20718/ShowThread.aspx
This issue still seems to be present at the current codebase.Anyone knows if it was addressed?
This are the errors produced by it:
"An item with the given key is already present in the dictionary."
at Microsoft.Practices.ObjectBuilder.WeakRefDictionary`2.Add(TKey key, TValue value)
at Microsoft.Practices.ObjectBuilder.Locator.Add(Object key, Object value)
at Imd.SystemMonitoring.Entities.EntityLocator.Add(String key, Object value) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Entities\EntityLocator.cs:line 32
at Imd.SystemMonitoring.Entities.EntityManager.StartTracking(String key, IEntity entity, Boolean isTrackingEnabled) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Entities\EntityManager.cs:line 197
at Imd.SystemMonitoring.Entities.EntityManager.LocateOrCreate[Entity](String key, String typeString, Type entityFactoryType, Boolean isLocatorEnabled) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Entities\EntityManager.cs:line 95
at Imd.SystemMonitoring.Data.Bases.ComputerProviderBaseCore.Fill(IDataReader reader, TList`1 rows, Int32 start, Int32 pageLength) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Data\Bases\ComputerProviderBaseCore.generated.cs:line 600
at Imd.SystemMonitoring.Data.SqlClient.SqlComputerProviderBase.GetByComputerId(TransactionManager transactionManager, Int32 computerId, Int32 start, Int32 pageLength, Int32& count) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Data.SqlClient\SqlComputerProviderBase.generated.cs:line 625
at Imd.SystemMonitoring.Services.ComputerServiceBase.GetByComputerId(Int32 computerId, Int32 start, Int32 pageLength, Int32& totalCount) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Services\ComputerServiceBase.generated.cs:line 165
at Imd.SystemMonitoring.Services.ComputerServiceBase.GetByComputerId(Int32 computerId) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring.Nettiers\Imd.SystemMonitoring.Services\ComputerServiceBase.generated.cs:line 124
at Imd.SystemMonitoring.Engine.MonitoringEngine.ExecutePollLogicalDevicesOnComputer(Object state) in C:\VSS\Imd.SystemMonitoring\Source\Imd.SystemMonitoring\Imd.SystemMonitoring.Engine\MonitoringEngine.cs:line 1024
at Amib.Threading.Internal.WorkItem.ExecuteWorkItem()
Thanks in advance