Unable to open in design mode

Posted by: robert.chapman on 2 November 2017, 2:31 pm EST

    • Post Options:
    • Link

    Posted 2 November 2017, 2:31 pm EST

    Hi,

    We are using the .NET 4.0 version of Winforms version and on one machine things work as expected but on all other machine we are unable to open the design view, which shows an unable to load error. Any ideas what we can try? We have tried to duplicate the setup on the other machines but this doesn’t seem to help.

    Thanks,

    Rob

  • Posted 3 November 2017, 3:07 am EST

    Hi,

    In order to resolve the issue, please try the following methods at your end:

    1. Are you using the same dlls for the controls on the other machines? Under the References in the Solution Explorer, check the

      version of the dlls used. This must be same as the developing environment or the Specific Version property of the dlls should be set to

      False.
    2. Are all your machines 64-bit or 32-bit? 32-bit Visual Studio cannot load x64 unmanaged code. Note that by default, C# projects are

      compiled as Any CPU which compiles to x64 on Windows x64.
    3. Clear the bin and obj folders (requires shutting down the Visual Studio first)
    4. Clean and Rebuild the sample. Also, restart the Visual studio.
    5. Check the Resources directory and remove any unwanted file. Ensure that there is no old version of the resource DLL in the C:

      \Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE folder. If it exists, delete it along with its PDB.

    One of the above methods should resolve the issue for you. If it persists, we request you to share these details:

    i. Screenshot of the exact error observed

    ii. Environment details of the system on which the designer is loaded properly and of the other system on which it is not.

    This will help us assist you further.

    Best Regards,

    Esha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels