This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error deleting file for a specific user only when he tries to unlock his account using the PM Portal

2016-11-30 04:29:37:775 E [1572:68] QPM.Service.Modules.Implementations.dll EnterpriseAuditingLocal.Initialize() >> System.IO.IOException: Cannot delete C:\ProgramData\Dell\EAF\02c5f92c-c8b7-4ac6-9cd8-9cc5d86e6c30\4447f6fe-d351-4892-8079-b724ab609f00\write.lock ---> System.IO.IOException: The process cannot access the file 'C:\ProgramData\Dell\EAF\02c5f92c-c8b7-4ac6-9cd8-9cc5d86e6c30\4447f6fe-d351-4892-8079-b724ab609f00\write.lock' because it is being used by another process.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at Dell.EAF.Core.Index.Storage.FileSystem.FileSystemDirectory.DeleteFile(String name)

   --- End of inner exception stack trace ---

   at Dell.EAF.Core.Index.Storage.FileSystem.FileSystemDirectory.DeleteFile(String name)

   at QPM.Service.Modules.Implementations.EnterpriseAuditing.EnterpriseAuditingLocal.Initialize(String connectionString)

2016-11-30 04:29:37:775 E [1572:68] QPM.Notifications.dll NotificationManager.SafeNotify() >> Notification listener (unknown) failed. Message: Cannot delete C:\ProgramData\Dell\EAF\02c5f92c-c8b7-4ac6-9cd8-9cc5d86e6c30\4447f6fe-d351-4892-8079-b724ab609f00\write.lock

2016-11-30 04:29:37:775 E [1572:68] QPM.Notifications.dll NotificationManager.NotificationAsyncCallback() >> Notification Exception: System.IO.IOException: Cannot delete C:\ProgramData\Dell\EAF\02c5f92c-c8b7-4ac6-9cd8-9cc5d86e6c30\4447f6fe-d351-4892-8079-b724ab609f00\write.lock ---> System.IO.IOException: The process cannot access the file 'C:\ProgramData\Dell\EAF\02c5f92c-c8b7-4ac6-9cd8-9cc5d86e6c30\4447f6fe-d351-4892-8079-b724ab609f00\write.lock' because it is being used by another process.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at Dell.EAF.Core.Index.Storage.FileSystem.FileSystemDirectory.DeleteFile(String name)

   --- End of inner exception stack trace ---

   at Dell.EAF.Core.Index.Storage.FileSystem.FileSystemDirectory.DeleteFile(String name)

   at QPM.Service.Modules.Implementations.EnterpriseAuditing.EnterpriseAuditingLocal.Initialize(String connectionString)

   at QPM.Service.Modules.Implementations.EnterpriseAuditing.EnterpriseAuditingFactory.CreateAuditingInstance(DatabaseConnectionInfo dbConnection)

   at QPM.Notifications.Listeners.SqlNotificationListener.Notify(NotificationMessage message, NotificationSettingsInfo settings)

   at QPM.Notifications.Managers.NotificationManager.SafeNotify(INotificationListener listener, NotificationSettingsInfo settings, NotificationMessage message)

Parents Reply Children
No Data