Ben,I copied the dll's into both "C:\ProgramFiles\MicroFour\StrataFrame\Assemblies" and "C:\Windows\assembly" (aka the GAC) and it fixes the problem of an exception being caused whenever ShowAvailableLanguages() is called.
Unfortunately, there is now a different problem. I have just started a new application, and had just created a few new BOs and went to the Business Object Mapper, confugured the project and the business objects, and then went to "Build All Partials" and I get the following exception:
FileNotFoundException
Could not load file or assembly 'IBM.Data.DB2, Version=9.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The system cannot find the file specified.
Source : MicroFour StrataFrame AddIns
Stack Trace:
at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.BuildPartialClass(String ClassName, Int32 ProjectItemPK, Project ParentProject)
at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.BuildPartialClassesForProjectThread(Object ProjectNode)
At this point the Buisness Object Mapper is frozen, the only way out is to use the the task manager to end the task, which also exits visual studio. I'm not using DB2, and the only recent change was the dll's so I copied the old ones back and tried again and I could build the partials fine. New ones in again and the exception came back.
I can work with the ShowAvailableLanguages() causing an exception, and at least I now know that it wasn't me doing something stupid, so I'll revert to the old dll's. I hope that, in the fullness of time, there will be a fix that allows both ShowAvailableLanguages() and the business object mapper to work.
Peter