System.TypeInitializationException Error When Loading a Deployed Measurement Studio Analysis Application Primary Software: Measurement Studio>>.NET SupportPrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When you load a Measurerment Studio application that uses the Analysis library you might get a System.TypeInitializationException error, such as the following:System.TypeInitializationException: The type initializer for 'AN.a' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.This exception typically occurs when the application is deployed on a machine where the underlying Analysis class library DLLs are not present. Solution: Deploy all the DLLs that are required by the Measurement Studio .NET Analysis class libraries. Refer to the Measurement Studio .NET Merge Modules topic in the NI Measurement Studio Help for more information. Note: This behavior should not occur on a development machine. If this behavior does occur on a development machine, it could indicate a bad installation of Measurement Studio. In this case, try running the Measurement Studio installer in Repair mode to fix the installation. Related Links: Attachments:
Report Date: 01/05/2006 Last Updated: 05/07/2006 Document ID: 3T4A7UPR |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
