Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022). The step failed. Expand / Collapse
Author
Message
Posted Wednesday, December 18, 2013 1:54 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, October 16, 2014 2:47 AM
Points: 84, Visits: 458
In Sql server 2005 dev edition observing the followed error.

SQLServerAgent Error: The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022).

Earlier the below script executed without error .From few days we are observing this error. Sql agent is running fine.

EXEC dbo.sp_cycle_agent_errorlog ;
GO
Post #1523990
Posted Wednesday, December 18, 2013 2:26 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 8:06 AM
Points: 2,390, Visits: 2,925
The error message indicates the SQL Agent error logfile is locked by another proces. This proces could be for example an Anti-Virus application. When this error occurs you can use "Proces Explorer" from sysinternals to examine all processes using a specific file.

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
Post #1523996
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse