Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Settings Config File Path
Message
De
13/01/2011 09:37:19
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Application Settings Config File Path
Divers
Thread ID:
01496034
Message ID:
01496034
Vues:
94
Hi,

I have subclassed the mmAppConfiguration and have set it to use this config file:
this.ReadKeysFromConfig("C:\\Development\\Mere Mortals .NET Framework 2008\\SamaanSystems\\IAS.Web\\Admin\\SIASSettings.config");
Of course this won't exist on the client's computer.

I have tried using this:
//this.ReadKeysFromConfig(Server.MapPath(@"~/Admin/SIASSettings.config"));
but that gives me an error on Server saying "The name 'Server' does not exist in the current context". If I try to resolve the reference the only option I have available is Microsoft.SqlServer.Server, which doesn't seem right to me.

What should I use?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform