I am unable to open up the web.config file using the entlibconfig.exe in server 2003.
it works just fine in XP and 2000. I have tryed using just the basic web.config with no dataconfig or encryption blocks and still the same error.
I have try fooling it with renaming a empty text file as web.config and it errors out with bad format so it appears to be trying to parse the config file.
Here is the error I am getting. Any help would be appreicated.
System.Security.SecurityException: Failure decoding embedded permission set object.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ConfigurationDesignManagerDomain.LoadFrom(String path)
at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.UIHierarchy.Load()
at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ApplicationConfigurationNode.OnAddMenuItems()
at Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ConfigurationNode.AddMenuItems(IMenuContainerService menuContainerService)
at Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.MainForm.LoadMenuItemsFromNode(ConfigurationTreeNode node, MenuItem[] menuItems)
at Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.MainForm.OnTreeViewAfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at Microsoft.Practices.EnterpriseLibrary.Tools.ConfigurationConsole.CustomTreeView.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)