This post originated from an RSS feed registered with .NET Buzz
by Sam Gentile.
Original Post: Enterprise Library Configuration Utility Crashes
Feed Title: Sam Gentile's Blog
Feed URL: http://samgentile.com/blog/Rss.aspx
Feed Description: .NET and Software Development from an experienced perspective - .NET/CLR, Rotor, Interop, MC+/C++, COM+, ES, Mac OS X, Extreme Programming and More!
Hey Enterprise Library team: I get the whole goodness of EL and I am trying to switch to using it but every time I use it's Configuration Utility, it crashes any time I try to open an existing configuration file or save a new one with “The path is not a legal form.” This is on XP SP2. What gives? Is anyone else experiencing this? It can't be this broken! Please send me email.
System.ArgumentException: The path is not of a legal form. at System.IO.Path.nGetFullPathHelper(String path, Char[] invalidPathChars, Char[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, Char volumeSeparator, Boolean fullCheck, String& newPath) at System.IO.Path.FixupPath(String path) at System.IO.Path.GetDirectoryName(String path) at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.
OpenApplicationConfigurationCommand.OpenFile() at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.
OpenApplicationConfigurationCommand.ExecuteCore(ConfigurationNode node) at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ConfigurationNodeCommand.Execute(ConfigurationNode node) at Microsoft.Practices.EnterpriseLibrary.Tools.
ConfigurationConsole.MainForm.OpenApplication() at Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.MainForm.
OnToolbarButtonClick(Object sender, ToolBarButtonClickEventArgs e) at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e) at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m) at System.Windows.Forms.ToolBar.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)