Recently one of our SharePoint 2010 development servers died (OS related we think). I managed to get into the file system and grab all the SP databases (mdf's and ldf's). I rebuilt a new SP2010 machine from scratch and attached site collection databases and one MMS database to SQL. Then, for every content database restored I created a new web application, entering the name of that content database. No dramas there. I could browse the sites and all content looked to be intact.

I then went into the connections property of the Manage Metadata services and changed the database name from the newly created one to my old MMS database that I'd just previously attached. That seemed OK too. IISReset and I could then browse the old Term store. Good! But, since I previously had a content type syndication set up I needed to reproduce that. I entered the SC in the MMS connections properties. However, upon browsing to the "Manage Publishing for this Content Type" I received the following error in ULS: 

"System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at Microsoft.SharePoint.Taxonomy.Generic.IndexedCollection`1.get\_Item(Guid index)"

Also, interesting and expectedly enough, in the subscriber site collections, under Site Collection Admin -> Content Type publication, there is a reference to the old server and content type hub. So I tried creating a new MMS with the old database, and entering the new URL to the content type hub, forcing the hub and subscriber jobs, all to no avail.

Apart from trashing my source Content Types and building a new MMS from scratch, what are my options to get this working with the original MMS database. Any help would be appreciated.