Article ID: 54239
Article Type: Troubleshooting
Last Modified:
Backup and restore jobs running on a SQL server fail with Error Code [30:325]
Backup and restore operations fail on a SQL server with the following error message:
Error Code: [30:325] Description: Error encountered during backup. Error: [System.IO.FileNotFoundException:Could not load file or assembly 'Microsoft.SqlServer.BatchParserClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Could not load file or assembly 'Microsoft.SqlServer.BatchParserClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.]
Backup and restore operations fail on a SQL server because the server has Microsoft SQL Server 2016 or its components installed.
For a successful backup or restore of the SQL server that has Microsoft SQL Server 2016 or its components installed, complete the following high-level steps:
Note: Follow these steps only if you are working on Commvault V10 SP14 or V11 SP5 and earlier.
Name: SqlFactoryUse40 Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance###\MSSQLAgent Type: DWORD Value: 1
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" /> </startup> <runtime> <NetFx40_LegacySecurityPolicy enabled="true"/> </runtime> </configuration>
For V11:
RegAsm.exe "<CommVault\ContentStore\Base>\CvSQLSmoV4Factory.dll"
For V10:
RegAsm.exe "<Program Files\Commvault\Simpana\Base>\CvSQLSmoV4Factory.dll"