Location of HANA Studio Temporary SQL Console files
Sometimes when I re-launch HANA Studio I occasionally get the following error:
” An error occured. see the log file C:\Users\<USER>\hdbstudio\.metadata\.log.”
This prevents me Restarting HANA Studio until I delete the ‘C:\Users\<User ID>\hdbstudio\.metadata’ folder, or doing something more drastic.
Occasionally I might have forgotten to save my SQL Console Files with proper files names when I last closed down HANA Studio.
e.g.
Before I delete the .metadata folder and restart HANA Studio I need to make sure I take a copy of the temporary SQL files created the last time I successfully closed HANA studio.
The temporary SQL files are created here in Windows:
C:\Users\<USER>\hdbstudio\.metadata\.plugins\com.sap.ndb.studio.sql
I hope this helps you if are also hunting for these temporary files.
A friend of mine was getting this error.
this hint saved me a lot of time re-creating my (not yet saved) sql statements after a forced windows-restart. Thanks!