View Single Post
  #1 (permalink)  
Old February 22nd, 2006, 03:18 PM
not24 not24 is offline
Authorized User
Join Date: Jun 2003
Location: , , .
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Invalid class string - : 0x800401F3

I'm not sure what happened. Last week I run windows update on my computer. I have .net 2.0 & VS 2005 installed. Now anytime, I open my c# project w/ View Designer, I've got an error:

One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.

Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

at System.Windows.Forms.UnsafeNativeMethods.CoCreateI nstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(G uid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Gui d clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.Add(ICom ponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.C omponentModel.Design.IDesignerHost.CreateComponent (Type componentType, String name)
at System.ComponentModel.Design.Serialization.Designe rSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.Designe rSerializationManager.System.ComponentModel.Design .Serialization.IDesignerSerializationManager.Creat eInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeInstance(IDesignerSerial izationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.Compone ntCodeDomSerializer.DeserializeInstance(IDesignerS erializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom Serializer.DeserializeStatementToInstance(IDesigne rSerializationManager manager, CodeStatement statement)
at System.ComponentModel.Design.Serialization.CodeDom Serializer.Deserialize(IDesignerSerializationManag er manager, Object codeObject)
at System.Windows.Forms.Design.ControlCodeDomSerializ er.Deserialize(IDesignerSerializationManager manager, Object codeObject)
at System.ComponentModel.Design.Serialization.TypeCod eDomSerializer.DeserializeName(IDesignerSerializat ionManager manager, String name, CodeStatementCollection statements)

It was fine before and now it's error where it never error before. Same project is fine when open on other computer.

I search on & but I didn't found any case that same as mine.

I already re-install VS2005, .net 2.0 a few time but it still didn't work. If anybody could give me some advice, please let me know. I'll appreciate that.