Applies to
ApexSQL Refactor
Summary
This article shows what should be done when "System.IO.FileNotFoundException" is displayed
SymptomsWhen starting Microsoft SQL Server Management Studio, "System.IO.FileNotFoundException" is displayed
Cause
Some system libraries are missing in the PublicAssemblies catalog
Resolution
x:/Program Files/Microsoft Visual Studio/Common/7IDEPublicAssemblies/
x:/ProgramFiles/CommonFiles/MicrosoftShared/MSEnvPublicAssemblies/
If there is no such file in the mentioned locations, try reinstalling SQL Server client components using the SQL Server installer
gacutil /l Microsoft.VisualStudio.CommandBars
If nothing is returned, run the following command to add the missing *.DLL to the Global Assembly Cache
gacutil /i [Full path to the Microsoft.VisualStudio.CommandBars.dll]
About ApexSQL Refactor
ApexSQL Refactor is a SQL formatter and database refactoring tool for SQL Server. Format SQL queries, refactor SQL code, database tables and much more
Last updated
July 30, 2012
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center