NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code -40 while creating distribution - .NET framework 2.0

Dear Manooch,

 

I encounter the same error on .NET framwork (error -40) during deploy.

 

I tryed before clearing ProductCache also for MDF but the problem persists.

 

I tryed after, as you suggested, repairing DAQmx but the error still persists.

 

Do you have some other suggestions to provide us?

 

Thanks in advance

   Luigi

Luigi Magni (System Engineer - CTA)
0 Kudos
Message 11 of 18
(2,085 Views)

I tried to repair DAQmx and the problems still exist as well.

0 Kudos
Message 12 of 18
(2,073 Views)

I simply tryed to remove the following Manifest file:

  NI .NET Framework 2.0 Language Pack x86 Installer {F8ECD2D6-659C-49EB-8454-5F8F7B526FCF}

from

  C:\Program Files\National Instruments\Shared\MDF\Manifests

 

After I try to repair the MAX installation but the Manifest wasn't reinstalled.

 

In any case no more error (-40) is displayed when I try to deploy and it is completed sucessfuly.

 

I dont think thi is the solution bu in any case the installer (as a result of deploy) seems to works fine, so... Smiley Happy

 

If you have a more correct solution please tell us.

 

Sincerely

Luigi Magni (System Engineer - CTA)
0 Kudos
Message 13 of 18
(2,049 Views)

Ching -

 

Please try the same steps that Luigi performed and see if it resolves the -40 error.

 

Please let me know.

Manooch H.
National Instruments
0 Kudos
Message 14 of 18
(2,043 Views)

I have spent over a week trying to fix this problem.

 

I have rebuilt NI programs several times.

I have deleted all NI programs and reinstalled separately each of the three versions of diskS I have.

I have deleted all NI programs and NI entries in the registry and reinstalled the August 2010 disk set.

I have reformatted my hard drive and reinstalled Developer Suite 2009 Fourth Quarter 2009.

 

None of these unbelievably time consuming processes, have solved this error!

0 Kudos
Message 15 of 18
(1,975 Views)

Well, deleting the file does resolve the error but what does the file really do?  anything?

 

The other errors are due to me installing older version of LabVIEW after newer version have been installed.  LV 8.2.1 RTE would never show up in the TestStand deployment until I uninstalled and reinstalled.  Now there are other errors involving MAX 4.7 which I cannot really uninstall unless I wanted to uninstall every version of LV as well.  However, I think that's my only hope to getting rid of these errors ... sigh

0 Kudos
Message 16 of 18
(1,950 Views)

Hi mheyman,

 

Please try the solution that LuigiM has posted.  It seems to have worked for most in the past:

 

"I simply tryed to remove the following Manifest file: NI .NET Framework 2.0 Language Pack x86 Installer {F8ECD2D6-659C-49EB-8454-5F8F7B526FCF} from C:\Program Files\National Instruments\Shared\MDF\Manifests"

 

You can move the manifest file to a new location, outside of the Manifests directory, instead of deleting it if you feel more comfortable doing that as well.

 

Thanks

Ryan T
National Instruments
Applications Engineer
0 Kudos
Message 17 of 18
(1,924 Views)

Deleting NI .NET Framework 2.0 Language Pack x86 Installer {F8ECD2D6-659C-49EB-8454-5F8F7B526FCF} did resolves the -40 error. At NI suggetion I had previously deleted it and rebuilt which replaced it. That did not work.

 

 

Mark Heyman

0 Kudos
Message 18 of 18
(1,922 Views)