Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I was trying to update my data gateway which was running v14.16 to the latest version. I tried uninstalling the old version and tried to run the new version as administrator but I was thrown an error when the installation was happening. Please find below the log related to the error.
I even added my current account to the global objects in the local securities policy, user rights assignment . We tried rebooting the system three times. Nothing worked so far. Any suggestion would be appreciated.
Action start 20:45:43: StartServiceToCreateUser.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI7050.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Microsoft.PowerBI.DataMovement.CustomActionUtils!Microsoft.PowerBI.DataMovement.CustomActionUtils.CustomActions.StartServiceToCreateUser
CustomActionStarted (action=StartServiceToCreateUser,build=3000.68.15)
CustomActionCompleted (action=StartServiceToCreateUser,build=3000.68.15,duration=2975)
MSI (s) (E0:C8) [20:45:46:781]: Doing action: AddLogonAsServiceRight
MSI (s) (E0:C8) [20:45:46:781]: Note: 1: 2205 2: 3: ActionText
Action ended 20:45:46: StartServiceToCreateUser. Return value 1.
MSI (s) (E0:EC) [20:45:46:783]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7DEE.tmp, Entrypoint: AddLogonAsServiceRight
Action start 20:45:46: AddLogonAsServiceRight.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI7DEE.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Microsoft.PowerBI.DataMovement.CustomActionUtils!Microsoft.PowerBI.DataMovement.CustomActionUtils.CustomActions.AddLogonAsServiceRight
CustomActionStarted (action=AddLogonAsServiceRight,build=3000.68.15)
CustomActionCompleted (action=AddLogonAsServiceRight,build=3000.68.15,duration=32)
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<CastIterator>d__97`1.MoveNext()
at System.Linq.Enumerable.First(IEnumerable`1 source)
at Microsoft.PowerBI.DataMovement.CustomActionUtils.CustomActions.get_ServiceUsername()
at Microsoft.PowerBI.DataMovement.CustomActionUtils.CustomActions.AddLogonAsServiceRight(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
CustomAction AddLogonAsServiceRight returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:45:47: AddLogonAsServiceRight. Return value 3.
Action ended 20:45:47: INSTALL. Return value 3.
Hi @lbendlin ,
Happy new year! 🙂
It looks like the system is up to date on the windows updates.
This should do (the second one is what you need).
Next - is the gateway machine fully up to date on Windows updates? If not then please apply them all.
Hi @lbendlin ,
The currently all the below version of VCRedist are installed. Do I need to install the latest version or would one of this do?
did you install the latest VC_Redist ?
Hi @lbendlin ,
Yes, all the required minimum requirements as well as the recommended ones are satisfied. Plus, all the related considerations have also been checked and is okay.
No, you cannot login as the service account as you don't have the password.
Have you completed @v-stephen-msft 's checklist?
Hi @lbendlin , @v-stephen-msft ,
I was able to verify that the current .NET framework version run on the machine is 4.8.03761. The windows version is 64-bit version of Windows Server 2012 R2 Datacenter with current TLS 1.2 and ciphers and 20GB memory. I was able to verify that the user that I am logged in as is under the global object in local policy. Please find below the images of the information sought.
Do I have to login as the service account that is currently running the on-premises data gateway, NT Service\PBIEgwService?
Hi @gtrajesh ,
Requirements and considerations for installing the gateway are as follows, please check:
Requirements
Minimum requirements
Recommended
Related considerations
Reference: Requirements
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Next step is to confirm you have this:
@lbendlin ,thanks for getting back on this. Yes, it has not been updated since it was set up initially. Thanks for the tips. 🙂
On the screen the error message states that "The on-premises data gateway installation has failed: Please view the error logs, fix the error and then try reinstalling again."
Yes, to access this server we have to use a proxy. We have installed the .net framework 4.8. Below is a screenshot of the version of the .net that is currently running in the system.
wow, 14.16. That is rather ... old. You will want to keep the gateway rendering engine in sync with the service and the desktop as much as possible to avoid (vastly) different refresh results. As you can see from the installer we're now on 68.15
The error message you posted complains about not being able to login with the service account. What is the error message that you get on the screen? Is your company network requiring a proxy? Also please confirm that you have installed .Net 4.8
User | Count |
---|---|
24 | |
21 | |
11 | |
11 | |
10 |
User | Count |
---|---|
50 | |
31 | |
20 | |
18 | |
15 |