TypeError: Cannot read property 'replace' of undefined - Troubleshoot steps

Issue Description

Not able to upload package in ORchestrator Production server - Receiving error “TypeError: Cannot read property ‘replace’ of undefined”

Troubleshooting steps

Could you please share the below:

  • The bindings set for the Orchestrator in the IIS.

RUN -> Inetmgr -> Orchetrator in IIS -> Bindings (right hand side corner) .

​Is it https or http protocol.

Approach 1# :

In case if the binding is defined as http , changes it to a https binding .

  • Restart the IIS ( cmd window in admin mode -> iisreset )

Try uploading the package.

Approach 2#:

If the error still exist , change requireSSL of web.config to false.

Save the file.

​- Restart the IIS ( cmd window in admin mode -> iisreset )

Again, Try uploading the package.