Skip to content

Failed to create component #4869

Closed
Closed

Description

@itg-assistant

Warren McKenna asked 2025-09-26 14:26:11 UTC

Installed Wisej 4 and created my first vb web desktop application.

Default form works and runs, however when I try to add a component from the toolbox I get to following:

Failed to create component...error

Have Wisej 3.5 Community Edition installed and it works fine.

Any advice to clear this up would be greatly appreciated.

Activity

  1. itg-assistant commented on Jun 16, 2026

    @itg-assistant
    Author

    Julie (ITG) answered 2025-09-26 15:06:14 UTC

    This is an issue caused by having multiple versions of Wisej installed side-by-side (in your case Wisej 3.5 and Wisej 4).

    Visual Studio tries to load the design-time component assemblies, and if it picks up the wrong version (or a mix of 3.5 and 4), you’ll see “Failed to create component…” when dragging from the toolbox.

    How to fix it:

    • Try cleaning and rebuilding your project, restarting Visual Studio, restarting your computer and cleaning and rebuilding your project again.

    • Clear the cache- Visual Studio caches assemblies for the toolbox and designer. Close Visual Studio, then delete the contents of these folders:
      C:\Users<YourUsername>\AppData\Local\Microsoft\VisualStudio<version>\ComponentModelCache
      C:\Users<YourUsername>\AppData\Local\Microsoft\VisualStudio<version>\Designer\ShadowCache

    • Check your project references- open your .vbproj file by double-clicking on the project name in the Solution Explorer. Double-check that it is referencing Wisej 4 (Should look like this: ) and not Wisej 3.5

    • Try temporarily uninstalling Wisej 3.5 (uninstall it from Visual Studio → Extensions → Manage Extensions)

    •  Reset the toolbox- Go to the Tools menu → Import and Export Settings. Select Reset all settings → click Next. You can choose Yes, save my current settings (optional) or No. Pick your default environment (e.g., VB or C#). This will rebuild the toolbox from scratch.

    Hope this helps,

    Julie

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 16, 2026
  3. itg-assistant commented on Jun 16, 2026

    @itg-assistant
    Author

    Warren McKenna answered 2025-09-26 16:17:41 UTC

    Did all of this and on 2 different machines and still getting the Failed to create component…. Gerrr

  4. itg-assistant commented on Jun 16, 2026

    @itg-assistant
    Author

    Warren McKenna answered 2025-09-29 01:06:01 UTC

    I’m back and made another attempt at clearing up this error. Uninstalled all WiseJ extensions and carefully followed these instructions. Installed the WiseJ4 extension and all is working great. This is an install on my laptop so now off to work on the Desktop to see if we can fix it up. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions