"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.