Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Other problem Deploying App

Yes, the first App use NationalInstruments.Analysis.Enterprise.dll library. I should copy Analysis.dll .

It must be a stupid cuestion, but How can I know what libraries I need?. If I use an object from some National Instruments library I should copy that library with my App.exe file, Isn't it?

About the 4 App, I don't know what is a stack trace... I give you some information:

-------------------------------------

system.windows.forms.dll!System.Windows.Forms.AxHost.CreateInstance() + 0x99 bytes
system.windows.forms.dll!System.Windows.Forms.AxHost.GetOcxCreate() + 0x14 bytes
system.windows.forms.dll!System.Windows.Forms.AxHost.TransitionUpTo(int state) + 0xa1 bytes
system.windows.forms.dll!System.Windows.Forms.AxHost.CreateHandle() + 0x23 bytes
system.windows.forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x90 bytes
system.windows.forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x13f bytes
system.windows.forms.dll!System.Windows.Forms.AxHost.EndInit() + 0x2c bytes
Prueba 54.exe!Prueba_54.Form1.InitializeComponent() + 0xad9 bytes
Prueba 54.exe!Prueba_54.Form1.Form1() + 0x28 bytes
Prueba 54.exe!Prueba_54.Form1.Main() + 0x18 bytes


DEBUG:-------------------------------------

se carg�=load
No se pueden cargar s�mbolos=Symbols can't be loaded

'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\Prueba 54.exe', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\ntdll.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\mscoree.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\kernel32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\advapi32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\rpcrt4.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\shlwapi.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\msvcrt.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\gdi32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\user32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll', S�mbolos cargados.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\shell32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a\comctl32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\comctl32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\mscorlib\1.0.5000.0__b77a5c561934e089_7b162370\mscorlib.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorsn.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\ole32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\uxtheme.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Archivos de programa\Panda Software\Panda Platinum Internet Security\pavoepl.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Archivos de programa\Panda Software\Panda Platinum Internet Security\StoreMan.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\shfolder.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\GAC\System.Windows.Forms\1.0.5000.0__b77a5c561934e089\System.Windows.Forms.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System.Windows.Forms\1.0.5000.0__b77a5c561934e089_c3e87c60\System.Windows.Forms.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\GAC\System\1.0.5000.0__b77a5c561934e089\System.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System\1.0.5000.0__b77a5c561934e089_b35962ad\System.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorjit.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\diasymreader.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\GAC\System.Drawing\1.0.5000.0__b03f5f7f11d50a3a\System.Drawing.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System.Drawing\1.0.5000.0__b03f5f7f11d50a3a_ea6d32a4\System.Drawing.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\AxInterop.CWUIControlsLib.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\rsaenh.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\NationalInstruments.UI.WindowsForms.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorsec.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\wintrust.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\crypt32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\msasn1.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\imagehlp.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\softpub.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\version.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\userenv.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\secur32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\netapi32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\cryptnet.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\wldap32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\wininet.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\oleaut32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\rasapi32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\rasman.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\ws2_32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\ws2help.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\tapi32.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\rtutils.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\winmm.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\sensapi.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\NationalInstruments.UI.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\NationalInstruments.Common.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13\GdiPlus.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\GAC\System.Xml\1.0.5000.0__b77a5c561934e089\System.Xml.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System.Xml\1.0.5000.0__b77a5c561934e089_a4497f5b\System.Xml.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\clbcatq.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\system32\comres.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\WINDOWS\assembly\GAC\mscorlib.resources\1.0.5000.0_es_b77a5c561934e089\Mscorlib.Resources.dll', No se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'C:\Documents and Settings\Administrador\Escritorio\Nueva carpeta\Prueba 54.exe', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\documents and settings\administrador\escritorio\nueva carpeta\axinterop.cwuicontrolslib.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\documents and settings\administrador\escritorio\nueva carpeta\nationalinstruments.ui.windowsforms.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\documents and settings\administrador\escritorio\nueva carpeta\nationalinstruments.ui.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\documents and settings\administrador\escritorio\nueva carpeta\nationalinstruments.common.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', no se pueden cargar s�mbolos.
'Prueba 54.exe': se carg� 'c:\windows\assembly\gac\mscorlib.resources\1.0.5000.0_es_b77a5c561934e089\mscorlib.resources.dll', no se pueden cargar s�mbolos.

El subproceso (subprocess) 'Subproceso Win32' (0xda0) termin� con c�digo (end with code) 0 (0x0).
Excepci�n no controlada del tipo (not controled exception) 'System.Runtime.InteropServices.COMException' en system.windows.forms.dll

Informaci�n adicional (aditional info): Clase no registrada (class not registered)

