   Visual Studio Designer Error :(
  I'm getting this error with the forms designerQuote:at EnvDTE.CodeElements.GetEnumerator()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) I already reinstalled (which took forever), and it didn't fix the problem. I did 'reset settings', nothing. Can someone please help me :'(EDIT: By the way, it's not an error on my side I assume, I have 10 projects which I've successfully built a while ago (Except it was with Visual C# Express) and it worked, I even try to create a windows forms program in this and I get the same error without having even started to program.   
  Was it a project that you created using VS 2005 or was it another project you imported into VS 2005?   ;  Like I said, this is what's troubling me, I've been searching my head off and what not, I just created a Visual C# Windows Application, nothing special, I didn't create a solution for it, just the project (which I think shouldn't affect anything), and nothing else special, and this happened, it automatically said that. :(   ;  Is this a brand newly created project? I've had errors very similiar pop up before, and usually it is because there is an something wrong with your code, I've had things like missing semicolons break it[embarrass]. Usually just rebuilding the project will fix it.EDIT:Just read your most recent post, that seems a little odd.EDIT2:I've got Visual Studio 2005 Standard, and I just created a C# App and I've had no problems. If the rebuild doesn't fix anything I can give you the code that I have and we can see what the difference is.EDIT3:Should this be moved to the .Net forum?   ;  Hmm If I were you, I would:*check to see if you did not accidently "mess" with the directories.*check to make sure you unnistalled it correctly*learn how to unnistall and reinstall it correctly* if all else fails, do a destructive system recovery? (it may be very harsh, but it always works for me. You need to back up all data and app though)Besides that, it may be that the registry is holding some wacky stuff from Visual Studio. This may be caused by installing or unninstalling it correctly. Maybe Unninstall it and try a registry cleaner?But like I said, don't take all of my stuff for word. Especially when it coms to manually editing the registry or using Destructive Recovery. Maybe you can also try a safer option, resetting all windows setting to a previous restore date. That might clear up any corrup associations that are causing you all this pain.I hope you get your VS 2005 working again soon [smile]EDIT: Like I said, this is coming from me (my own opinion). There are probably many better options availible to you than these.   ;  Thanks guys! Yeah, this is a brand new created project. So, the second I click 'create', it gives me that 'designer error' thing, and no it's not a pop up or whatever, it's in the 'designer window pane', it said HRESULT (some hex number) which I googled to no avail. Currently I'm in the process of 'reinstalling' once more, I uninstalled the components so I hope it does this cleanly, I first thought it might've been a problem with something with the interpreter, cause of the error, I don't think this is due to some code fault but it might be, again, I haven't done anything, and I've even erased 'userdata' a couple times already.How do you uninstall/install correctly? All I do is uninstall from the command prompt, and then insert the CD and install. Currently I'm just doing the 'repair/reinstall' way, after having uninstalled the components. I recently, I think yesterday, deleted/uninstalled Visual Studio 2003 toolkit, but I doubt this is it, I just thought this would have probably been the most significant change, I don't remember when it was the last time it worked but I'm pretty sure it worked.Thanks for the help so far buddies :(   ;  Refer to this article to correctly unnistall VS 2005:OMG O_OI hope it helps...   ;  I was about to reformat...I guess I'll do this for the 9nth time, thanks guys, I'm desperate :'(Pic of what the error: http://www.jorgepena.be/downloads/pics/misc/error.JPG;Quote:Original post by blankyI was about to reformat...I guess I'll do this for the 9nth time, thanks guys, I'm desperate :'(Pic of what the error: http://www.jorgepena.be/downloads/pics/misc/error.JPGCould you create a project that reproduces the problem, zip it and provide us with a download ?  This would help us tell wether the problem is in the code generated by the designer or with the way that code is loaded.   ;  Sure thing buddy! :)Check it out http://www.jorgepena.be/downloads/misc/asd.zipThe project's named asd, yeah, cause I was bored of naming 23 other failed attempts :P It's unchanged, as in, I just created it and it's like that, I didn't touch anything, hence why I think it's a problem with some interpretor or something (Like what the error said or something), thanks guys, you're really nice :') I was already packing up my things for another reformat :'(