UFT 12.01 crash on project load after 11.53 upgrade
Question ID: 105602
0
0

Hello,

I tried upgrading one of our UFT 11.53 installations from 11.53 to 12.01, and I now get the following error message when I attempt to load any of my tests:

Exception of type: System.InvalidCastException. Source: System.Windows.Forms. Occured in Void RealizeStyles() method
Exception message is: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘IOleObject’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00000112-0000-0000-C000-000000000046}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Exception trace is: at System.Windows.Forms.AxHost.RealizeStyles()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at MicTableControl.MicTableControl.InitializeComponent()
at MicTableControl.MicTableControl..ctor()
at MicTableControl.MicTableControlFactory.GetNewControl()
at HP.QTP.Backend.Entities.DataTable.DataTableBook.InitUiControlBook()
at HP.QTP.Backend.Entities.DataTable.DataTableBookFactory.CreateUiBookWithoutEvents()
at HP.QTP.Backend.Entities.DataTable.ReplayDataTable..ctor()
at HP.QTP.Backend.Entities.DataTable.ReplayDataTable.get_Instance()
at HP.QTP.Backend.Entities.TestDocumentBase`1.get_ReplayDataTable()
at HP.QTP.Backend.Features.DataTableFeature.ReplayDataTableFeature.InitializeFeature(DataTableContextProperties contextProperties)
at HP.QTP.Backend.Features.DataTableFeature.ReplayDataTableFeature..ctor(DataTableContextProperties contextProperties)
at HP.QTP.Backend.Features.FeaturesFactory.TestBaseFeatureFactory.CreateReplayDataTableFeature(DataTableContextProperties context)
at HP.QTP.Backend.Entities.TestDocumentBase`1.RegisterDataTableFeatures()
at HP.QTP.Backend.Entities.TestDocumentBase`1.RegisterFeatures(IRelationsManager3 relationsManager)
at HP.QTP.Backend.Entities.TestDocument.RegisterFeatures(IRelationsManager3 relationsManager)
at HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.CreateTestDocument(TInfo testInfo, ITestInitiator testInitiator, IRelationsManager3 relationsManager)
at HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.Load(String path, IEntity owner, Boolean openInReadOnlyMode)
at HP.QTP.Backend.Builders.ItemBuilders.BuilderBase`2.HP.QTP.Backend.Common.IBuilder.Load(String path, IEntity owner, Boolean openInReadOnlyMode)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.InternalLoad(String path, IEntity owner, Boolean openInReadOnlyMode, String baselineId, Boolean forceUpdate)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.Load(String rawPath, IEntity owner, Boolean openInReadOnlyMode, Boolean forceUpdateCache, String baselineId)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.Load(String rawPath, IEntity owner, Boolean openInReadOnlyMode, String baselineId)
at HP.QTP.BackEndServices.BackEndManager.<>c__DisplayClass6.b__3(Object dummyLoadInfo)
at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
at HP.QTP.BackEndServices.BackEndManager.OpenTest(String testPath, Boolean openInReadOnlyMode, String baselineId)
at HP.QTP.ProjectSystem.QtpProjectService.LoadTestProject(LocationInfo locationInfo)
at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
at HP.QTP.ProjectSystem.QtpProjectService.LoadProject(ProjectLoadInformation projectLoadInfo)

SharpDevelop Version : 4.1.3.0-00000000
.NET Version : 4.0.3

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on September 26, 2014 1:18 pm
43 views
Answers (2)
0
Private answer

Hi Tom,

We've only tested the 11.53 to 12.01 upgrade on one system so far.

I was able to resolve this issue by doing a ''clean'' uninstallation of the system and reinstalling 12.01 using the full installer (Not the web compressed version).

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on September 29, 2014 1:13 pm
0
Private answer

I am not sure what this issue is, Recommend raising the issue to HP Support. Somethings you might want to put in the case notes are is it issue isolated one machine, test or user login.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on September 29, 2014 3:51 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top