Applies to: 

CBTA 3.0 SP11


Issue: 

When launching CBTA Unable to start recording appears. The log file give a .NET Framework issue. Logs listed below: 


Error while retrieving the Repository Layer Manager Factory. Error is: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

2019-03-29 11:17:09,528 |    ERROR | MainThread          | UIPluginManager                    | An exception occured while loading Tad spy impl. System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)

   at System.Reflection.Assembly.LoadFile(String path)

   at SAP.TAO.Recorder.Plugin.UIPluginManager.GetWebSpyPlugin()

2019-03-29 11:17:22,540 |    ERROR | MainThread          | GuiScriptingControl                | The scripting is disabled on the specified system.

2019-03-29 11:17:22,541 |    ERROR | MainThread          | GuiScriptingControl                | Unable to create a connection using the connection description "/H/smd1.corp.primealm.com/S/sapdp00"

2019-03-29 11:17:23,800 |    ERROR | MainThread          | SapGuiCtrl                         | Microsoft Windows [Version 10.0.17134.648]

(c) 2018 Microsoft Corporation. All rights reserved.


Solution: 

update the .NET4.x machine.config in \Microsoft.NET\Framework64\[version]\config\machine.config and \Microsoft.NET\Framework\[version]\config\machine.config  with the following:

<configuration>
    <runtime>
       <loadFromRemoteSources enabled="true"/>
   </runtime>
</configuration>


Note: <runtime /> should already exists so replace it. 


Verify there is no security alert in TAFTestRecorder.dll & TAFGuiScripting.dll files by looking in the properties of each file.  Remove any system blocks.