Search 
Register   Login Monday, January 05, 2009
 
  Forum  My Photo Index ...  Bug reports  Unhandled exception
Previous Previous
 
Next Next
New Post 10/26/2007 10:13 PM
User is offline racer1028
2 posts
No Ranking


Unhandled exception 

I am receiving an "unhandled exception" "parameter is not valid" error on program start up.  I can click continue but images will not be imported. Below is the eror report.

 

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

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
   at System.Drawing.Bitmap..ctor(Image original, Size newSize)
   at MyPhotoIndex.Controls.Thumbnail.DrawImage(Graphics graphics, Boolean selected, ThumbnailSelectionMethod selectionMethod, Boolean showInfoIcons, Boolean showDetails)
   at MyPhotoIndex.Controls.MyPhotoIndexThumbnailViewer.DrawOneImage(Graphics graphics, Int32 imageId)
   at MyPhotoIndex.Controls.MyPhotoIndexThumbnailViewer.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.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.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MyPhotoIndex
    Assembly Version: 1.0.0.14
    Win32 Version: 1.0.0.14
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MyPhotoIndex.Utilities
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Utilities.DLL
----------------------------------------
MyPhotoIndex.Plugins.Manager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Plugins.Manager.DLL
----------------------------------------
MyPhotoIndex.Plugins.Interfaces
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Plugins.Interfaces.DLL
----------------------------------------
MyPhotoIndex.ImageBank
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.ImageBank.DLL
----------------------------------------
MyPhotoIndex.DataAccess
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.DataAccess.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
FlickrNet
    Assembly Version: 2.1.3.20001
    Win32 Version: 2.1.3.20001
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/FlickrNet.DLL
----------------------------------------
MyPhotoIndex.Plugins.Printing
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Printing.DLL
----------------------------------------
MyPhotoIndex.Plugins.Share.Flickr
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.Share.Flickr.DLL
----------------------------------------
MyPhotoIndex.Plugins.share.OutlookExpress
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Plugins/MyPhotoIndex.Plugins.share.OutlookExpress.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
p1pmnlnz
    Assembly Version: 1.0.0.14
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
MyPhotoIndex.Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Controls.DLL
----------------------------------------
MyPhotoIndex.Importer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.Importer.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
ndeqp5oy
    Assembly Version: 1.0.0.14
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
amgnhuo-
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
MyPhotoIndex.ImageCache
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/MyPhotoIndex.ImageCache.DLL
----------------------------------------
MyPhotoIndex.Plugins.ImageFormatProviders
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Providers/MyPhotoIndex.Plugins.ImageFormatProviders.DLL
----------------------------------------
MyPhotoIndex.Plugins.ImageFormatProviders.Raw
    Assembly Version: 1.0.0.0
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MyPhotoIndex/My%20Photo%20Index/Providers/MyPhotoIndex.Plugins.ImageFormatProviders.Raw.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.762
    Win32 Version: 8.00.50727.762
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.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:

<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 computer
rather than be handled by this dialog box.

 

 

 
New Post 10/27/2007 6:08 AM
User is offline Asaf
145 posts
www.myphotoindex.com
5th Level Poster


Re: Unhandled exception 

Hi racer1028

Sorry for the inconvenience, I will improve the error handling in that area so it Will not crush the application, the new version should be out soon.

have you been able to import images to the application before this had happen?

Is it possible for you to send me the following files:

C:\Documents and Settings\user\Local Settings\Application Data\MyPhotoIndex\Data\MyPhotoIndex.mdb

C:\Documents and Settings\user\Local Settings\Application Data\MyPhotoIndex\Data\MyPhotoIndex.icf

In order to try and resolve this issue can you please try and delete the following file:

C:\Documents and Settings\user\Local Settings\Application Data\MyPhotoIndex\Data\MyPhotoIndex.icf

Regards,

Asaf.

 
New Post 10/27/2007 12:54 PM
User is offline Asaf
145 posts
www.myphotoindex.com
5th Level Poster


Re: Unhandled exception 
Modified By Asaf  on 10/27/2007 12:52:44 PM)

Thanx for the file, I'll check it out.

I've uploaded a  newer version 1.15(beta)

Would it be possible for you to download this version and see if it resolves the issue?

You can download it from the registered users download section(at the bottom of the download page)

Just another Q : Have you used the full computer image import?

Regards,

Asaf

 
New Post 10/27/2007 4:55 PM
User is offline Asaf
145 posts
www.myphotoindex.com
5th Level Poster


Re: Unhandled exception 

Looks like a bad image (probably coming from one of the system folders).

the easiest way to resolve this would be deleting the index files:

> C:\Documents and Settings\user\Local Settings\Application
> Data\MyPhotoIndex\Data\MyPhotoIndex.mdb
>
> C:\Documents and Settings\user\Local Settings\Application
> Data\MyPhotoIndex\Data\MyPhotoIndex.icf

and copy a new index db file from:C:\Program Files\MyPhotoIndex\My Photo Index\Data\MyPhotoIndex.mdb 

To:

C:\Documents and Settings\user\Local Settings\Application Data\MyPhotoIndex\Data\

After that I would currently recommend using the selective folder import (instead of the full computer import).

Can you please send me the following Log file from C:\Documents and Settings\user\Local Settings\Application\ Data\MyPhotoIndex\myPhotoIndexLog.txt

Again,

I am very sorry for this and thank you for your help in trying to resolve this.

Asaf.

 
New Post 10/27/2007 8:37 PM
User is offline racer1028
2 posts
No Ranking


Re: Unhandled exception 

Deleting the index files did the trick.  The app is up and running.  Thanks again.

 
Previous Previous
 
Next Next
  Forum  My Photo Index ...  Bug reports  Unhandled exception
 
MembershipMembership:
Latest New UserLatest:mishka
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:235

 
del.icio.us del.icio.us | digg digg | technorati technorati | reddit reddit | stumbleupon stumbleupon | facebook facebook | live live
Copyright 2008 by My Photo Index - the free photo organizer