Results 1 to 2 of 2

Thread: [RESOLVED] Castrophic error for Design

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2025
    Posts
    182

    Resolved [RESOLVED] Castrophic error for Design

    I tried to place a background worker in my design, but it crashed the design. Now I have the following errors. I had 4 messages but I deleted 3 of the backgroundworker = new backgroundworker items from the designer file and those errors went away.

    What does this last error mean?

    at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_Provider()
    at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
    at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

    EDIT: I could not see anything in the design, so I added more. This is how I ended up with 3 backgroundworkers.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,066

    Re: Castrophic error for Design

    That's a VS bug. I suggest that you create a new project and try again to see whether the same thing happens. If it doesn't then it may be a one-off, so you may be able to simply revert that form and carry on. If the same thing does happen then your VS installation may be corrupt and you may have to perform a repair.

    If you're not already, you ought to start using some form of source control. One of the advantages is that, when something like this goes awry, you can simply undo your changes and revert to the last known good state, or even a previous known good state if desired.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width