Jump to content

Paint.net 3.0 Beta 1 crashes during startup on TabletPC


Recommended Posts

I can't run PDN on my TabletPC. It crashes with error

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.0 (Beta 1 Release build 3.0.2525.34975)
Time of crash: 01.12.2006 11:09:08
Application uptime: 00:00:00.6409216
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x Intel(R) Pentium(R) M processor 1.80GHz
Physical memory: 1023 MB
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: lv-LV, cuic: en-US

Exception details:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Ink, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Ink, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
  at PaintDotNet.StylusReader.HookStylus(IStylusReaderHooks subject, Control control)
  at PaintDotNet.SystemLayer.Ink.HookInk(IInkHooks subject, Control control)
  at PaintDotNet.DocumentView.HookMouseEvents(Control c)
  at PaintDotNet.DocumentView.OnLoad(EventArgs e)
  at PaintDotNet.DocumentWorkspace.OnLoad(EventArgs e)
  at System.Windows.Forms.UserControl.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.UserControl.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)

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].

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

[/code]

Link to comment
Share on other sites

exactly the same error here.

I found "Microsoft.Ink.dll" (version 1.0.2201.0) in the following directories on my tablet PC:

C:\Program Files\Common Files\Microsoft Shared\INK\1.7

C:\Program Files\Common Files\Microsoft Shared\INK

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.0 (Beta 1 Release build 3.0.2525.34975)
Time of crash: 01.12.06 19:53:31
Application uptime: 00:00:08.5122400
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x Intel(R) Pentium(R) M processor 2.00GHz
Physical memory: 1015 MB
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US

Exception details:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Ink, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Ink, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
  at PaintDotNet.StylusReader.HookStylus(IStylusReaderHooks subject, Control control)
  at PaintDotNet.SystemLayer.Ink.HookInk(IInkHooks subject, Control control)
  at PaintDotNet.DocumentView.HookMouseEvents(Control c)
  at PaintDotNet.DocumentView.OnLoad(EventArgs e)
  at PaintDotNet.DocumentWorkspace.OnLoad(EventArgs e)
  at System.Windows.Forms.UserControl.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.UserControl.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)

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].

OS Name Microsoft Windows XP Professional

Version 5.1.2600 Service Pack 2 Build 2600

OS Manufacturer Microsoft Corporation

System Manufacturer Hewlett-Packard

System Model HP Compaq tc4200

System Type X86-based PC

Processor x86 Family 6 Model 13 Stepping 8 GenuineIntel ~1994 Mhz

BIOS Version/Date Hewlett-Packard 68DTH Ver. F.0C, 19.07.06

SMBIOS Version 2.3

Windows Directory C:\WINDOWS

System Directory C:\WINDOWS\system32

Boot Device \Device\HarddiskVolume1

Locale United States

Hardware Abstraction Layer Version = "5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"

Total Physical Memory 1'024.00 MB

Available Physical Memory 241.45 MB

Total Virtual Memory 2.00 GB

Available Virtual Memory 1.96 GB

Page File Space 1.64 GB

Page File C:\pagefile.sys

Link to comment
Share on other sites

Ok I've figured out the cause of this. In our code we try to load version 1.7 of Microsoft.Ink.DLL as part of detecting whether ink is available or not. This is the version that is present on Windows XP Tablet PC Edition. However, I've started doing all my development and build work on Windows Vista Ultimate Edition which comes with version 6.0.0.0 of this DLL -- which is why in the crash log you see it complaining about that specific version. So, when Beta 1 was being compiled, it grabbed the versioning information from the MS.Ink.DLL that is present on my system and embedded that requirement into PaintDotNet.SystemLayer.dll.

So, in the short term 3.0 Beta 1 just won't work on XP Tablet PC Edition. The next release will.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I have posted a workaround here, http://paintdotnet.12.forumer.com/viewtopic.php?p=17876 . It is a small ZIP file with a new version of the StylusReader DLL that will allow Paint.NET to work.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...