The SQL Server Management Studio Object Explorer menu disappeared. The shortcut F8 and the view->object explorer method neither do anything. I have clicked everything on the keyboard, googled around, but nothing.
I really need this back, it's a massive hassle having to navigate through the summary window without the object explorer tree view!
I just had this, and the menu option...
Window > Reset Window Layout
...worked a treat.
I have seen this same problem when double-clicking on a SQL file when SSMS is not already open. When this happens, an SSMS console gets opened automatically, but none of the windows are present, and some of them cannot be enabled. To avoid this, simply open SSMS first, and THEN click on the SQL file you were trying to open.
Tools --> Options --> Keyboard --> Keyboard --> Top Drop Down list click change from (Default) to the other one such as Visual Studio 2010 Compatible. Click ok.
After this options settings is edited and F8 is pressed the object explorer will open.
Stellar question. One option is to edit the Keyboard Options within SQL Server Management Studio.
Hope that helps people!
[Windows] -> [Auto Hide] helped me
Are you sure it isn't actually somewhere else on screen (i.e. has been clicked and dragged somewhere else?)
Related
Using Microsoft SQL Server Management Studio 18.
I have somehow lost the run button on my toolbar, along with the dropdown to select what database I am running my script against. I now have to work with a remote Azure database and would really like having that dropdown showing what context I am in.
This is what my toolbar currently looks like
I have tried Windows->Reset Window Layout and I tried clicking arrow at the far right of the toolbar->Add or Remove Buttons->Reset Toolbar, but neither of these seem to restore what I am missing.
How can I get back my run button and the Database selector dropdown to select what my script is running against?
You can follow those steps
View -> Toolbars -> [choose] SQL Editor
So I messed up my sql server management studio when I was trying to make it have a "dark theme" as I use it a lot and it was starting to wear on my eyes. While doing this, I specified for the output window to have a black background with white text. Then I realized that the output window wouldn't give me a black background anyway, sigh, but it would give me white text. So now I have this lovely problem where there is white text on a white background that can only be faintly seen when highlighting the results...
It's very annoying. I know I was stupid to try to give SSMS a "theme" but I had to try something.
So now the problem. When I go back in to try to edit the settings for the output window (Tools -> Options -> Environment -> Fonts and Colors -> Output Window) to try to restore defaults or change any color, SSMS crashes.
Does anyone know how to reset all styles for SSMS, or change a specific style (like making text black again) or anything? I really don't want to have to reinstall SQL Server.
This is SQl Server Management Studio 2014
Had the same issue as you but found the solution.
Choose another option under "Show settings for:" after you reset the "Use Default" for "Text Editor" and before clicking on OK.
MS SQL Server Forum post
Just in case if you still haven't get your answer, you should be changing Grid Result instead of Output Window.
I have a solution in Visual Studio 2013, where among the others I have also a Database project. This project contains some .sql written in T-SQL.
IntelliSence and Parse (SQL (on visual studio menu) > Parse) do not work. I have gone through this Troubleshooting guide and many question on SO, but nothing worked.
As I understand is something in project setting that I need to configure or some leftovers I need to clean.
Any suggestions ?
In brief
IntelliSence is enable
SQL CMD is Disabled
In SQL Server Explorer there is an entry (localdb)\ProjectsV12 containing my DB.
Other solutions opened on the same instance of visual studio work fine
ReSharper is installed but is not the issue (I also tried without it)
Note:
The solution (the one that has issues) was created in a previous version of Visual Studio.
Update 15/12/2015
After some digging I found out that the issue may has something to do with the .v12.suo file (which is located alongside with .sln file and is hidden). Copping this file from a similar solution (one that IntelliSence works) eliminates the problem.
Another workaround that it may help, is to go to the "Database Project" properties (right click on the project in Solution Explorer and then select Properties), on the Debug tab and press Restore Default in "Target Connection String". In my case this just changes the Initial Catalog= value to Database and like "magic" IntelliSence works again! (in some cases it may need to restart the Visual Studio)
After this even if I restore (using Edit) the "Target Connection String" to the previous values the IntelliSence continues to work.
Sometimes I miss the 1 or the F2 in my computer keyboard when using SQL Server Maganement Studio, that causes my SQL MS to hang and the I have to close it with the Task Manager, but many time I loss a lot from the queries I was working on, so I would like to fix this problem,
Maybe someone here has the same problem.
Microsoft Document Explorer
The Application Data folder for Microsoft Document Explorer could not be created
Right click on the SSMS program (in the start menu / desktop) and select "run as administrator". Do whatever you do to cause SSMS to hang, quit and re-run as normal user. This should remove that warning.
After many intents to solve this problem, I received this message:
External help is not available because Microsoft Document Explorer is
not installed. To view help, change your Help preferences to use the
Integrated Help Viewer or Install Microsoft Document Explorer
I tried to do it at Tools->Options->Help->General->
Show Help usaing: Integrated Help Viewer
Search Result per page: 20
Show Topic abstracts: checked
Reuse Topic window: checked
Highlight search termn: checked
I had to tried many times until SSMS wanted let me to do it.
Now the problem has been partially solved, when I press F1 the SSMS does not hang, but when I still try to change something in the help options, then chunks..
I have a scripted database SQL file that I need to execute inside Visual Studio to create a new database. I am so far unable to locate any function that allows me to do this.
Go to server explorer in VS, right click on server and select run query.
Do you mind telling us why it has to be run inside VS?
In addition, the database projects offers a lot of features that are worth looking at:
http://www.informit.com/articles/article.aspx?p=31764 //old article but still worth reading.
http://www.ssw.com.au/ssw/standards/BetterSoftwareSuggestions/Images/VisualStudio_DataDude_SchemaCompare.gif
http://www.emadibrahim.com/2008/07/10/database-schema-compare-upgrade/
There is a green arrow of play on the upper left corner of the window query. And down the tabs of the names of open files in VS. Just click to play and ready.