StrataFrame Forum

InvalidCastException when adding Population Settings

http://forum.strataframe.net/Topic18359.aspx

By Guillermo Vilas - 8/7/2008

After installing the last beta I´m getting this exception whenever I try to add the BusinessObject to the population list of the ListView or a ComboBox. I already tried to repair the SF installation and also tried repair of Visual Studio 2008 with no luck. I guess this error has nothing to do with SF but Visual Studio 2008 since I tried some example under VS 2005 and they work just fine.





InvalidCastException

Unable to cast object of type 'Microsoft.VisualStudio.Design.VSDynamicTypeService' to type 'Microsoft.VisualStudio.Shell.Design.DynamicTypeService'.



Source : MicroFour StrataFrame Extensibility



Stack Trace:

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.ᜁ()

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.get_CurrentDynamicTypeService()

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.ᜀ(Project A_0)

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.get_CurrentITypeResolutionService(Project Project)

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetTypeInternal(String TypeName, IServiceProvider Provider)

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetMethodsOnTypeForListPopulation(String TypeFullName, IServiceProvider Provider, ListControl ComboToPopulate)

at MicroFour.StrataFrame.Extensibility.ListViewPopulationEditorDialog.ᜀ(Object A_0, EventArgs A_1)





Well any advice will be great.

Best regards
By Guillermo Vilas - 8/7/2008

I solved the issue by unistalling and reinstalling the Guidance Automation Toolkit For VS2008. Blink yes... what the..Blink
By Dustin Taylor - 8/8/2008

Blink indeed. That's a new one!