Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Help, I experiece this kind of errors
 

Help, I experiece this kind of errors

Exception from HRESULT: 0x80042929

Instances of this error (1)
1.
at EnvDTE.CodeElements.GetEnumerator()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.CodeTypeDeclarationFromCodeClass(CodeClass vsClass)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnNamespacePopulateTypes(Object sender, EventArgs e)
at System.CodeDom.CodeNamespace.get_Types()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.Parse(TextReader codeStream)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.MergedCodeDomParser.System.CodeDom.Compiler.ICodeParser.Parse(TextReader stream)
at System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader codeStream)
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)


what's the common problem about this, cause i am using 2 project in one solution then, I add Folder named "Member", under that folder, I add UserControl then it apears like that if u click that UserControl.

Im just Curious about this Prob, Hope there's an MVP here that can answer this Probs..

By the Im using C#..

More Power!
KelThuPsych05  Tuesday, January 06, 2009 9:19 PM

Hi KelThuPsyCh05,

Unfortunately I am unable to reproduce the issue on my side. I search this on the net, and found the same error. I guess this may cause by the name of namespace. The error text seems to tell there is something hided and could be accessed. Please check all the namespace names in the files are the same or add using namespace statement, then close the form and reload it. Does it apply to your situation?

This threadis for your reference.

If you have any questions, please feel free to ask.

Best regards,
Ling


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, January 09, 2009 9:57 AM

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Tuesday, January 13, 2009 6:10 AM
Make sure the Build ActioninProperties for thefile is set to Compile. It's probably set to None.
Richard Hein  Friday, January 23, 2009 8:08 PM
This is usually caused by having two objects with the same name.

Example:

You have a folder named IOFunctions and you also have a file called IOFunctions.cs somewhere in the build. Make sure you naming conventions are not over lapping folder names and file names.
Hagoth  Friday, April 17, 2009 7:37 PM
I had this issue. For me, the issue was that I had a namespace that was invalid. I had added a folder to the project that I then added more folders to represent certain utilities in the project. When creating controls in the sub folders, it was adding the 'Utilities' namespace to the control namespace. However, since I did not actually have any files in the 'Utilities' folder, this part of the namespace did not exist. Once I removed the 'Utilities' portion the control opened just fine.
NoDisplayNameAvailable  Wednesday, May 06, 2009 5:55 PM

You can use google to search for other answers

Custom Search

More Threads

• Dropping project components onto a form
• Cut & Paste
• Hide certain standard control's properties from designer
• PropertyGrid Friend Properties
• How can I access the DTE (solution components) at design time?
• 13 Errors in # Region "Windows Form Designer generated code" & Components of VB.NET 2005 Express: How to correct them?
• How to make a copy of ToolStripItem
• forms designer error, vb .net 2005
• How to add controls at run-time ?
• Invoking VB6 from Smart client applications using Composit UI application Block