Browsing this Thread:
1 Anonymous Users
Installation of DVTk |
||
|---|---|---|
|
Just popping in
![]()
Joined:
2011/1/4 19:37 Group:
Registered Users Posts:
1
Level : 1; EXP : 0
HP : 0 / 0 MP : 0 / 0 ![]() |
Hi,
I just installed DVT and run DVT.exe. After creating new project file (*.pdvt) I tried to add new session to it. After specifying session type and other parameters when pressing next button I am getting exception inside DvtkApplicationLayer.Session.cctor(): <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'DvtkApplicationLayer.Session' threw an exception. ---> System.BadImageFormatException: Could not load file or assembly 'DVTKManagedCodeAdapter, Version=3.0.2.0, Culture=neutral, PublicKeyToken=5166403a8245d5cb' or one of its dependencies. An attempt was made to load a program with an incorrect format. File name: 'DVTKManagedCodeAdapter, Version=3.0.2.0, Culture=neutral, PublicKeyToken=5166403a8245d5cb' at Dvtk.Setup.Initialize() at DvtkApplicationLayer.Session..cctor() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at DvtkApplicationLayer.Session..ctor() at DvtkApplicationLayer.ScriptSession..ctor(String fileName) at Dvt.WizardNew.ButtonNext_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4206 (VistaSP2GDR.050727-4200) CodeBase: file:///C:/Windows/Microsoft.NET/Fram ... 4/v2.0.50727/mscorlib.dll ---------------------------------------- DVT Assembly Version: 2.4.6.0 Win32 Version: 2.4.6.0 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DVT.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... /System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4205 (VistaSP2GDR.050727-4200) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... 7a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... d50a3a/System.Drawing.dll ---------------------------------------- DvtkApplicationLayer Assembly Version: 3.0.2.0 Win32 Version: 3.0.2.0 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DvtkApplicationLayer.DLL ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... 561934e089/System.Xml.dll ---------------------------------------- DVTK Assembly Version: 3.0.2.0 Win32 Version: 3.0.2.0 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DVTK.DLL ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Micro ... 0a3a/Microsoft.mshtml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (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: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< My environments: 64-bits Vista, DVT 2.4.6, .NET/CLR 3.5, VS2008, SDK for Windows 7. The exception happens for any type of session. I also installed DCMViewer with definitions. When run DCMViewr.exe I got: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Please contact the administrator with the following information: Executable name: C:\Program Files (x86)\DVTk\DCM Viewer and Validator\DCMViewer.exe Error type: System.BadImageFormatException Error description: Could not load file or assembly 'DVTKManagedCodeAdapter, Version=2.3.0.5, Culture=neutral, PublicKeyToken=5166403a8245d5cb' or one of its dependencies. An attempt was made to load a program with an incorrect format. Stack Trace: at Dvtk.Setup.Initialize() at DCMViewer.DCMViewer.Main() Assembly information: mscorlib (2.0.0.0) DCMViewer (3.1.0.0) System.Windows.Forms (2.0.0.0) System (2.0.0.0) System.Drawing (2.0.0.0) DvtkApplicationLayer (2.3.0.5) DVTK (2.3.0.5) System.Xml (2.0.0.0) The OS version of the host computer is: Microsoft Windows NT 6.0.6002 Service Pack 2 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Posted on: 2011/1/4 19:52
|
|
Transfer
|
||
Re: Installation of DVTk |
||
|---|---|---|
|
Core Team Member
![]()
Joined:
2009/8/24 14:14 Group:
Webmasters Registered Users Core Developers Posts:
34
Level : 4; EXP : 59
HP : 0 / 89 MP : 11 / 982 ![]() |
Hi,
This was an issue with DVT 2.4.6. The issue has been fixed in the latest version.We will be making a formal release of the latest version very soon.
Posted on: 2011/2/10 6:59
|
|
Transfer
|
||
Re: Installation of DVTk |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
2011/2/16 12:42 Group:
Registered Users Posts:
10
Level : 2; EXP : 0
HP : 0 / 25 MP : 3 / 165 ![]() |
Hi All,
Still the problem exists. i have installed the latest version 2.6.0.1. I am getting the following error message. My machine is running on Windows7 64 bit OS. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentNullException: Value cannot be null. at Dvtk.Sessions.Session.set_DataDirectory(String value) at DvtkApplicationLayer.Session.SetAllProperties() at DvtkApplicationLayer.ScriptSession.SetAllProperties() at DvtkApplicationLayer.ScriptSession.Save() at Dvt.WizardNew.ButtonNext_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- DVT Assembly Version: 2.6.0.1 Win32 Version: 2.6.0.1 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DVT.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... /System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... 7a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... d50a3a/System.Drawing.dll ---------------------------------------- DvtkApplicationLayer Assembly Version: 3.1.0.2 Win32 Version: 3.1.0.2 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DvtkApplicationLayer.DLL ---------------------------------------- DVTK Assembly Version: 3.1.0.2 Win32 Version: 3.1.0.2 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DVTK.DLL ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ ... 561934e089/System.Xml.dll ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Micro ... 0a3a/Microsoft.mshtml.dll ---------------------------------------- DVTKManagedCodeAdapter Assembly Version: 3.1.0.2 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DVTKManagedCodeAdapter.DLL ---------------------------------------- msvcm80 Assembly Version: 8.0.50727.4927 Win32 Version: 8.00.50727.4927 CodeBase: file:///C:/Windows/WinSxS/x86_microso ... a205e442db5b5/msvcm80.dll ---------------------------------------- DvtkData Assembly Version: 3.1.0.2 Win32 Version: 3.1.0.2 CodeBase: file:///C:/Program%20Files%20(x86)/DVTk/DVT/Bin/DvtkData.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. Any help is appreciated. Thanks in advance. Regards Raghav
Posted on: 2011/3/9 7:07
|
|
Transfer
|
||
Re: Installation of DVTk |
||
|---|---|---|
|
Core Team Member
![]()
Joined:
2009/8/24 14:14 Group:
Webmasters Registered Users Core Developers Posts:
34
Level : 4; EXP : 59
HP : 0 / 89 MP : 11 / 982 ![]() |
Please try using Ver 2.6.6.This is the latest stable release.The issue has been fixed in this.
Posted on: 2011/3/16 14:12
|
|
Transfer
|
||
Re: Installation of DVTk |
||
|---|---|---|
|
Just popping in
![]()
Joined:
2011/3/17 21:35 From Tampa Bay
Group:
Registered Users Posts:
1
Level : 1; EXP : 0
HP : 0 / 0 MP : 0 / 0 ![]() |
I think I remember having the same problem with the older version too. Could the problem be the 64bit version? I had 64 bit too. Btw, how exactly does one enable just-in-time debugging?
Posted on: 2011/3/17 21:44
|
|
Transfer
|
||
Re: Installation of DVTk |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2006/10/12 14:45 From Best, Netherlands
Group:
Webmasters Registered Users Core Developers Content Owners Posts:
259
Level : 15; EXP : 5
HP : 0 / 351 MP : 86 / 6785 ![]() |
The new versions released (DVT 2.6.6) are ready for use on 64 bit Windows. The issue was indeed because of the 64 bit.
Posted on: 2011/3/23 8:24
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.





Transfer


