# Error when opening .sql files

**URL:** <https://forums.toadworld.com/t/error-when-opening-sql-files/49785>\
**Category:** Toad for IBM DB2\
**Created:** [May 8, 2020, 8:02pm UTC](https://forums.toadworld.com/t/error-when-opening-sql-files/49785 "2020-05-08T20:02:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wtkidd1972](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/wtkidd1972/32/12358_2.png) [@wtkidd1972](https://forums.toadworld.com/u/wtkidd1972)\
**Post date:** [May 8, 2020, 8:02pm UTC](https://forums.toadworld.com/t/error-when-opening-sql-files/49785/1 "2020-05-08T20:02:31Z")

</div>

Have a user running Toad for DB2 6.1.0.134. When they open a .sql file it yields the following error msg:

 ![Toad for DB2 error](https://global.discourse-cdn.com/quest/original/2X/3/3b8b365ab17548bf1934b043723f4be85b2c23f6.png)

Not really sure where to begin with troublshooting this. Maybe someone in this forum has seen this before?

---

<div class="post-metadata">

**Author:** ![wtkidd1972](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/wtkidd1972/32/12358_2.png) [@wtkidd1972](https://forums.toadworld.com/u/wtkidd1972)\
**Post date:** [May 11, 2020, 2:17pm UTC](https://forums.toadworld.com/t/error-when-opening-sql-files/49785/2 "2020-05-11T14:17:28Z")

</div>

I was able to resolve the issue by renaming the 'Quest Software' folder in the "appdata\local" and "appdata\roaming" folders in the user's Windows profile. Assuming there some junk settings in them, and default settings resolved the issue.
