Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I am unable to install On-premise gateway, this is the latest version from web, I get error, the installation has failed:
System.InvalidOperationException: Cannot start service PBIEgwService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartServiceImpl(String serviceDisplayName, TimeSpan timeout)
at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService(Session session)
In the event log there is this:
Application: Microsoft.PowerBI.EnterpriseGateway.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.IO.Directory.InternalCreateDirectory(System.String, System.String, System.Object, Boolean)
at System.IO.Directory.InternalCreateDirectoryHelper(System.String, Boolean)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.RotatableFileStream..ctor(System.String, Int32, Int64)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.Diagnostics.RotatableFileTraceListener..ctor(System.String, Int32, Int64)
Exception Info: System.Configuration.ConfigurationErrorsException
at System.Diagnostics.TraceUtils.GetRuntimeObject(System.String, System.Type, System.String)
at System.Diagnostics.TypedElement.BaseGetRuntimeObject()
at System.Diagnostics.ListenerElement.GetRuntimeObject()
at System.Diagnostics.ListenerElementsCollection.GetRuntimeObject()
at System.Diagnostics.TraceInternal.get_Listeners()
at System.Diagnostics.Trace.get_Listeners()
at Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.Internal.TraceUtils.AddGlobalTraceListeners(System.Diagnostics.TraceSource)
at Microsoft.PowerBI.DataMovement.EnterpriseGateway.Program.Main(System.String[])
How can I solve this? I have tried to install as administrator and on other PC/server all get the same issue/error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.