12-06-2005 09:20 AM
12-07-2005 11:02 AM
This was working with .NET Framework version 2.0 beta2. Looks like Microsoft must have changed something in the version of .NET 2.0 released after CVI 8.0 and this is causing the error. By default, Windows loads the latest .NET framework for any application, but one can configure a specific version for an application using a config file. Please create a text file called cvi.exe.config with the following contents and place it in the same folder as cvi.exe:
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
</startup>
</configuration>
After saving the file, restart CVI and see if this works.
12-07-2005 12:11 PM
Hello again Mohan,
The config file worked. Atleast the .NET controller wizard appears now. I closed CVI and restarted it, but the first time that the wizard opened it took 10 seconds and then popped 'under'. I had to ALT-TAB to get it to reappear. From the second time forward, it opens quickly.
Orlan
12-07-2005 02:15 PM
12-07-2005 04:11 PM - edited 12-07-2005 04:11 PM
Actually the second idea works even better because, as you point out, you don't loose .NET 2 as you do with the config file approach. For those without cable or dsl, it might be the only practical fix. It took just as long to install it as it did to download it (over cable). Haven't actually tried to use it yet, but atleast the wizard shows all of the version 2 assemblies.
Orlan
Message Edited by cosmo on 12-07-2005 04:13 PM