Bryan Corazza

for ( ; ; ) { BizTalk, Workflow, and .NET }

  Home  |   Contact  |   Syndication    |   Login
  55 Posts | 1 Stories | 23 Comments | 42 Trackbacks

News

Archives

Post Categories

Image Galleries

Biztalk

Blogs I read

Downloads and Samples

General .Net

How-To

Other disparate systems

Patterns and Practices

WorkFlow

Monday, May 16, 2005 #

As I seem to keep misplacing my cheat sheets, I thought I'd post it.  (Hopefully to be seen by others.)
Until this step is complete you will be seeing this warning in your BizTalk Server Event Logs:
 
 "The master secret has not been backed up. If you lose
the master secret all the information stored in the SSO
system will be lost permanently and your systems may fail
to work correctly. Please use the SSO admin tools to back
up your master secret."
 
*And remember you need to either be a local administrator AND an SSO Administrator to run this command.
 
To back up the master secret key
  1. On the Start menu, click Run.
  2. In the Open box, type cmd, and then click OK.
  3. At the command line, go to the Enterprise Single Sign-On installation directory. The default installation directory is <install directory>:\Program Files\Common Files\Enterprise Single Sign-On.
  4. Type the following syntax at the command prompt to backup the master secret key:
    ssoconfig -backupsecret <backup file> (<backup file> is the entire file path name)

First you open visual studio and goto Tools in the Menu bar and all the way towards the bottom of
the list you'll see External Tools (click on that).
 
Once that is open you will see a list of Menu Contents, to the right you will see an add and delete button.  Click on the Add button.  Once that is done you will see a [New Tool 1] entry into the bottom of the list.
 
  • Fill out the Title (to your liking) For this sample I used 'Install to GAC' and 'Remove from GAC'
  • For the Command Field, point to the gacutil.exe (by default in C:\Windows\Microsoft.NET\Framework\(latest version your compiling with)\gacutil.exe)
  • For VS 2005 by default gacutil.exe is “C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe“
  • Arguments -i$(TargetPath) - This is a Visual Studio built-in macro. 
    -u$(TargetName) obviously for the removal process.
  • Now I prefer clicking on Use Output window so I can see the results of the gacutil output.
 
Now once you have that setup you can just select the project (from your solution explorer) and goto Tools and run the 'Install to GAC' or 'Remove from GAC' without going to the DOS prompt.
 
      -B