Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Restore DB with SMO-Error

Back to Forum: Tech Off
  • User profile image
    Amresh

     

    Am using

    if (currentDb != null)

      myServer.KillAllProcesses(destinationDatabaseName);

    before i restore the currentDb.

    After restoring i use

    currentDb.SetOnline();

    but if am trying to connect to the database after the restore operation it throwing an error.

    "A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)"

    Am trying to restore the DB on which am currently working.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.