Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

"HTTP: 401 - access denied, RespHdrAuthDb" when running a .NET Script in Silk Performer

"HTTP: 401 - access denied, RespHdrAuthDb" when running a .NET Script in Silk Performer

There is a known issue with the transfer of web service authentication details when exporting a Project from .Net Explorer to the Silk Performer workbench, as a .Net Project - .NET EXPLORER | EXPORT | SILK PERFORMER .NET Project.

Running a TryScript in Silk Performer using the default script which was generated after exporting the project to the Silk Performer workbench, results in a DotNetCallMethod(HTTP: 401 - accessed denied, RespHdrAuthDb) error.

The reason for this error is down to the server requesting authentication details from the client (Silk Performer) after the initial request has been made, the client responds without the required authentication details (as they have not been exported), which leads to the HTTP 401 error.

The problem is currently under investigation by development.

In the meantime a workaround is to include a WebSetUserAuthBasic() function within the TInit transaction of the bdf script, including the username and password in the necessary parameters.

By including the WebSetUserAuthBasic() function within the TInit transaction, authentication details will be passed to the server upon request, which leads to a successful request / response from client and server.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-04-23 17:01
Updated by:
 
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.