Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Strange Behaviour in VS2008

Strange Behaviour in VS2008

Scheduled Pinned Locked Moved Visual Studio
helpcomdesigndata-structuresjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stuart Jeffery
    wrote on last edited by
    #1

    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)

    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)

    Link to MSDN Question.[^]

    M 1 Reply Last reply
    0
    • S Stuart Jeffery

      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)

      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)

      Link to MSDN Question.[^]

      M Offline
      M Offline
      Mel Padden
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups