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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

data source credendial update error

I am using PostgreSQL database as data source. Many days ago, data rescheduled refresh works normally. Several days ago, I downloaded pbix file in another PC and made some modification, then re-published to workspace. But after then refresh in workspace encountered failure. I updated credential as requested but error alway happened.

 

So I think maybe I should publish it in the original PC. I retried in the PC on which original pbix file was published. But it seems credential update error remains. I have to delete workspace and recreate once again. Those pbix files are also published once again. But powerBI still thinks credentials are not OK.

 

Error is:

Failed to update data source credentials: An error happened while reading data from the provider: 'An attempt was made to access a socket in a way forbidden by its access permissions'

1 ACCEPTED SOLUTION
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

Reference this post:

Please try the following steps:

1.       Restart the windows firewall service

2.       Reboot the problematic machine

3.       Restart the “TCP/IP stack”.  Run CMD as administrator, type “netsh int ip reset resetlog.txt” to reset TCP/IP.

4.       Try to temporarily disable antivirus.

Here are some resources that may help:

https://appuals.com/fix-an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permissions/

Best Regards,

Community Support Team _ Joey
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
Question
Regular Visitor

Hi, @Anonymous 

We have the same problem, if you could solve the problem, please, write a solution.

venal
Memorable Member
Memorable Member

@Anonymous 

I would like to suggest you to create support ticket to investigate the issue.

Once you create support ticket, please share the same here for reference.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more
If this post was helpful may I ask you to mark it as solution and click on thumb symbol?

v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

Reference this post:

Please try the following steps:

1.       Restart the windows firewall service

2.       Reboot the problematic machine

3.       Restart the “TCP/IP stack”.  Run CMD as administrator, type “netsh int ip reset resetlog.txt” to reset TCP/IP.

4.       Try to temporarily disable antivirus.

Here are some resources that may help:

https://appuals.com/fix-an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permissions/

Best Regards,

Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hi, Thanks a lot for your suggestion. I tried some step but unfortunately I can't close firewall and antivirus software which can only be handled by network administrator. So till now my problem remains. But I think your solution could have solved my problem becuase it seems credential update is blocked by firewall or antivirus software according to error type. I will manage to contact network administrator to see if I can do something on firewall. Thanks.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.