Forum Discussion

1811raghuwanshi's avatar
1811raghuwanshi
New Member
1 year ago
Solved

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?

  • Poojara_D12's avatar
    Poojara_D12
    1 year ago

    Hi 1811raghuwanshi 

    1. Run Power BI Desktop as Administrator: Right-click on Power BI Desktop icon > "Run as Administrator."
    2. Check File Path Length: Ensure the file path doesn’t exceed 260 characters. Try moving the file to a simpler path.
    3. Close Power BI: Ensure no file is locked by Power BI. Restart Power BI and try again.
    4. Check Folder Permissions: Make sure your user has full control of the entire folder path.
    5. 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 Conceptshttps://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS 

7 Replies

  • Hi 1811raghuwanshi 

     

    The error is due to permission issues with accessing the file path. To fix it:

    1. Check Folder Permissions: Make sure your user account has read access to the folder.
    2. File Access: Ensure the file isn't open in another program.
    3. Run as Administrator: Try running Power BI as an administrator.
    4. Check for Special Characters: Remove special characters (+) from the file path.
    5. 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 

    • 1811raghuwanshi's avatar
      1811raghuwanshi
      New 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_D12's avatar
        Poojara_D12
        Super User

        Hi 1811raghuwanshi 

        1. Run Power BI Desktop as Administrator: Right-click on Power BI Desktop icon > "Run as Administrator."
        2. Check File Path Length: Ensure the file path doesn’t exceed 260 characters. Try moving the file to a simpler path.
        3. Close Power BI: Ensure no file is locked by Power BI. Restart Power BI and try again.
        4. Check Folder Permissions: Make sure your user has full control of the entire folder path.
        5. 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 Conceptshttps://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi 1811raghuwanshi 

    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.

  • Anonymous's avatar
    Anonymous
    Not 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.