November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
public abstract class BaseTest
{
private static System.Configuration.Configuration _config = null;
public static string TempDir = @"c:\temp\";
private const string sourceFile = "..\\out\\web.config";
public BaseTest()
{
InitializeNewConfig();
}
public static void InitializeNewConfig()
{
_config = System.Configuration.ConfigurationManager.OpenExeConfiguration(sourceFile);
EPiServer.Configuration.Settings.InitializeAllSettings(_config);
// Ensure we have no cached paths in case we have changed application root settings etc.
EPiServer.Web.PermanentLinkMapStore.Clear();
}
}
EPiServer.Configuration.Settings.InitializeAllSettings(_config);
EPiServer.Web.PermanentLinkMapStore.Clear();
Cheers!
// Peter
at EPiServer.ConfigFileSettings.ᐁ() at EPiServer.ConfigFileSettings.get_AllAppSettings() at EPiServer.ApplicationConfiguration..ctor(String configFileName) at EPiServer.Global.get_EPConfig() at EPiServer.DataAccess.DynamicPropertiesDB..ctor() at EPiServer.DataAbstraction.DynamicProperty.ListForPage(PageReference pageLink) at EPiServer.DataAbstraction.DynamicProperty.Load(PageReference pageLink, String propertyName)
Has anyone seen this before? // Peter