Error SQL5005C on Windows Vista, Windows 7 and Windows 2008

Technote (troubleshooting)


Problem(Abstract)

When I try to run any DB2 command in Windows Vista, Windows 7 and Windows 2008 I get the following error:

C:\Program Files\IBM\SQLLIB\BIN>db2 list db directory
SQL5005C System Error.

Resolving the problem

The cause of this error is because you may not have picked "Run as Administrator" when installing DB2.

If you right click on any icon you will have an option to "Run as Administrator":



You can either do this every time you want to open a DB2 Command Window or you can uninstall and reinstall DB2. Before installing DB2 right click on db2setup.exe and select "Run as Administrator", see screen shot above.


For further discussion on this topic, visit this developerWorks forum thread:
https://www.ibm.com/developerworks/community/forums/html/topic?id=51dff0c4-0110-41a5-98ab-bd3c9b800cf8

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.1, 9.5, 9.7

Operating system(s):

Windows

Reference #:

1430172

Modified date:

2013-06-13

Translate my page

Machine Translation

Content navigation