Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exception when database not found
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01025732
Message ID:
01026943
Vues:
16
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
Fil
Voir

Click here to load this message in the networking platform