p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=138)
-   -   Invalid class string - : 0x800401F3 (http://p2p.wrox.com/showthread.php?t=38880)

not24 February 22nd, 2006 03:18 PM

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))
Hide

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 google.com & microsoft.com 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.


dynorick March 16th, 2006 04:53 PM

not24...im not sure if this will help you but i was having the same problem that you were having and, although it boggles my mind that it worked, all i did was rename the form that was giving me the problem, compile, and then rename it back and recompile. i am still haveing the problem in the design view of my .resx files...

i get warnings:

The system cannot find the path specified. (Exception from HRESULT: 0x80070003)

but it compiles and runs fine.


Rick Graham
Web Development / Junior Programmer

 


All times are GMT -4. The time now is 06:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.