StrataFrame Forum

Message Key Missing

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

By Kevin Lingofelter - 10/9/2006

After downloading the current update (10/9), it appears some of the message keys are missing. When I enter a wrong password, the get the SF error dialog:

LocalizationKeyNotFoundException
 The specified key [SFSM_PasswordAuthenticationFailed] was not found within the messaging database.
KeyNotFoundException
 The message key [SFSM_PasswordAuthenticationFailed] could not be found in the localization data.

Source     : MicroFour StrataFrame Base

Stack Trace:
(snip)

By StrataFrame Team - 10/10/2006

We changed the localization in a few ways:

1) We removed the StrataFrameInternal database so that we would not have to worry about data deployment problems for people running the DDT, Messaging, BOMapper, etc.  Instead, we embedded the localization data in XML files within the assemblies.

2) We added some extra functionality to the StrataFrameApplication.RunApplication() method to ensure that all embedded messaging files within each assembly get registered every time.  Before, you had to manually call the Localization.RegisterEmbeddedXmlFile(), but now, the runtime does it for you by watching the AppDomain.AssemblyLoaded event and registering the message files when the assemblies are lazy loaded or manually loaded into the app domain. 

So, the current update should fix this problem for you, and all of the localization data should be present.

By Kevin Lingofelter - 10/10/2006

Ok..I got everything working. Here's what I did (not sure if all these steps are necessary, but I wanted to be sure I was working from a clean slate):

  1. Uninstall SF
  2. Delete any SF related registry settings
  3. Delete SF related folders:
    • C:\Program Files\Common Files\Microfour
    • C:\Program Files\Microfour
  4. Delete Internet Cache
  5. Download and Install SF

I had the messaging and security tables in DDT, so I also:

  1. Deleted all messaging and security data packages and tables
  2. Re-insert messaging and security data packages and tables
  3. Deployed to server

Once I finished this:

  1. Opened my project in VS
  2. Right-click on the Solution and chose "Clean Solution"
  3. Rebuilt the solution

Everything is now peachy...Smile

By StrataFrame Team - 10/10/2006

Yay, I'm glad you're working now Smile 

Keith did the same thing (deleted the tables and packages and let the DDT recreate them) and he is working now, too.