d365collaborative / d365fo.tools

Tools used for Dynamics 365 Finance and Operations
MIT License
250 stars 102 forks source link

Rename-D365ComputerName -NewName failes due to MS SQL missing path #646

Closed malioni91 closed 2 years ago

malioni91 commented 2 years ago

image

Splaxi commented 2 years ago

What version of d365fo are you running?

malioni91 commented 2 years ago

What version of d365fo are you running?

Hi. Thanks for the quick reply. I am running a VHD devbox of the following version: Installed product version : 10.0.24 (10.0.1084.80) Installed platform version : Update48 (7.0.6253.76)

Splaxi commented 2 years ago

Was it downloaded as 10.0.24 or updated?

I suspect that we have some dependencies that was updated with latest release from Microsoft.

Please try to locate any other path (140,150,160,170) where the rsconfig.,exe is located on your machine.

malioni91 commented 2 years ago

Hi,

Its a freshly downloaded VHD from LCS. Actually I don't seem to find rsconfig.exe. Under 150 I see these.

image

FH-Inway commented 2 years ago

Also reported on Yammer: https://www.yammer.com/dynamicsaxfeedbackprograms/threads/1785310632681472

FH-Inway commented 2 years ago

As indicated in the Yammer thread, the rsconfig.exe tool is located in folder C:\Program Files\Microsoft SQL Server Reporting Services\Shared Tools on the new 10.0.24 VHD. I tested Rename-D365ComputerName with this folder path. However, during execution, I'm getting the following message:

Report Server WMI Provider error:

Invalid namespace

So far, I was not able to find the cause of this message. However, I noticed that in the Report Server Configuration Manager, it already shows the SQL Server Name als localhost. So it seems this part of the cmdlet is not needed anymore. For now, I will leave this part as is and just provide a fix for the folder.

FH-Inway commented 2 years ago

Version 0.6.73 fixes this issue.