Hi there,
I've got this ExecutionfailureException using the subroutine below. It's been suggested by Alok.
public void CreateSnapshotAlok ( string SourceDatabaseName )
{
ProvideSecurity.provideSecurity ( );
DoServer.GetSrvConnOrSwitch ( "master" );
/* This is to ensure that a database with same name does not exist which is not needed if one chooses unique name for snapshot each time.*/
if ( Globals.srv.Databases[ SourceDatabaseName + "_Snapshot" ] != null )
{
Globals.srv.Databases[ SourceDatabaseName + "_Snapshot" ].Drop ( );
}
Database database = Globals.srv.Databases[ SourceDatabaseName ];
Database snapshot = new Database ( Globals.srv, SourceDatabaseName + "Snaps
View Complete Post