Search  
Register   Login Thursday, August 13, 2020
 
ForumForumMy Photo Index ...My Photo Index ...Bug reportsBug reportsCrash on LoadCrash on Load
Previous Previous
 
Next Next
New Post
 8/9/2009 1:10 PM
 

Like others, I am having troubles with My Photo Index crashing on load.
The program will load up and ask if I'd like a new or existing database file.  After choosing a file, it will think for a moment, then give me a JIT error, and ask if I'd like to continue or quit.  If I continue, I can still use the menus, but when I try to import, it gives me another error at the "Let us help you tag your images" part.  Finally, when I hit import, it will go through all my images, then give me a third error and freeze without closing the import dialog.

My System
HP Pavilion 9720us laptop
Windows XP Pro SP3
.Net Framework 3.5 SP1
OS, drivers, and .Net framework all completely updated.

Attempted Solutions

  1. Redownload My Photo Index and reinstall.  Same problem.
  2. Uninstall .Net Framework 2.  Won't let me, says some programs still need it.
  3. Reinstall .Net Framework 2.  Won't let me, crashes.
  4. Reinstall .Net Framework 3.5 SP1.  Reinstalled just fine, same problem.
  5. Install the MDAC.  Won't let me, says it's "included with this version of Windows."  Also, running the "Microsoft Component Checker" says it's installed just fine.
  6. Install the Microsoft SQL Server Native Client.  Same problem.

Error Messages

Error 1:
System.InvalidOperationException: The .Net Framework Data Providers require Microsoft Data Access Components(MDAC).  Please install Microsoft Data Access Components(MDAC) version 2.6 or later. ---> System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 8007007e.
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Data.OleDb.OleDbConnectionInternal.CreateInstanceDataLinks()
   at System.Data.OleDb.OleDbConnectionInternal.GetObjectPool()
   --- End of inner exception stack trace ---
   at System.Data.OleDb.OleDbConnectionInternal.GetObjectPool()
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at MyPhotoIndex.DataAccess.MSAccessDataProvider.Connect(String dbPath)
   at MyPhotoIndex.Main.ConnectToPhotoIndex(String path)

Error 2:
System.NullReferenceException: Object reference not set to an instance of an object.
   at MyPhotoIndex.ImageBank.ImageTagCollection.get_Tags()
   at MyPhotoIndex.Wizards.Import.ImageFilesImportWizard.BuildExistingTagsList()
   at MyPhotoIndex.Wizards.Import.ImageFilesImportWizard.ImageFilesImportWizard_PageNumberChengedEvent(Object sender, PageNumberChangedEventArgs e)
   at MyPhotoIndex.Controls.WizardHost.NextButtonClick(Object sender, EventArgs e)
   at MyPhotoIndex.Wizards.Import.ImageFilesImportWizard.NextButtonClick(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)

Error 3:
System.InvalidOperationException: The .Net Framework Data Providers require Microsoft Data Access Components(MDAC).  Please install Microsoft Data Access Components(MDAC) version 2.6 or later. ---> System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 8007007e.
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Data.OleDb.OleDbConnectionInternal.CreateInstanceDataLinks()
   at System.Data.OleDb.OleDbConnectionInternal.GetObjectPool()
   --- End of inner exception stack trace ---
   at System.Data.OleDb.OleDbConnectionInternal.GetObjectPool()
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at MyPhotoIndex.DataAccess.MSAccessDataProvider.GetImageTags()
   at MyPhotoIndex.ImageBank.ImageTagCollection.get_Tags()
   at MyPhotoIndex.ImageBank.ImageTagCollection.Load(ITagsDataAccessProvider dataAccessProvider)
   at MyPhotoIndex.Wizards.Import.ImageFilesImportWizard.ImageFilesImportWizard_WizardFinishedEvent(Object sender, EventArgs e)
   at MyPhotoIndex.Controls.WizardHost.NextButtonClick(Object sender, EventArgs e)
   at MyPhotoIndex.Wizards.Import.ImageFilesImportWizard.NextButtonClick(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)

New Post
 8/9/2009 1:51 PM
 

Hi,

Thank you for trying to help me resolve this issue,

Can you please check what is entered under the following registry key(default): 'HKEY_CLASSES_ROOT\CLSID\{2206CDB2-19C1-11D1-89E0-00C04FD7a829\InprocServer32' 

Normally it should be: C:\Program Files\Common Files\system\ole db\OLEDB32.DLL

Please remember to backup your registry before making any changes.

Thank you and sorry for the inconvenience,

Asaf.

New Post
 8/9/2009 2:33 PM
Accepted Answer 

Thank you for the quick reply, Asaf!

Yes, the registry key is correct, and I think I found the problem (on my end).  The solution was found here.
I now have a feature request essential for my usage of the program, but I'll save this selfish request for the appropriate forum.

Thanks again!

New Post
 8/9/2009 3:18 PM
 

Hi,

I'm glad it worked out for you,

I hope to replace the access DB some day, too many errors are coming from this area.

Regards,

Asaf.

Previous Previous
 
Next Next
ForumForumMy Photo Index ...My Photo Index ...Bug reportsBug reportsCrash on LoadCrash on Load

 
Membership Membership:
Latest New User Latest: zampetta
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 683

Online Now Online Now:
 
del.icio.us del.icio.us | technorati technorati | reddit reddit | stumbleupon stumbleupon | facebook facebook | live live
Copyright 2006-2014 by My Photo Index - the free open source photo organizer