Forum Discussion
Access Issues with data source
Hey, I am new to Power Bi and doing a Udemy course, I am required to connect to a csv file from my pc using file path and I need to enter my username and password for that connection. The issue is that after finally getting the username and password, it's showing:
"An exception occurred: Access to the path 'C:\Users\Ansh\Documents\Tajamul\Data_Analysis\Power_BI_Service\Power+BI+Service+Data+Files\Raw Source Data' is denied. (Session ID: 338437ba-3cbc-47c7-a78f-d5e39c4f4137, Region: india)"
Any idea how to fix this?
- Run Power BI Desktop as Administrator: Right-click on Power BI Desktop icon > "Run as Administrator."
- Check File Path Length: Ensure the file path doesn’t exceed 260 characters. Try moving the file to a simpler path.
- Close Power BI: Ensure no file is locked by Power BI. Restart Power BI and try again.
- Check Folder Permissions: Make sure your user has full control of the entire folder path.
- Check UAC (User Account Control): Disable temporarily if it’s restricting file access.
These steps might resolve the issue. Let me know if you need further help!
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
7 Replies
- Poojara_D12Super User
The error is due to permission issues with accessing the file path. To fix it:
- Check Folder Permissions: Make sure your user account has read access to the folder.
- File Access: Ensure the file isn't open in another program.
- Run as Administrator: Try running Power BI as an administrator.
- Check for Special Characters: Remove special characters (+) from the file path.
- Antivirus Software: Temporarily disable antivirus to check if it's blocking access.
Try these steps to resolve the issue.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS- 1811raghuwanshiNew Member
I did all that and still the same issue is arising. Removed the '+' from the folder name, checked that permissions were allowed for everything for the folder, no other program is running currently, I don't have an antivirus and how do I run Power BI service as Admin?
- Poojara_D12Super User
- Run Power BI Desktop as Administrator: Right-click on Power BI Desktop icon > "Run as Administrator."
- Check File Path Length: Ensure the file path doesn’t exceed 260 characters. Try moving the file to a simpler path.
- Close Power BI: Ensure no file is locked by Power BI. Restart Power BI and try again.
- Check Folder Permissions: Make sure your user has full control of the entire folder path.
- Check UAC (User Account Control): Disable temporarily if it’s restricting file access.
These steps might resolve the issue. Let me know if you need further help!
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
- AnonymousNot applicable
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- AnonymousNot applicable
Hi 1811raghuwanshi
If your query has been resolved, kindly mark the helpful reply and accept it as the solution. This will assist other community members with similar issues to find solutions more quickly.Thank you.