Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why can't I open a table in Enterprise Manager or Query Analyzer?

Enterprise Manager

Why can't I open a table in Enterprise Manager or Query Analyzer?

by  leveyp  Posted    (Edited  )
When I try to open a table in Enterprise Manager I get error message "The query cannot be executed because some files are missing or not registered.
Query Designer cannot locate your query files and cannot run your query."

Before resorting to re-installing the product try re-registering the following dlls (they may be in different directories depending on your OS/Version)

C:\Program files\Common Files\System\ADO\Msado15.dll
C:\Program files\Common Files\System\Ole Db\Oledb32.dll
C:\Program files\Common Files\System\Ole Db\Sqloledb.dll
C:\WINNT\System32\Atl.dll


To register the DLLs you use Regsvr32.exe

At a command prompt type:

C:\>regsvr32 C:\Program Files\Common Files\System\ADO\Msado15.dll
C:\>regsvr32 C:\Program Files\Common Files\System\Ole Db\Oledb32.dll
C:\>regsvr32 C:\Program files\Common Files\System\Ole Db\Sqloledb.dll
C:\>regsvr32 C:\WINNT\System32\Atl.dll


Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top