PDA

Vollständige Version anzeigen : Installtion eines VB.Net Programms -> ?


Butterbroot
15.06.2004, 15:49
Hallo zusammen

Ich habe ein lauffähiges Programm, dass ich nun anderen Usern zu verfügung stellen möchte. Jedoch erscheint dabei eine riiiiiisige FM.

Kann mir jemand sagen was ich bei der "Installation" eines VB.Net-Tools beachten muss?



PS: Das Tool verbindet sich mit einer AD und holt darus User- und Gruppeninfos. (Dazu brauchte ich zusätzlich noch die ActiveDS zu importieren)

FM:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name Interop.ActiveDs, or one of its dependencies, was not found.
File name: "Interop.ActiveDs"
at GetInfo.frmGetInfo.getRootDSE()
at GetInfo.frmGetInfo.frmGetInfo_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: DisplayName = Interop.ActiveDs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = C:\Data\Profiles\a371630\Desktop\
LOG: Initial PrivatePath = NULL
Calling assembly : GetInfo, Version=1.0.1627.15055, Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.ActiveDs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Data/Profiles/a371630/Desktop/Interop.ActiveDs.DLL.
LOG: Attempting download of new URL file:///C:/Data/Profiles/a371630/Desktop/Interop.ActiveDs/Interop.ActiveDs.DLL.
LOG: Attempting download of new URL file:///C:/Data/Profiles/a371630/Desktop/Interop.ActiveDs.EXE.
LOG: Attempting download of new URL file:///C:/Data/Profiles/a371630/Desktop/Interop.ActiveDs/Interop.ActiveDs.EXE.



************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/os/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
GetInfo
Assembly Version: 1.0.1627.15055
Win32 Version: 1.0.1627.15055
CodeBase: file:///C:/Data/Profiles/a371630/Desktop/GetInfo.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/os/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/os/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/os/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/os/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
ADODB
Assembly Version: 7.0.3300.0
Win32 Version: 7.10.2346
CodeBase: file:///c:/os/assembly/gac/adodb/7.0.3300.0__b03f5f7f11d50a3a/adodb.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Sven Gebien
17.06.2004, 10:19
Hallo Butterbrot,

ist das dotnet Framework auf den Zielmaschinen installiert?

http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en