Issue: Error Message "Common Language Runtime Detected an Invalid Program"
Issue:
When you start a Microvellum program, an error message is displayed that says, "Common Language Runtime detected an invalid program."
Solution:
The value for the registry setting called LastConfig in the ApplicationSettings folder is not set to a valid configuration for the software. You will have to manually change this value to a valid configuration on your system:
Check your configurations:
- Go into the registry by clicking on the start, or home button and in the search programs and files area, type in regedit and hit Enter on your keyboard.
- Expand the configurations in your registry and locate the configuration this station should be using for Microvellum Data. (“HKEY_CURRENT_USER\Software\Microvellum\Toolbox\R7.0\Toolbox-x001:409(or Toolbox- Standard)\Configurations).
(If this path uses a mapped drive, you may just have to make sure the user is connected to it. For more information on mapped drives see this Microsoft KB article: http://support.microsoft.com/kb/308582 ).
Check your Application Settings:
- Go into the registry by clicking on the start, or home button and in the search programs and files area, type in regedit and hit Enter on your keyboard.
- In the registry browse to “HKEY_CURRENT_USER\Software\Microvellum\Toolbox\R7.0\Toolbox-9001:409\ApplicationSettings”. This path might vary slightly depending on the build of Toolbox that is currently installed.
- Find LastConfig in the ApplicationSettings part of the key entry.
- Make sure the LastConfig shows the right configuration, if not, double click and type in the EXACT name of the configuration to be used.
- Launch Toolbox.
Here are two screenshots showing examples of what is being described above:
Related Articles
Issue: Error Message "Toolbox VBA is not Currently Installed"
Issue: While using Toolbox v7, you'll come across the following error: "Toolbox VBA is not currently installed. Please run the Toolbox R7 installer to install the Toolbox VBA component." Solution: Toolbox v7 no longer uses any VBA components, but a ...
Issue: Error message: The column name is not valid...
If you run Toolbox in Visual Studio debug or release mode, and thereafter update to a new compiled version of Toolbox, you may see an error when trying to open the report designer, open a work order, or various other functions that access the ...
Issue: SQL Connection Error - Temporarily Change Database Type in the Registry
Some Microvellum users may get an error related to SQL server connection issues such as: "A connection to the factory database could not be established. Please select a different configuration." Symptom: Toolbox starts up but freezes, and you're ...
Issue: Error Message "Path is Not Valid" when Starting Toolbox
If you receive the error, The path is not valid. Check the directory for the database, go through the following steps. This indicates that the path to your Microvellum data is not correct, and the program cannot access or find the Microvellum ...
Issue: Error Message "Could not Load File or Assembly System.data.SqlServerCe"
Issue: An error occurs after installing a Microvellum update: "Could not load file or assembly 'System.data.SqlServerCe, Version 4.0.0.0....or one of its dependencies. The system cannot find the file specified." Solution: This error occurs when ...
Recent Articles
Toolbox Release Notes: Year of 2024
This document will catalog all releases for Microvellum Toolbox software builds that were released in the year 2024. This encompasses builds 24.1.0104.641 to 24.1.1206.641. Toolbox Release Notes | Build 24.1.1206.641 The following release notes apply ...
Toolbox Release Notes | Build 25.1.0129.641
The following release notes apply to Toolbox build 25.1.0129.641. SMA Fixes A wide variety of issues with the Solid Model Analyzer have been resolved. Multiple modifications to existing interfaces or settings have been made to improve precision and ...
Microvellum Foundation Library Release Notes | Build 25.0124
The following release notes apply to Microvellum Foundation Library build 25.0124. Additions Added Century Components Waste Bins, Vanity Organizers, and Base Cabinet Organizers. 11”, 14”, 17” Signature Series Bottom Mount 34qt & 50qt. 4”, 5”, 6”, 9”, ...
SQL Server Backups
This article will list out the various types of backups you can create for databases hosted on an SQL Server, explore methods for creating backups manually and automatically, as well as list software/services that may assist you with backing up your ...
Toolbox Release Notes | Build 25.1.0114.641
The following release notes apply to Toolbox build 25.1.0114.641. UI Fixes Several issues were reported and discovered within the OEM 2025 user interface. The following issues have been resolved: Fig. 1: Excess commands on the tool strip being ...