awhymick Posted October 28, 2014 Share Posted October 28, 2014 I am trying to connect to the Sample Database but I receive an error. I took the following steps:- Create Dataset- Entered Dataset Name: GroupData- Selected "Create new dataset from a connection or Data Source"- Selected Data Adapter: sample DB - Database JDBC Connection Receive the following error:java.sql.SQLInvalidAuthorizationSpecException:invalidauthorizationspecification I also get the following error when selecting "Test Sample DB – Database JDBC Connection for Data Adapter: java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@2c741110[file =C:Program FilesJaspersoftJaspersoft Studio Professional-5.6.1.final[PATH_TO_DB_FILES]database.lck, exists=true, locked=false, valid=false, ] method: openRAF reason: java.io.FileNotFoundException: C:Program FilesJaspersoftJaspersoft Studio Professional-5.6.1.final[PATH_TO_DB_FILES]database.lck (Access is denied)Has anyone else experienced these errors? I installed the 30 trial vereson of the software on my personal computer. Link to comment Share on other sites More sharing options...
hozawa Posted October 28, 2014 Share Posted October 28, 2014 You've tagged your question as "iReport" but from the error message, it seems that you're using Jaspersoft Studio. Link to comment Share on other sites More sharing options...
awhymick Posted October 30, 2014 Author Share Posted October 30, 2014 Thanks Link to comment Share on other sites More sharing options...
jimj Posted July 23, 2016 Share Posted July 23, 2016 I have the same error connecting to MySQL to run a report. Link to comment Share on other sites More sharing options...
Solution kkumlien Posted September 22, 2021 Solution Share Posted September 22, 2021 Your local HSQLDB could be corrupted, if a restart doesn't fix it, you can run a copy.See 2 possible options here: https://community.jaspersoft.com/questions/501094/where-do-we-get-sample-db-used Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now