El subproceso (subprocess) 'Subproceso Win32' (0xc7c) termin� con c�digo (end with code) 0 (0x0).
----------------------------------------------

In this App I used components of Measurement Studio C++ Class library. I think this classes may be the cause of the exception but I don't known either how or why. Actually this problem isn't that important.

Thanks re-again,

Kiko Llaneras.
0 Kudos
Message 11 of 23
(3,854 Views)
"How can I know what libraries I need?. If I use an object from some National Instruments library I should copy that library with my App.exe file, Isn't it?"

It can be difficult to know what to copy if you want to deploy your application via xcopy deployment. The recommended solution is to use Visual Studio .NET setup projects with your application and let Visual Studio .NET determine what merge modules to include with your installer based on what your application is using. The Measurement Studio merge modules include dependency .dll's as well as the assemblies. You can read more about the Measurement Studio merge modules in the "Distributing Measurement Studio .NET Applications" topic in the Me
asurement Studio reference. If you have Measurement Studio 7.1 installed, this link will take you directly to the topic.

"About the 4 App, I don't know what is a stack trace... I give you some information"

The first part (up to DUBUG:) of what you posted is the stack trace. The exception is originating from System.Windows.Forms.AxHost.CreateInstance. AxHost is the base class for ActiveX interop control wrapper classes. What ActiveX control are you using in your application? Is it one of the Measurement Studio ActiveX controls?

- Elton
0 Kudos
Message 12 of 23
(3,854 Views)
I have tried to use Visual Studio dotNET setup project, but as I explained in this post I get an error. I can execute the setup, but when it is installing files I get an error 2920 (about a source file not found, but I don't known which one). I have read "Distributing Measurement Studio .NET Applications"

"How Do I Distribute a .NET Application that Contains Measurement
Studio Controls?"

"Deploying Measurement Studio .NET applications that use User Interface
controls with 3D Styles."

I have included the programfilefolder in my setup project (as "How Do I Distribute..." explain), and I don't use 3D Styles.

I will work on it now. I think that I need some merge module that isn't working w
ell or that Visual Studio don't detect automaticly. But I don't know the problematic merge module, and what can I do to resolve the problem.



About 4 App,

Yes, I am using ActiveX control from Measurement Studio : axCWSlide and axCWKnob.

Thanks,

Kiko Llaneras
0 Kudos
Message 13 of 23
(3,854 Views)
It might be faster if you could call in to our Applications Engineers by using the phone NI option on this link. There might be something that's missing and posting seems to be taking a while.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 14 of 23
(3,852 Views)
Which version of Measurement Studio are you using? Measurement Studio 7.1 includes native Windows Forms .NET slide and knob controls. For more info about Measurement Studio 7.1, see What's New in Measurement Studio 7.1. If you already have Measurement Studio 7.1, is there a reason why you're using the ActiveX slide and knob controls via COM interop rather than the Windows Forms slide and knob controls?

- Elton
0 Kudos
Message 15 of 23
(3,852 Views)
I am using Measurement Studio 7.0 , we have a Campus license and the last version of NI software release is Spring 2004. I think that we have Labview 7.1 but only Measurement Studio 7, is it posible?.

I hope to get Measurement Studio 7.1 with fall 2004 release.
0 Kudos
Message 16 of 23
(3,852 Views)
Yes, that's possible. LabVIEW 7.1 was released last spring and Measurement Studio 7.1 was released in August. Hopefully the Fall 2004 release will have Measurement Studio 7.1.

- Elton
0 Kudos
Message 17 of 23
(3,852 Views)
Good News!!!

¡All the apps are running well now!

I have generate setup projects for all the Apps. I have had a lot of problems before, because when I tried to run the setup executables I get an error 2920. This error appears when I include in the application a reference to NationalInstruments.datasocket, If I remove this reference the error 2920 desappears.

The exception about COMinterop doesn't appear now, when I am using a setup project for deployment.

At the moment I don't need the NationalInstruments.datasocket library, if I need it in future I will try to resolve the problem.

The weekend would be better with the problems resolved.

Thanks agai
n for ALL your help,

pd: Do you think that wait fall 2004 (for MS 7.1) would be better than use ActiveX control and COMinterop?

Kiko llaneras.
0 Kudos
Message 18 of 23
(3,852 Views)
There is a KB that describes a problem with the datasocket msms that were shipped with Measurement Studio 7.1. It has the updated msms you can you, in case you need to deploy datasocket applications.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 19 of 23
(3,853 Views)
How about the Setup problems with DataSocketServer.msm in 7.0. Will these msm's solve that too?

BR
Jens Olsson
0 Kudos
Message 20 of 23
(3,833 Views)