Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Unable to install on-premises gateway - errors

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.

 

Status: Accepted
Comments
Rob-Tec
New Member

I'm getting the same error. I can't execute the downloaded installer on any workstation or on the server that had a working getway. Now nothing in working. The installation doesn't progress after the initial right click and run as administrator. As i said, all this on a previously working gateway server. And the bummer is that i no longer have the installation executable for the earlier gateway....

Need some help on this microsoft.

v-haibl-msft
Microsoft Employee

@MarisJan @Rob-Tec

 

This issue should has been fixed now. Please download the gateway installer from here and try to install again.

 

Best Regards,
Herbert

Vicky_Song
Impactful Individual
Status changed to: Accepted
 
MarisJan
Regular Visitor

Hello,

Still no working, I was getting error from Calling custom action Microsoft.DataTransfer.EgwInstallUtils!Microsoft.PowerBI.EgwInstallUtils.CustomActions.AddServiceUserToPerfGroup, then I removed this user from local groups. 

Error log is clean, no more errors like in previous post, but install still fails with this

 

Calling custom action Microsoft.DataTransfer.EgwInstallUtils!Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService
MSI (s) (28!BC) [15:35:54:615]:
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 15:35:54: RestartService. Return value 3.
Action ended 15:35:54: INSTALL. Return value 3.

 

I can provide full log if necessary. Setup was run with elevated rights.

 

Have a nice day,

Maris.

v-haibl-msft
Microsoft Employee

@MarisJan

 

Have you tried to install using the full package of gateway from https://go.microsoft.com/fwlink/?LinkID=820931 instead of the web installer?

 

Best Regards,
Herbert

MarisJan
Regular Visitor

I did try full install, but it failed. I managed to install it on another server.