rolandd Posted October 10, 2005 Posted October 10, 2005 Hello, Not sure if this is the place but I just upgraded to v2.5 Beta 3 and when working on a 3 layer file I received this crash: Crash log for Paint.NET v2.5 (Beta 3 Release build 2.5.2108.39014) Time of crash: 10-10-2005 11:29:47 OS version: 5.1.2600.0 .NET Framework version: 1.1.4322.2032 Exception details: System.IO.FileLoadException: The located assembly's manifest definition with name 'Interop.WIA' does not match the assembly reference. File name: "Interop.WIA" at PaintDotNet.SystemLayer.ScanningAndPrinting.IsWia2Available() at PaintDotNet.SystemLayer.ScanningAndPrinting.get_IsComponentAvailable() at PaintDotNet.MainForm.menuFileAcquire_Popup(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnPopup(EventArgs e) at System.Windows.Forms.MenuItem.OnInitMenuPopup(EventArgs e) at System.Windows.Forms.MenuItem._OnInitMenuPopup(EventArgs e) at System.Windows.Forms.Menu.ProcessInitMenuPopup(IntPtr handle) at System.Windows.Forms.Form.WmInitMenuPopup(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at PaintDotNet.PdnBaseForm.OurWndProc(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) at PaintDotNet.MainForm.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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=85cad16301864386 (Fully-specified) LOG: Appbase = D:\Program Files\Paint.NET\ LOG: Initial PrivatePath = NULL Calling assembly : PaintDotNet.SystemLayer, Version=2.5.2108.39007, Culture=neutral, PublicKeyToken=85cad16301864386. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: Post-policy reference: Interop.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=85cad16301864386 LOG: Attempting download of new URL file:///D:/Program Files/Paint.NET/Interop.WIA.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN Something I need to do, or something you need to do :?: Let me note that I saved the file with Beta 2. When opened with Beta 3, I received a message that the file was previously written with an older version. The version numbers are the same since it doesn't display the beta release part. I am running Windows XP SP2 Thanks for the help. RolandD Edit: I am having one after another crash on this version. Here the log when I tried to print the image: Crash log for Paint.NET v2.5 (Beta 3 Release build 2.5.2108.39014) Time of crash: 10-10-2005 12:07:15 OS version: 5.1.2600.0 .NET Framework version: 1.1.4322.2032 Exception details: System.IO.FileLoadException: The located assembly's manifest definition with name 'Interop.WIA' does not match the assembly reference. File name: "Interop.WIA" at PaintDotNet.SystemLayer.ScanningAndPrinting.IsWia2Available() at PaintDotNet.SystemLayer.ScanningAndPrinting.get_CanPrint() at PaintDotNet.MainForm.menuFilePrint_Click(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.MenuItemData.Execute() at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Control.WmCommand(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.WndProc(Message& m) at PaintDotNet.PdnBaseForm.OurWndProc(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) at PaintDotNet.MainForm.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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=85cad16301864386 (Fully-specified) LOG: Appbase = D:\Program Files\Paint.NET\ LOG: Initial PrivatePath = NULL Calling assembly : PaintDotNet.SystemLayer, Version=2.5.2108.39007, Culture=neutral, PublicKeyToken=85cad16301864386. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: Post-policy reference: Interop.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=85cad16301864386 LOG: Attempting download of new URL file:///D:/Program Files/Paint.NET/Interop.WIA.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN Update: Going to print always results in a crash. Sometimes just clicking on File, causes a crash. Quote
Rick Brewster Posted October 10, 2005 Posted October 10, 2005 It seems Interop.WIA.dll may not have updated. Can you try this for me? 1. Uninstall Paint.NET 2. Make sure that Interop.WIA.dll is *not* left in the installation directory 3. Re-install Paint.NET Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
rolandd Posted October 10, 2005 Author Posted October 10, 2005 Hey Rick, Thanks for the reply. I have done as you said, and the crash no longer occurs when I go to print. As for crashing while working I will have to see later. The print was the best check I think. As to what is left in the installation folder, there are a lot of files left including the Interop.WIA.dll. So after uninstalling I renamed the old folder to old. Then did a clean install. As said earlier, all is working for me. Thanks. If you are interested in which files are left behind, I can sent you a list. Regards, RolandD Quote
rolandd Posted November 3, 2005 Author Posted November 3, 2005 Same happens with the latest beta 5 release. Here is the logfile: Crash log for Paint.NET v2.5 (Beta 5 Release build 2.5.2129.31201) Time of crash: 1-11-2005 19:14:52 OS version: 5.1.2600.0 .NET Framework version: 1.1.4322.2032 Exception details: System.IO.FileLoadException: The located assembly's manifest definition with name 'Interop.WIA' does not match the assembly reference. File name: "Interop.WIA" at PaintDotNet.SystemLayer.ScanningAndPrinting.IsWia2Available() at PaintDotNet.SystemLayer.ScanningAndPrinting.get_IsComponentAvailable() at PaintDotNet.MainForm.menuFileAcquire_Popup(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnPopup(EventArgs e) at System.Windows.Forms.MenuItem.OnInitMenuPopup(EventArgs e) at System.Windows.Forms.MenuItem._OnInitMenuPopup(EventArgs e) at System.Windows.Forms.Menu.ProcessInitMenuPopup(IntPtr handle) at System.Windows.Forms.Form.WmInitMenuPopup(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at PaintDotNet.PdnBaseForm.OurWndProc(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) at PaintDotNet.MainForm.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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = D:\Program Files\Paint.NET\ LOG: Initial PrivatePath = NULL Calling assembly : PaintDotNet.SystemLayer, Version=2.5.2129.31197, 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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null LOG: Attempting download of new URL file:///D:/Program Files/Paint.NET/Interop.WIA.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN ------------------------------------------------------------------------------ Crash log for Paint.NET v2.5 (Beta 5 Release build 2.5.2129.31201) Time of crash: 1-11-2005 19:15:05 OS version: 5.1.2600.0 .NET Framework version: 1.1.4322.2032 Exception details: System.IO.FileLoadException: The located assembly's manifest definition with name 'Interop.WIA' does not match the assembly reference. File name: "Interop.WIA" at PaintDotNet.SystemLayer.ScanningAndPrinting.IsWia2Available() at PaintDotNet.SystemLayer.ScanningAndPrinting.get_IsComponentAvailable() at PaintDotNet.MainForm.menuFileAcquire_Popup(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnPopup(EventArgs e) at System.Windows.Forms.MenuItem.OnInitMenuPopup(EventArgs e) at System.Windows.Forms.MenuItem._OnInitMenuPopup(EventArgs e) at System.Windows.Forms.Menu.ProcessInitMenuPopup(IntPtr handle) at System.Windows.Forms.Form.WmInitMenuPopup(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at PaintDotNet.PdnBaseForm.OurWndProc(Message& m) at PaintDotNet.PdnBaseForm.WndProc(Message& m) at PaintDotNet.MainForm.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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = D:\Program Files\Paint.NET\ LOG: Initial PrivatePath = NULL Calling assembly : PaintDotNet.SystemLayer, Version=2.5.2129.31197, 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.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null LOG: Attempting download of new URL file:///D:/Program Files/Paint.NET/Interop.WIA.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN ------------------------------------------------------------------------------ Did the same as before, renamed the old folder. Installed from the downloaded version as opposed to the builtin update. All is fine now. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.