SET ANSI_WARNINGS OFF DBCC ShrinkFile (LevelExtreme_Log,1)I obtain this message:
Dim loBackup As Backup = New Backup Dim loServer As Server = New Server loBackup.Devices.AddDevice(cPath + "\" + cDatabaseName + ".bak", DeviceType.File) loBackup.Database = cDatabaseName loBackup.Action = Microsoft.SqlServer.Management.Smo.BackupActionType.Database loBackup.Initialize = True loBackup.PercentCompleteNotification = 1 AddHandler loBackup.PercentComplete, AddressOf ProgressEventHandler loBackup.SqlBackup(loServer)So, it seems to be related to the data provider, as that script is executed through it. Anyone would have any idea on what is causes this?