StrataFrame Forum

The specified key was not found within the messaging database.

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

By StarkMike - 2/9/2007

I keep getting this error message...not sure why. The specified key was not found within the messaging database.



I have this code added...

'-- ToDo: Add any extra application initialization

MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML



MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage("BluePrintLog2K5")



MicroFour.StrataFrame.UI.Localization.MessageXmlPath = "C:\Documents and Settings\MMurphy\My Documents\Visual Studio 2005\Projects\BluePrintLog2K5\BluePrintLog2K5"







And I have the generated xml file in the proper folder.



Any ideas?
By StarkMike - 2/9/2007

Never mind... I figured it out... I forgot the terminating "\" in the messageXMLPath



Here's what I had



MicroFour.StrataFrame.UI.Localization.MessageXmlPath = "C:\Documents and Settings\MMurphy\My Documents\Visual Studio 2005\Projects\BluePrintLog2K5\BluePrintLog2K5"



Here's what it should be



MicroFour.StrataFrame.UI.Localization.MessageXmlPath = "C:\Documents and Settings\MMurphy\My Documents\Visual Studio 2005\Projects\BluePrintLog2K5\BluePrintLog2K5\"



Hehe
By StrataFrame Team - 2/9/2007

That's always fun to figure out... I'll go put an AddBS in the Set of the MessageXmlPath property.