Recently I ran across the following error while trying to run a report. My "mini" data warehouse is stored in Microsoft Access.
Report: Transactions for Heatmap
Job: 836
Status: Execution failed
Error: SQL Generation Complete
QueryEngine encountered error: Execute Query failed.
Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [42000:-1809: on SQLHANDLE] [Microsoft][ODBC Microsoft Access Driver] Cannot modify the design of table 'TTLOR2BS4MD000'. It is in a read-only database. Connection String: DSN=AnkeetFinancials;DBQ=C:\Users\ashah\Documents\AnkeetPersonalTransactions\FinancialTransactions.accdb;DRIVERID=25;FIL=MS Access;MAXBUFFERSIZE=2048;PAGETIMEOUT=5;UID=admin;. SQL Statement: create table TTLOR2BS4MD000 (
Transaction_Category TEXT(255),
Statement_End_Date TIMESTAMP,
Account_ID LONG,
WJXBFS1 LONG,
WJXBFS2 DOUBLE)
..
QueryEngine encountered error: Report [Transactions for Heatmap]: Drop table error: DBInstance = Ankeet FinancialsSQL Statement: drop table TTLOR2BS4MD000.
Error in Process method of Component: QueryEngineServer, Project Ankeet Financials, Job 836, Error Code= -2147212544.
Starting Time: 11:55:56
The fix is quite simple! You will need to go to Microsoft ODBC Administrator (Start > Search > ODBC Administrator) and go to the System DSN tab. Open the appropriate ODBC connection by double clicking on it and click on "Options" for additional options. Uncheck the 'Read Only" checkbox.
Back on MicroStrategy, close and reopen project, clear cache and your issues should be resolved!
Report: Transactions for Heatmap
Job: 836
Status: Execution failed
Error: SQL Generation Complete
QueryEngine encountered error: Execute Query failed.
Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [42000:-1809: on SQLHANDLE] [Microsoft][ODBC Microsoft Access Driver] Cannot modify the design of table 'TTLOR2BS4MD000'. It is in a read-only database. Connection String: DSN=AnkeetFinancials;DBQ=C:\Users\ashah\Documents\AnkeetPersonalTransactions\FinancialTransactions.accdb;DRIVERID=25;FIL=MS Access;MAXBUFFERSIZE=2048;PAGETIMEOUT=5;UID=admin;. SQL Statement: create table TTLOR2BS4MD000 (
Transaction_Category TEXT(255),
Statement_End_Date TIMESTAMP,
Account_ID LONG,
WJXBFS1 LONG,
WJXBFS2 DOUBLE)
..
QueryEngine encountered error: Report [Transactions for Heatmap]: Drop table error: DBInstance = Ankeet FinancialsSQL Statement: drop table TTLOR2BS4MD000.
Error in Process method of Component: QueryEngineServer, Project Ankeet Financials, Job 836, Error Code= -2147212544.
Starting Time: 11:55:56
The fix is quite simple! You will need to go to Microsoft ODBC Administrator (Start > Search > ODBC Administrator) and go to the System DSN tab. Open the appropriate ODBC connection by double clicking on it and click on "Options" for additional options. Uncheck the 'Read Only" checkbox.
Back on MicroStrategy, close and reopen project, clear cache and your issues should be resolved!
Comments
Microstrategy Online Course
Microstrategy Certification