Highlighted
Absent Member.
Absent Member.
2425 views

BSM is refusing to run a Webservice VUGen script.

Jump to solution

BSM/BPM version: 9.22.131 Intermediate Patch

LoadRunner VUGen version: 11.51 build 3392

 

The VUGen script has been uploaded into BSM with proper threshold settings. The script execution is failing due to the below error which was captured from BPM run logs. Please help on how to resolve this...

 

Start auto log messages stack - Iteration 1. [MsgId: MMSG-10545]

28/01/2014 04:02:44 Starting action Action. [MsgId: MMSG-15919] 28/01/2014 04:02:44 Action.c(24): Notify: Transaction "[removed_txn_name]" started. [MsgId: MMSG-16999] 28/01/2014 04:02:44 Action.c(28): Error:InvokeMethod failure: Could not load file or assembly 'file:///D:\ProgramData\HP\BPM\workspace\agent1\task_invoker\_uid_6_\iesnprd\WSDL\IESNLoggingServiceConcreteWSDL\Net\IESNLoggingServiceConcreteWSDL_0_0_Proxy.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.. [MsgId: MERR-108906] 28/01/2014 04:02:44 Action.c(28): Error:ExtractResultArg failure: Object reference not set to an instance of an object.. [MsgId: MERR-108903] 28/01/2014 04:02:44 Action.c(28): Error:Web service call "sendLogWithReply_101" execution failed [MsgId: MERR-108960] End auto log messages stack. [MsgId: MMSG-10544]

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

open the file C:\HP\LoadGenerator\bin\mdrv.exe.config in a text editor,

And add the following lines to it after the <configSections> section:

 

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

  </startup>

 

The file mdrv.exe.config should be like this:

--------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<configuration>

  <configSections>

    <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

    <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</configSections>

 

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

  </startup>

 

  <microsoft.web.services2>

    <security>

      <x509 storeLocation="CurrentUser" allowTestRoot="true" />

    </security>

  </microsoft.web.services2>

  <microsoft.web.services3>

    <security>

      <keyIdentifierMapping>

        <add valueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" />

      </keyIdentifierMapping>

      <x509 allowTestRoot="true" />

      <securityTokenManager>

        <add type="CsSAMLHelper.LrSAMLTokenManager, CsSAMLHelper" namespace="urn:oasis:names:tc:SAML:1.0:assertion" localName="Assertion" />

      </securityTokenManager>

      <binarySecurityTokenManager>

        <add valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">

          <keyAlgorithm name="RSA15" />

        </add>

      </binarySecurityTokenManager>

    </security>

  </microsoft.web.services3>

 

</configuration>

Regards,
Noam

View solution in original post

6 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

open the file C:\HP\LoadGenerator\bin\mdrv.exe.config in a text editor,

And add the following lines to it after the <configSections> section:

 

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

  </startup>

 

The file mdrv.exe.config should be like this:

--------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<configuration>

  <configSections>

    <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

    <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</configSections>

 

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

  </startup>

 

  <microsoft.web.services2>

    <security>

      <x509 storeLocation="CurrentUser" allowTestRoot="true" />

    </security>

  </microsoft.web.services2>

  <microsoft.web.services3>

    <security>

      <keyIdentifierMapping>

        <add valueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1" />

      </keyIdentifierMapping>

      <x509 allowTestRoot="true" />

      <securityTokenManager>

        <add type="CsSAMLHelper.LrSAMLTokenManager, CsSAMLHelper" namespace="urn:oasis:names:tc:SAML:1.0:assertion" localName="Assertion" />

      </securityTokenManager>

      <binarySecurityTokenManager>

        <add valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">

          <keyAlgorithm name="RSA15" />

        </add>

      </binarySecurityTokenManager>

    </security>

  </microsoft.web.services3>

 

</configuration>

Regards,
Noam

View solution in original post

Highlighted
Absent Member.
Absent Member.

This solved my problem. Adding to this. I modified "C:\HP\BPM\bin\mdrv.exe.config", instead of "C:\HP\LoadGenerator\bin\mdrv.exe.config".

 

Thank you very much !

0 Likes
Highlighted
Commodore Commodore
Commodore

Had the same issue. Solved. Thanks!

0 Likes
Highlighted
Ensign Ensign
Ensign

Had the SAME PROBLEM... You are GENIUS.. You Made My DAY

0 Likes
Highlighted
Cadet 3rd Class
Cadet 3rd Class

It resolved my problem in BPM 9.22. Thanks much.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.