Forum Discussion

Loopydog2's avatar
Loopydog2
Regular Visitor
1 year ago

Power BI Helper - Unhandled exception has occurred in your application

Hi all,

My Power BI helper is stuck on the below error message and can't connect to any data sources:

 

The expanded details are:

System.UnauthorizedAccessException: Access to the path 'xxx Balance Results.pbix' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Power_BI_Helper_Application.Form1.ExtractPBIXZip(FileInfo finf, Boolean compare)
at Power_BI_Helper_Application.Form1.cmbModelsList_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Even if I change the data source to another .pbix I get the same message and can't analyse any .pbix files. I've deleted the original file that had the issue so "xxx Balance Results.pbix" no longer exists but this issue still persists and I don't want to uninstall and reinstall as that will require me to raise an IT ticket each time this happens. Any help is appreciated.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, Loopydog2 

     

    Firstly, based on your error message System.UnauthorizedAccessException: Access to the path 'xxx Balance Results.pbix' is denied, it indicates that you do not have permission to access the specified path. Ensure that you have permission to access and modify the directory where the xxx Balance Results.pbix file is located. You can right-click on the folder, select "Properties," and then check the "Security" tab to see if your user has full control permissions.

    Secondly, you can try right-clicking on the Power BI Helper icon and selecting "Run as administrator," which might resolve the permission issue.

    Next, this might also be related to the sensitivity label of the pbix file. It is recommended to change it to public.

    Lastly, since the issue you are encountering is related to third-party software, we suggest collaborating with RADACAD for a quick resolution.

     

    As our resources for third-party (non-Microsoft) applications are very limited, we indeed need to contact the third-party vendor for further investigation.

    If there is anything Microsoft can do, please feel free to involve us. We are always ready to support you.Of course, if you have any new discoveries, please feel free to get in touch with us.


    Best Regards,

    Leroy Lu

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