Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of Web Application Reference Problem

Solved!
Go to solution

Hi Edna,

 

I have made the following regarded to the MSStudio installation:

 

    1. Installed MSStudio 2013
    2. Installed MSStudio 2010
    3. Uninstalled MSStudio 2010
    4. Repaired MSStudio 2013
    5. Uninstalled MSStudio 2013
    6. Installed MSStudio 2013

I have thought that maybe the previous MSStudio 2010 installation has "damaged" my development PC. Please note that if I remove the Common.190 reference from the software project, the error message is always missing 188 instead of 190. That is strange because I have all the newest components in the PC.

 

Is it possible that some NI component,  which is not directly referenced from my project, makes this. And that component is updated after the DAQmx installation.

 

 

Please note that I have also made a distribution file by using your example. That example was WiX all libraries Setup project.

 

I included the NI files in the Publish tab but it did not help. Please note, I am not using the Publish wizard for delivering the application. Instead of that I use the WiX deployment project.

 

BR,

Ilkka

0 Kudos
Message 31 of 46
(3,751 Views)

Hi Yltsa,

 

Thanks for going through the whole process of installation. 

So do you use WiX then to create your distribution file? Or do you follow these instructions:http://digital.ni.com/public.nsf/allkb/ed87c183e056cac386256df1004e54c6?OpenDocument

 

Let me know.

National Instruments
Applications Engineer
0 Kudos
Message 32 of 46
(3,746 Views)

Hi Edna,

 

I have Visual Studio 2012 and I use WiX. VS 2012 does not contain anymore the old setup project types.

I cannot follow the old instructions.. WiX is now also NI recommended tool for making the deployment projects. Before this I lose a lot of time by playing InstallShield Express edition with VS2012&MS2013.. In this forum I was guided to select WiX.. 😉

It is nice tool.. but now it is this problem.. We must deliver our software to many customers and this is not so easy..

Have a nice day,
Ilkka

0 Kudos
Message 33 of 46
(3,743 Views)

Hi Yltsa,

 

Did you try to deploy to another computer as well? and got the same issues. 

So a better way to delete the 188 version from GAC is to use "gacutil " functrion in the visual studio command prompt which unregisters the assembly. You may want to try this as well.

 

I also found out that your files are referring to .NET 4.0. The shipping examples that we have only works for .NET 4.5 which is possibly why the systems that you are installing is looking for the versions of the NI common libraries that are relevant to the .NET 4.0 framework and not finding them because the common.wicx refers to a later version of the common libraries.

The reason why the installers are successful on some systems are due to the fact that the NI common libraries are installed with the most recent version of .190 with the installation of DAQmx so when the installer says it needs to find an older version of the common libraries it finds a later version so it skips that step and is successful as a result.

National Instruments
Applications Engineer
0 Kudos
Message 34 of 46
(3,723 Views)

Hi Yltsä,

 

Seems like we have lost track of what we have been trying. 

Can you go to a development computer where it doesn't have any NI softwares. Then install Visual Studio xxxx, with Measurement Studio 2013, build one of the shipping examples, and let me know what happens.

 

 

National Instruments
Applications Engineer
0 Kudos
Message 35 of 46
(3,719 Views)

Hi,

 

I have deleted the 188 version from GAC by "gacutil.. A long time ago..

 

I have installed Visual Studio 2012, with Measurement Studio 2013, and builded one of the shipping examples. I have aso reported that here.. (the same result, missing 188). You can deploy our software into your computer..  I can send a download link. We can use also your example which I have build here.

 

BR,

Ilkka

0 Kudos
Message 36 of 46
(3,714 Views)

Hi Yltsa,

 

Did you try on another computer? on a totally fresh computer? This way we can figure out if the problem is from the computer or program.

You can also send the link to your project. I can try to run it here, and see if I get the same error.

 

National Instruments
Applications Engineer
0 Kudos
Message 37 of 46
(3,706 Views)

Hi Edna,

 

yes.. I have tried in many new computers coming directly from the factory.

 

BR,
Ilkka

0 Kudos
Message 38 of 46
(3,704 Views)

So same behaviour happens with brand new computers? Then the problem is definitly with the program. Please try to send the program to me and see if I get the same behaviour here.

 

National Instruments
Applications Engineer
0 Kudos
Message 39 of 46
(3,695 Views)

Hi Edna,

 

I have the same phenomena when using this NI example solution.  You can try build it and install the sample into a fresh computer.. maybe you will get also missing 188 problem.. 🙂

I have opened a case also directly with NI customer support. I think that they noticed the same as me.. But nobody can say where is the problem.. yet..

 

BR,
Ilkka

0 Kudos
Message 40 of 46
(3,690 Views)