Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveformplot constructor creates crash in deployment!

Hi All,

 

 I have upgraded my windows forms application from Visual Studio 2005 to Visual Studio 2008. (I have also upgraded the NI Measurement Studio to Version 8.5) The following code crashs after calling constructor WaveformPlot. (Even I could not catch the exeception )

 

In the attached sample code I can see the message box till Passed 5, after that application crashes.

 

Here are the dlls and its version numbers I deployed

 

04/16/2008  08:50 AM            57,344 NationalInstruments.Analysis.Standard.dll      - V8.5.35.220

03/29/2008  09:42 AM           198,656 NationalInstruments.Common.dll                   - V8.5.35.149
03/29/2008  09:41 AM            81,920 NationalInstruments.Common.Native.dll          - V8.5.35.149
04/16/2008  08:35 AM         1,482,752 NationalInstruments.UI.dll -                           - V8.5.35.220
04/16/2008  08:29 AM           283,136 NationalInstruments.UI.Styles3D.dll                - V8.5.35.220
04/16/2008  08:43 AM           348,160 NationalInstruments.UI.WindowsForms.dll -     - V8.5.35.220
02/26/2008  12:43 PM             2,226 NationalInstruments.UI.WindowsForms.msl
04/16/2008  08:43 AM           595,038 NationalInstruments.UI.WindowsForms.xml
04/16/2008  08:35 AM         1,550,543 NationalInstruments.UI.xml

 

I have also placed the following dlls in the same directory to address all dependency

 

mesa.dll
msvcp80.dll 
msvcr80.dll 
msvcrt.dll

 

Even I could not avoid the crash. Can some one help me to resolve this?

 

Deployed system configuration

 

OS: WIndows XP Professional

RAM : 1 GB

.NET - 2.0

 Best regards,

Raja

 

 

0 Kudos
Message 1 of 3
(4,155 Views)

Raja -

 

You specified that the deployment target machine has .NET Framework 2.0 on it.

When you upgraded your project to Visual Studio 2008, you introduced a dependency on .NET Framework 3.5.

The deployment target machine needs .NET Framework 3.5.

 

You can look at the 3rd number in Measurement Studio assembly versions to determine which version of the .NET Framework they depend on. In the list of MStudio assemblies you provided, the third number is 35, indicating .NET Framework 3.5.

 

- David

0 Kudos
Message 2 of 3
(4,138 Views)

Hi David,

 

 Thanks for the solution, after that I reference the components to old versions, even then I am facing the same problem. (I don't want to move to .NET 3.5 since it is not easy to distribute the .net 3.5 run time, so I want to keep my development in .net 2.0)

 

 Here is the steps I followed

 

1. Installed measurement studio 8.1 components

2. Opened the visual studio projects, removed the old components.

3. Add reference to the .NET 2.0 measurement studio dlls

4. Build the project.

 

Even now I am facing the same crash, this time no measurement Studio components are getting loaded 😞

 

Any suggestions? (My objective is to avoid .NET 3.5 since it is not easy to distribute, and most of my old customers are already using .NET 2.0, and majority of the customers are not interesred to download such a big .NET framework)

 

Thanks in advance,

Best regards,

Raja

0 Kudos
Message 3 of 3
(4,129 Views)