Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Recording/replaying scripts for protocol Web-Http/Html with VuGen (LR 12.02) causes .Net exception

$
0
0

Hi

I am opening this post as it was suggested in 

https://community.hpe.com/t5/LoadRunner-Practitioners-Forum/The-browser-throws-an-error-message-when-trying-to-record-a/m-p/6742464/highlight/false#M13009

where I initially asked my question.

The issue I am experiencing is:

Recording and replaying script for .Net web application in VuGen (LR 12.02) protocol  Web-Http/Html causes .Net exception - System.Runtime.InteropServices.SEHException.

Recording with browser IE11.

The error message (pasted below) appears when 

1. After recording script is completed and also 'Correlation' window apparas

2. When we replaying recorded scripts. - also below additional error message that appears after that.

My recorded sctipt contains downloading PDF documents by clicking on links but I am not sure whether this is the reason for the error.

I Was trying with .Net framework 4.6.1 initially but also downgraded to 4.5.1 and 4.0 and it did not help.

See also attached screenshot of installes items (Ms Visual C++ components has been installes along with VuGen installation process). Ms Script Debugger I installed separately as the installer has not done it.

Could you please help with that?

 

Thanks,

Ewelina

 

 

 

 

 

Thanks,

Ewelina

 

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

************** Exception Text **************
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.AxHost.WndProc(Message& m)
   at HP.LR.VuGen.Common.CustomControls.ActiveXViewers.AxSnapshotViewer.WndProc(Message& m) in e:\LT\LT-LR\win32_release\12.02.2739.0_clean\app\LRStudioAPI\Current\API\CustomControls\ActiveXViewers\AxSnapshotViewer.cs:line 342
   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: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VuGen
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.2739.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/VuGen.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
HP.LR.VuGen.ImageResources
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.2739.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.LR.VuGen.ImageResources.DLL
----------------------------------------
HP.Utt.Common
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.Common.DLL
----------------------------------------
HP.LR.VuGen.AddinsCommon
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.2739.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.LR.VuGen.AddinsCommon.DLL
----------------------------------------
HP.Utt.QcConnection
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.QcConnection.DLL
----------------------------------------
ICSharpCode.Core
    Assembly Version: 4.1.0.0
    Win32 Version: 4.1.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/ICSharpCode.Core.DLL
----------------------------------------
HP.Utt.Logger
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.Logger.DLL
----------------------------------------
HP.Utt.Application
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.Application.DLL
----------------------------------------
HP.LR.VuGen.StringResources
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.2739.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.LR.VuGen.StringResources.DLL
----------------------------------------
HP.LR.VuGen.Common
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.2739.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.LR.VuGen.Common.DLL
----------------------------------------
HP.Utt.PlatformInvoke
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.PlatformInvoke.DLL
----------------------------------------
HP.Utt.Resources
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.Resources.DLL
----------------------------------------
HP.Utt.Dialog
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.Dialog.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/log4net/1.2.10.0__1b44e1d426115821/log4net.dll
----------------------------------------
HP.Utt.ProjectSystem
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1995.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/HP.Utt.ProjectSystem.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Interop.RegistryUtil
    Assembly Version: 12.2.0.0
    Win32 Version: 12.2.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/Interop.RegistryUtil.DLL

(... I can provide rest of this error if needed...)
---------------------------
Critical error (cannot use ExceptionDialog)
---------------------------
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at ICSharpCode.SharpDevelop.Commands.WorkbenchStartup.Run(IList`1 fileList)

   at HP.Utt.Application.CallHelper.RunWorkbenchInternal(Object settings) in e:\LT\UTT\win32_release\12.02.1995.0\src\Infra\app\HP.UttApplication\CallHelper.cs:line 199
---------------------------
OK   
---------------------------
 

Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>