2

I am trying to install DXA 1.7 on Web 8.5 and am running into the below issue. Everything is over HTTP and not HTTPS. SDL, Web UI and WebServices all has Windows Authentication as "Enabled" in IIS. Tried passing CmsUser and password as parameters to the cmsimport command but no luck. Any idea what else is missing?

Command used is - .\cms-import.ps1 -importType all-publications -cmsUrl "http:///"

Copied 'C:\Softwares\SDL DXA .NET 1.7\cms\DXA Application Data Definition.xml' to 'C:\Program Files (x86)\SDL Web\config\ImportExport\ApplicationData' Get-CoreServiceClient : Exception calling "GetCurrentUser" with "0" argument(s): "The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'." At C:\Softwares\SDL DXA .NET 1.7\cms\cms-import.ps1:138 char:22 + $coreServiceClient = Get-CoreServiceClient "Service" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-CoreServiceClient], MethodInvocationException + FullyQualifiedErrorId : MessageSecurityException,Get-CoreServiceClient

2 Answers 2

2

After trying many options, I did unblock (in properties) each and every file in "cms" and "importexport" folders under the DXA 1.7 installable, was able to run the cms-import.ps1 without issues.

4
0

There is the same issue with DXA 2.2 import into SDL Sites 9. But unblocking files didn't help enter image description here

1
  • Resolved by entering cmsUserName and cmsUserPassword in powershell during call of cmsimport file. It is case sensitive, even though it is the same user in Tridion and Window, so windows takes user name all lower case for user name (domain/user name) so for execution of script, it is necessary to pass full user name and password Jan 14, 2020 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.