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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 ---"
Solved! Go to Solution.
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.
("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
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.
("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 😊
@krishanw Typically this is your antivirus causing problems. Gateway Error generating an asymmetric key. Key n... - Microsoft Fabric Community
I have checked virus guard with IT team and there was no any restriction for this
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |