LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

You must have the .NET Framework 1.1 Service Pack 1 or later to use .NET functions and applications

when I try to use Calculator.vi example I got
"Error 1195 occurred at Constructor Node in Calculator.vi You must have the .NET Framework 1.1 Service Pack 1 or later to use .NET functions and applications.  Refer to the Microsoft Web site at www.microsoft.com to download the .NET Framework."
error message. I have already installed .net framework 1.1 service pack 1 before. My LV verson is 8.0. please help me about this problem
0 Kudos
Message 1 of 15
(4,482 Views)
Well, to make sure the SP1 is correctly installed, you can look in the registry at this location
 
HKLM:\\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322
 
We look for a value called SP, and make sure it exists and has a value greater or equal to 1. You could also install the .NET 2.0 or 3.0 frameworks, which don't need the SP and then try it.
 
The only other time you'll get this message is when there is a critical failure at the early stage of the .NET interop layer in LabVIEW. Generally I've only seen this in development builds when people "muck around" with the configuration....I haven't seen it in the release versions, but something could have become corrupt.
 
There are some debugging tools you can download and install, but let's start with .NET 2.0 or 3.0 and see what happens.
0 Kudos
Message 2 of 15
(4,475 Views)
I checked SP in registry. It exists and has value 1. Also, I installed .NET 2.0 and .NET 3.0 frameworks but my problem is still not solved.Is there any other idea about this problem  
0 Kudos
Message 3 of 15
(4,432 Views)

BTW - Are you running 8.0 or 8.0.1? If you haven't installed the patch, make sure to do that.

Well, that was the easy version...we'll now need to try the more complicated stuff...there is always the uninstall, reinstall - but I hate doing that w/o cause - so let's try this. Go to www.microsoft.com/downloads and download the .NET SDK for the version of .NET you are using (the latest version installed unless you've created a LabVIEW.exe.config file to specify the version). Then read over this post to see how to use the fusion logger.

Then make sure the history for the fusion logger is clear and then launch LabVIEW. Once LV is up, refresh and see what it says. You'll probably get at least one error in loading an assembly, but we handle that - so you should also see a success for it. But this will tell us if you're failing to load the LabVIEW .NET components.

0 Kudos
Message 4 of 15
(4,405 Views)
I'm running in version 8.2. When I run the Calculator.vi example,  I used the fussion logger (fuslogvw.exe) for assembly loading logs.  I saw 3 error logs which in attechments. I don't understand logs, please help me about problem  
Download All
0 Kudos
Message 5 of 15
(4,274 Views)

These are expected errors as it is .NET's first attempt to load some LV assemblies. We then handle them and load in the assemblies...if you turn on logging for successful assembly loads, you'll see that they are resolved.

Does the calculator example run for you?

0 Kudos
Message 6 of 15
(4,250 Views)
Still, I can't run Calculator.vi. Continuously I have "You must have the .NET Framework 1.1 Service Pack 1 or later to use .NET functions and applications" error message. When I look over fussion logs I see error logs which I send you before
0 Kudos
Message 7 of 15
(4,231 Views)
Sorry for the delay - I've been out sick. All I can suggest at this point is to turn on full logging with the fusion logger (see my post earlier) and send me the output from that. Running LabVIEW out of the box w/ any of the .NET frameworks from 1.1 SP1 installed hasn't had a problem with the examples, so I'm scratching my head. Once we have the fusion log files, we can start to look through your system to see where the problem might be coming from.
0 Kudos
Message 8 of 15
(4,180 Views)

Hi Lycangeek,

I'm sorry about your illness. I hope, you'll get well soon. First of all, I turned on full logging and deleted all old log records. After I started the Calculator.vi example, I got logs which are in attechments.

Download All
0 Kudos
Message 9 of 15
(4,148 Views)