March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
We installed the enterprise gateway and it seemed to work ok initially. Now it would not start. Reinstall fails as well, uninstall and reinstall did not help. Here is the install log:
--------------------------------------------------------------------
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Microsoft.DataTransfer.EgwInstallUtils!Microsoft.PowerBI.EgwInstallUtils.CustomActions.AddServiceUserToPerfGroup
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: The specified account name is already a member of the group.
--- End of inner exception stack trace ---
at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object args)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.AddUserToLocalGroup(String userName, String groupName)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.AddServiceUserToPerfGroup(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 AddServiceUserToPerfGroup returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (38:8C) [06:37:42:103]: Doing action: RestartService
MSI (s) (38:8C) [06:37:42:103]: Note: 1: 2205 2: 3: ActionText
Action ended 6:37:42: AddServiceUserToPerfGroup. Return value 1.
MSI (s) (38:98) [06:37:42:119]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIFB53.tmp, Entrypoint: RestartService
Action start 6:37:42: RestartService.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIFB53.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Microsoft.DataTransfer.EgwInstallUtils!Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService
MSI (s) (38!B0) [06:37:43:460]:
1: {"ClassName":"System.InvalidOperationException","Message":"Cannot start service PBIEgwService on computer '.'.","Data":null,"InnerException":{"NativeErrorCode":1053,"ClassName":"System.ComponentModel.Win32Exception","Message":"The service did not respond to the start or control request in a timely fashion","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467259,"Source":null,"WatsonBuckets":null},"HelpURL":null,"StackTraceString":" at System.ServiceProcess.ServiceController.Start(String[] args)\r\n at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartServiceImpl(String serviceDisplayName, TimeSpan timeout)\r\n at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService(Session session)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nStart\nSystem.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\nSystem.ServiceProcess.ServiceController\nVoid Start(System.String[])","HResult":-2146233079,"Source":"System.ServiceProcess","WatsonBuckets":null}
CustomAction RestartService returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 6:37:43: RestartService. Return value 3.
Action ended 6:37:43: INSTALL. Return value 3.
Property(S): UpgradeCode = {D430A057-BAED-421C-A12C-C4EFF28670C6}
Property(S): INSTALLLOCATION = C:\Program Files\On-premises data gateway\
Hi Sanimesa,
I am also facing the same issue. Did you find the solution? Please share your experience.
@sanimesa ,
There are some proposals for you troubleshooting this issue.
1. Reboot your machine.
2. Download the latest version of on-premises gateway, right-click the setup.exe and choose “Run as administrator” to start the installation.
3. Add relevant ports to firewall if your firewall is on.
4. Make sure that your account has permission on the C:\users folder as described in this similar thread.
Regards,
Lydia
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.