1.1.7.7b Exception on program start

Please enter any bugs here. We will check this daily!

1.1.7.7b Exception on program start

Postby luedi on Sun Nov 12, 2006 5:53 am

I just installed the 1.1.7 Beta. Before doing this i have removed Version 1.1.5 via the uninstaller. Additionally i had removed all entries in the registry which where left by the uninstall manually. When i start MyGeneration i get following exception:

Code: Select all
MyGeneration   1.1.7.7
12.11.2006 06:47:47

------------------------------------------
Beim Zugriff auf mindestens ein Objekt sind Fehler aufgetreten. Weitere Informationen finden Sie möglicherweise in der ErrorInfo-Auflistung. (Ausnahme von HRESULT: 0x80110401)

Void PropInstallResult()

Call StackSystem.Runtime.InteropServices.COMException (0x80110401): Beim Zugriff auf mindestens ein Objekt sind Fehler aufgetreten. Weitere Informationen finden Sie möglicherweise in der ErrorInfo-Auflistung. (Ausnahme von HRESULT: 0x80110401)
   bei System.EnterpriseServices.RegistrationThreadWrapper.PropInstallResult()
   bei System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig)
   bei System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String partition, String& tlb, InstallationFlags installFlags)
   bei System.EnterpriseServices.RegistrationHelper.System.EnterpriseServices.Thunk.IThunkInstallation.DefaultInstall(String asm)
   bei System.EnterpriseServices.Thunk.Proxy.RegisterAssembly(Assembly assembly)
   bei System.EnterpriseServices.Thunk.Proxy.LazyRegister(Guid id, Type serverType, Boolean checkCache)
   bei System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
   bei System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
   bei System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)
   bei MyGeneration.DefaultProperties..ctor()
   bei MyGeneration.MDIParent.MDIParent_Load(Object sender, EventArgs e)
   bei System.Windows.Forms.Form.OnLoad(EventArgs e)
   bei System.Windows.Forms.Form.OnCreateControl()
   bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bei System.Windows.Forms.Control.CreateControl()
   bei System.Windows.Forms.Control.WmShowWindow(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bei System.Windows.Forms.Form.WmShowWindow(Message& m)
   bei System.Windows.Forms.Form.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


When i press cancel the GUI is shown. But if i try to call the default settings screen the same exception is thrown again.

I tried to edit the defaultsettings.xml manually but this didn't work.

Regards
Klaus
luedi
Sergeant
 
Posts: 28
Joined: Wed Aug 25, 2004 7:51 am
Location: Germany

Postby mike.griffin on Sun Nov 12, 2006 4:29 pm

The COM exception is due to the registering of the MyMeta.dll, there is a post in the \"Registration and Installation Issues\" that shows how to manually register it, you might try that.
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN

Postby luedi on Mon Nov 13, 2006 4:49 pm

Thanks for your help. Sorry that i didn't found the \"Registration and installation issues\" forum by myself :oops:. Manually registering MyMeta.dll helped.

As MyGeneration now works with .NET 2.0 i used REGASM of the 2.0er framework. Maybe the error occured because REGASM show some warnings on the command line. Unfortunately i have only german messages. The warnings said that there are generic type instances in a signature which can't be exported to COM for the following methods:

MyMeta.IMyMetaPlugin.GetPrimaryKeyColumns(#0)
MyMeta.IMyMetaPlugin.GetViewSubViews(#0)
MyMeta.IMyMetaPlugin.GetViewSubTables(#0)

On my PC in the office i just installed MyGeneration 1.1.7 over the older Version. Under this circumstances i had no problems. On my laptop i had deinstalled the old version and removed all MyGeneration-related entries in the registry (by searching for MyGeneration and MyMeta).

Regards
Klaus
luedi
Sergeant
 
Posts: 28
Joined: Wed Aug 25, 2004 7:51 am
Location: Germany

Postby mike.griffin on Mon Nov 13, 2006 5:00 pm

Ahh, very interesting, I will take a look at these methods and give this a try. I'm glad you're up and running however. I think you've given me enough to track this down ...
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN


Return to Defect Reporting (DON'T Post dOOdad bugs HERE)

Who is online

Users browsing this forum: No registered users and 1 guest

cron