Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
Hi Kevin,
I think figured it out. If I turn off localization (LocalizeApp=false in the application configuration file) then the exception form is correctly shown (in English). Our application is to be shown in Norwegian so LocalizeApp is set to true by default.
I'm assuming that the framework is trying to localize the exception form but runs into trouble when it cannot find the database containing the message table (which is rather ironic since the original exception to be shown in the exception form is that the database was not found :)
To reproduce (only tried with C#) :
1. Create a new MM project
2. In config file, set the connection string to point to a non-existing database
3. In config file, set LocalizeApp to true
Sincerely,
Andrew
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement