SQL Server 2012 Distributed Replay Snapin

I was disappointed this morning when I finished installing SQL Server 2012 RC0. Still no GUI for Distributed Replay and I’m afraid this great feature won’t get the attention it deserves !!
Therefore I’ve made a quick MMC snapin as a GUI for distributed replay (Preprocess, Replay, Status, Cancel commands).
This is a very simple UI to Distributed Replay. It supports the 4 commands of distributed replay : Preprocess, Replay, Status and Cancel.
There is a pre-build event and a post-build event in the project. The pre-build removes the earlier installed version of the snapin and the post-build installs the new version upon building.
These events are written to be registered on the 64 bit version of MMC.
If it’s the first time it is build, uncomment the pre-build event.
To debug it : simply save a mmc console with the DistributedReplay snapin and in the debug properties choose start external program “C:WindowsSystem32mmc.exe” and commad line parameters : <path to your saved mmc >
Remember to run Visual Studio as Administrator !
The code is available on my company site and on Codeplex .
Happy replaying !!
Advertisements

2 comments

  1. It is great that someone put this together, thank you!
    Some step by step instructions would be helpful for us non-developer types, also when I loaded the project it prompted me for a tfs.codeplex.com login so the project did not load correctly for me in VS2012.

    1. Hi Mark and thanks for your comment. Actually all you need is the dll available there : http://dreplaygui.codeplex.com/releases/view/77298
      You can of course download the source code as I believed you did. In that case you only need a tfs username and password if you want to publish some changes to the project. Which obviously you don’t. The project is build in VS2010 so you’ll need this version to open it also.
      What you’ll need to do make it work with the dll only is to run this command line :
      C:WindowsMicrosoft.NETFramework64v4.0.30319installutil.exe “path to your dll”
      to remove it please run
      C:WindowsMicrosoft.NETFramework64v4.0.30319installutil.exe “path to your dll” /uninstall

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: