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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Kamaizziati
Helper IV
Helper IV

Error on on-premise Data Gateway

Hi,

 

I got error while update/migrate the gateway. Below is the error. How to solve it?

2017-11-10_1533.png

Error generating an asymmetric key.
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.PowerBI.DataMovement.Pipeline.InternalContracts.IGatewayConfigurationService.GenerateAsymmetricKey()
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GenerateAsymmetricKey()

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Kamaizziati,

 

Here is a similar thread in which a workaround is mentioned. Could you go to check if it works in your scenario? Smiley Happy



Solution:

 

Change the logon user for Service "On-premises data gateway service" (PBIEgwService) to "Local System Account".

 

1. RUN services.msc
2. Search "Power BI Gateway - Enterprise Service" in list of services, and click
3. In TAB "Log On" change to "Local System Account"
4. Restart "Power BI Gateway" Service

 

Regards

View solution in original post

5 REPLIES 5
GIS_powerBI
Frequent Visitor

I was recently upgraded to Windows 10 and my domain changed for my log in. I am trying to recover my gateway and it is telling me my 'key is not valid for the state'

Any idea on how to fix this?

Hi @GIS_powerBI,

 

It is your proble already solved?

Did you put the name of your PC correct? or do you shutdown the PC because on one premisse gateway need 24 hour PC on.

 

Thanks

turns out with the windows 10 upgrade there was a domain change. Only way to resolve it was to get a Windows 7 computer again and put 64 bit office and BI on there.

 

 

v-ljerr-msft
Employee
Employee

Hi @Kamaizziati,

 

Here is a similar thread in which a workaround is mentioned. Could you go to check if it works in your scenario? Smiley Happy



Solution:

 

Change the logon user for Service "On-premises data gateway service" (PBIEgwService) to "Local System Account".

 

1. RUN services.msc
2. Search "Power BI Gateway - Enterprise Service" in list of services, and click
3. In TAB "Log On" change to "Local System Account"
4. Restart "Power BI Gateway" Service

 

Regards

Hi @v-ljerr-msft,

 

I already try that step but i got another error. Below is my error.

 

Gateway service health check failed.

Below is the stack trace:
Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClientException: Error getting Gateway service health data. ---> System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.PowerBI.DataMovement.Pipeline.InternalContracts.IGatewayConfigurationService.GetServiceHealth()
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GetServiceHealth()
--- End of inner exception stack trace ---
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GetServiceHealth()
at Microsoft.PowerBI.DataMovement.GatewayCommon.Checks.GatewayServiceCheck.RunCheck()

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors