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.

Reply
krishanw
Helper II
Helper II

On permises data gateway (Personal mode) Effor

krishanw_0-1705853750519.png

I am encountering this error after reinstalling the gateway. I have tried restarting the laptop, but the issue persists. I have also attached the log file for reference.

 

"PersonalGatewayConfigurator.exe Information: 0 : Starting PersonalGatewayConfigurator, Version 3000.202.16+4dd1e8313a48993dd7b38a5a50125f18d04f3593
PersonalGatewayConfigurator.exe Information: 0 : Initialize PersonalGatewayMainViewModel
PersonalGatewayConfigurator.exe Information: 0 : GetConfiguratorStateAsync
PersonalGatewayConfigurator.exe Information: 0 : Exception thrown during GetConfiguration: 'Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClientException: Error retrieving gateway configuration. Please ensure your gateway is running on the local computer and it is updated to the latest version.
Exception message: Could not connect to net.tcp://127.0.0.1:45376/powerbi/personalgatewayconfig/service. The connection attempt lasted for a time span of 00:00:02.2265840. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:45376. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://127.0.0.1:45376/powerbi/personalgatewayconfig/service. The connection attempt lasted for a time span of 00:00:02.2265840. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:45376. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:45376
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---"

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @krishanw ,
The problem you're experiencing appears to be due to an asymmetric key generation error. After looking up the documentation on the revelent issue, I think you can follow the advice in the following post.
Removing the "RSA" folder which is in the "C: \ Users \" NAME USER "\ AppData \ Roaming \ Microsoft \ Crypto" path and make a backup of this folder in case you need to restore it.The appdata folder may be a hidden folder, you need to change the settings to make it visible.

vheqmsft_0-1705989471920.png

 


("NAME USER" = user who installed and is running the gateway (personal mode))
After removing the folder, simply start the Gateway setup again.
Below is the documentation of the problems and solutions:
Solved: "Error generating an asymmetric key. Key not valid... - Microsoft Fabric Community
ERROR installing On-premises data gateway (persona... - Microsoft Fabric Community

Best regards

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @krishanw ,
The problem you're experiencing appears to be due to an asymmetric key generation error. After looking up the documentation on the revelent issue, I think you can follow the advice in the following post.
Removing the "RSA" folder which is in the "C: \ Users \" NAME USER "\ AppData \ Roaming \ Microsoft \ Crypto" path and make a backup of this folder in case you need to restore it.The appdata folder may be a hidden folder, you need to change the settings to make it visible.

vheqmsft_0-1705989471920.png

 


("NAME USER" = user who installed and is running the gateway (personal mode))
After removing the folder, simply start the Gateway setup again.
Below is the documentation of the problems and solutions:
Solved: "Error generating an asymmetric key. Key not valid... - Microsoft Fabric Community
ERROR installing On-premises data gateway (persona... - Microsoft Fabric Community

Best regards

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
 

Thank You @Anonymous it worked 😊

Greg_Deckler
Community Champion
Community Champion

@krishanw Typically this is your antivirus causing problems. Gateway Error generating an asymmetric key. Key n... - Microsoft Fabric Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I have checked virus guard with IT team and there was no any restriction for this

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors