Error loading BASIC of document - on "C" drive

I used the option to install LibreOffice to the “D” drive as opposed to the “C” drive.
I am getting the message, “Error loading BASIC of document file:///C:/Users/DrSVo/AppData/Roaming/LibreOffice/4/user/basic/Standard/script.xlb/:
General Error.
General input/output error.”
Thus, the program is looking for a file on the “C” drive.
Is there a way to fix this issue?
Thanks in advance.

APPDATA is a standard folder where software in windows will save config-data. LibreOffice has the profile of the current user there. Just start Windows-Explorer and enter %APPDATA% as the path. You should find your LibreOffice-profile there, even as the actual program-files will be found on D: as you commanded.
.
APPDATA is one of this important folders often forgotten to backup…
.
PS: If you really want to have everything on D you can either resort to portable software, but loose system integration or try to find a way to relocate parts of Windows or the profile of LO

https://wiki.documentfoundation.org/UserProfile

You will often get
General Error. General input/output error.”
If a program can’t write to a file or location. Have you added LibreOffice to you anti virus allowed list?

It is not an issue. The LO User Profile is always located in the Windows User directory.

You can “install” a portable version of the LO. That stores the User profile in the program directory.

… by default.

  1. The default location is defined by <INSTDIR>/program/bootstrap.ini’ with its UserInstallation key, which defaults to $SYSUSERCONFIG/LibreOffice/4. One can edit it to point to another file URL. Besides SYSUSERCONFIG, there are other variables, which are defined in Bootstrap_Impl::getValue. This would work universally, including when the program starts by shell (e.g., double-clicking a document in Explorer).
  2. One also can always define user profile location explicitly in the command line, using -env:UserInstallation parameter. That may be set e.g. in a shortcut, so that you may launch the program easily to use some specific profile (and have several of them, e.g. configured differently). But that would not work for default invocation, unless you also tweak the system registry.
3 Likes

Not the OP, but thanks @mikekaganski, TIL.