StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Message Key MissingExpand / Collapse
Author
Message
Posted 10/09/2006 7:57:22 PM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 08/23/2007 2:01:12 AM
Posts: 77, Visits: 804
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)

Post #3424
Posted 10/10/2006 9:16:12 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:24:42 AM
Posts: 2,686, Visits: 1,889
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.


www.bungie.net
Post #3441
Posted 10/10/2006 1:54:57 PM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 08/23/2007 2:01:12 AM
Posts: 77, Visits: 804
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...

Post #3454
Posted 10/10/2006 1:58:29 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:24:42 AM
Posts: 2,686, Visits: 1,889
Yay, I'm glad you're working now  

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


www.bungie.net
Post #3456
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 12:42pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 13 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.