12-08-2009 10:15 AM
I wrote an app. in VS-2005 / MS 8.5 (2005) / .NET framework 2.0 / NI DAQmx 8.8 that addressed a USB-6211 board. All ran fine. Sometime after I upgraded to VS-2008 / MS 8.5 (2008). I never upgrade DAQmx at that time. Now I try to run that app (the old executable) and get a message that it cannot find the hardware device. The device checks out in Test Panels, the drivers seem to install and start properly. I opened the source code in VS-2008 and the auto convert worked successfully. Whe I tried to debug or build I get the following:
Error 1 Unable to find module file 'D:\My Documents\LDT1\Program\LDT1.NET\LDT-Pub01\Setup1\policy_8_0_microsoft_vc80_atl_x86.msm' D:\My Documents\LDT1\Program\LDT1.NET\LDT-Pub01\Setup1\Setup1.vdproj LDT2 Setup
Warning 2 Unable to find manifest signing certificate in the certificate store. Load Deflection Tester
Warning 3 Found conflicts between different versions of the same dependent assembly. Load Deflection Tester
I chalked it up to a version mismatch between MS and DAQmx so I upgraded to DAQmx 9.02. No change. Any clues to why my app won't recognise my hardware any more?
Solved! Go to Solution.
12-08-2009 11:05 AM
One more thing. I did upgrade to .NET framework 3.5.
12-10-2009 01:32 PM
12-10-2009 02:23 PM
Thanks. I wish it was that easy but...... I had installed DAQmx 9.02 like I said in my original post. I may not have rebooted the computer (If it did not require I would not have done it). I rebooted now, opened the project and tried to debug. Instead of 3 messages I now got 2. Don't remember the wording of the first one but it changed some version references in the app.config file. Now I have only one message:
Unable to find manifest signing certificate in the certificate store. Load Deflection Tester
but now it's an error, not just a warning. What's a certificate store and how do I fix it or destroy it so I can have my program back? I really don't care if something is signed or not signed. I need my software.
12-11-2009 08:59 AM
Check out this page entitled, Unable to find manifest signing certificate in the certificate store.
Hope it helps.
Best Regards,
12-12-2009 08:07 AM
Thank you. Now I am making some pogress. The app will compile now. It still has the following warnings:
Warning 1 Referenced assembly 'C:\Program Files\National Instruments\
MeasurementStudioVS2008\DotNET\Assemblies\Current\
NationalInstruments.Common.Native.dll' targets a different processor than
the application. Load Deflection Tester
same warning with:
NationalInstruments.DAQmx.dll
NationalInstruments.UI.Styles3D.dll
NationalInstruments.UI.WindowsForms.dll
NationalInstruments.UI.dll
So I went to references in the solution explorer, deleted the first one and tried to add it again as a reference. I chose the one that had a 35 in the number, asuming that NI intended this to mean framework 3.5. It gave a message that I must reassign the framework to the project as follows:
"Open properties in the project menu... select from the .NET framework dropdown box." (This msg paraphrased as there is no way to copy and paste it.
I can't find this option. Project menu.... the one that starts out "Add Winows Form", "Add User Control", etc. Am I right so far? Bottom of list is "Load Deflection Tester Propoerties". I select it. Within, there are 11 left hand tabs, from "Application" to "Publish". Going through all tabs, I can see nomention of NET framework dropdown box. The only ref to framework is "Enable Application Framwork" with a checkbox.
Can anyone steer me to where this dropdown box actually is?
12-14-2009 09:15 AM
12-14-2009 10:23 AM
12-14-2009 03:23 PM
Walter,
You can take a screenshot from any windows machine by pressing print screen, though the digi cam was more than adequate. You need to right click on your project, go to properties and then under the application tab select the .NET Framework 3.5 under Target Framework.
12-15-2009 07:03 AM
I was excited when I read this answer as I thought that after a week I had this resolved but...... the screen you show does not exist in my software. I am using VS 2008 / MS 8.5 v8.5.0.220 (installed as version for VS2008) / .NET framework 3.5 SP1. I have posted a screen shot of the same page as your shot. There is no reference to "Target Framework". I have gone through every tab in the properties (maybe 3 times) and I can't find it. It it somewhere else in VS2008. Is your screen shot taken from VS2005?