Strange Behaviour in VS2008
-
So I start work this morning, load up VS2008 and open the projects I need to be working on. After 2-3 hours I suddenly get a very wierd error and from that point on every project I open has non-designable forms/controls. I have posted a reply to a similar error on the MSND forums in hope of getting a response but maybe someone here could also help.
The CurrentContext property of the LicenseManager is currently locked and cannot be changed.
Instances of this error (1)
- Hide Call Stack
at System.ComponentModel.LicenseManager.set_CurrentContext(LicenseContext value)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) -
So I start work this morning, load up VS2008 and open the projects I need to be working on. After 2-3 hours I suddenly get a very wierd error and from that point on every project I open has non-designable forms/controls. I have posted a reply to a similar error on the MSND forums in hope of getting a response but maybe someone here could also help.
The CurrentContext property of the LicenseManager is currently locked and cannot be changed.
Instances of this error (1)
- Hide Call Stack
at System.ComponentModel.LicenseManager.set_CurrentContext(LicenseContext value)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)Are you using or creating any custom components? From this page... http://msdn.microsoft.com/en-us/library/system.componentmodel.licensemanager.aspx[^] 'twould appear that that's what that method is to do with. If you're using an installed component, I'd try uninstalling and reinstalling it.
Smokie, this is not 'Nam. This is bowling. There are rules. www.geticeberg.com