How to fix SQL Server Managment Studio?

Background:
I am still fairly new to MS SQL (2012).  Our company is converting from Sybase to MS SQL next month and I have been trying out tools to hook our code repository to the database code.  I have tried RedGate SQL Source Control and Agent SVN. 
I was having issues linking the RedGate product to our biggest converted test database and was waiting on their support so I uninstalled it to tried Agent SVN.  It seamed to work fairly well.  When RedGate got back to me I uninstalled Agent SVN.
The Problem: 
After I did that, SSMS would no longer start up.  When accessed either from a command prompt of by directly clicking on the application, nothing happens.  When clicking on the product in windows explorer, the cursor might change for a split second.
My Attempts to Fix:
I started by trying to repair SSMS.  No change.
I then uninstalled and reinstalled SSMS.  No change.
I then uninstalled SSMS, uninstalled all things .net, uninstalled all visual C++ items that were installed the same day and the original SSMS install and reinstalled SSMS.  Still no change.
Short of reformatting and reinstalling everything on my development computer, I am out of ideas.

Hi,
Have you tried to launch the SQL Server Management Studio by click Ssms.exe directly in the following path?
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe
If you have system restore enabled on your machine, you may restore the system to previous time and see if it helps.
To restore system will preserve all the software and files before the previous restore point. And all of your private date will be preserved.
Reference:
http://windows.microsoft.com/en-hk/windows/turn-system-restore-on-off#1TC=windows-7
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • How to change Font Size of Object Explorer in "SQL Server Management Studio"

    Dear Team,
    "SQL Server Management Studio" is a fantastic IDE for the database.
    There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
    Can you please accumulate this feature in IDE ASAP?
    Many Thanks,
    Bhavesh

    Its there
    Go to Tools -> Options
    Then under Environment you've fonts and colors tab where you can specify a higher font size.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to register VSPackage into SQL Server Management Studio?

    Hi All,
    I am a newer to VSPackage, I want to create a VSPackage for SQL Server Management Studio(SSMS), now I can create a VSPackage project and debug it in Visual Studio but don't know how to debug it in SQL Server Management Studio and how to deploy VSPackage to
    SSMS by MSI? Thanks

    By the way I find a extension.vsixmanifest file and some .pkgdef files under
    C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Extensions\  folder, and they are very similar with VSPackage files. Do know this is useful or not.
    Hi Vic Zhang,
    After some research, There are some notes. SQL Server Management Studio is built upon the Visual Studio Isolated Shell, which inherently supports extensibility (add-ins/plug-ins). It is possible to tap into the Visual Studio extensibility services to surface
    custom capabilities within SQL Server Management Studio; however, we do not discourage this, keep in mind that such extensibility is not supported, so there may be issues with backward/forward compatibility. Microsoft does not publish documentation for extending
    SQL Server Management Studio.
    If you want to debug VSPackeage about SSMS, I recommend you debug in Visual Studio and not in SSMS, open the project and attach to the process of SSMS.exe, then debug it.
    About the issue of finding the “RootKey”, a .pkgdef file is way to encapsulate application configuration information in an easily editable, distributable, and deployable form. And it registers the Extension Manager (which is written as a VS Package). If
    you install SQL Server 2012, the .pkgdef of SSMS is located in the following path, you can check the “RootKey” in this .pkgdef file.
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio
    There is detail about a PkgDef, you can review the following article.
    http://blogs.msdn.com/b/visualstudio/archive/2009/12/18/what-s-a-pkgdef-and-why.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to find a record then edit using sql server management studio

    Hello,
    A very basic question:
    I want to find a record stored in MS SQL Server 2008 express database table then edit the record.
    I tried to do it using SQL Server 2008 management studio express because I have been using MS Access database all the time. I have right clicked the table in management studio, clicked the "Edit top 200 records" menu item then when records were
    displayed on the result pane, I pressed Ctrl + F key to find a student named Simon for example. Well, nothing happened. I couldn't see any dialog boxes for putting in the search criteria.
    I guess I cannot simply use Ctrl+F in SQL Server management studio to find / edit a record.
    Can someone please teach me how to find a record specifying a search criteria then edit the record in SQL server management studio?

    Hi ZKM128,
    I have not seen Ctrl+F to be used to look for desired rows in Sql server.
    On the result pane after you selected "Edit top 200 records", just right click , select
    PANE, SQL, you will get the T-Sql query t,here you need to mention the exact criteria which you are looking for, and then you will get the desired rows and then you can edit.
    Thanks
    Manish
    Please use Marked as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • How to create a package without BIDS in Microsoft SQL Server Management Studio

    I have inherited some SSIS packages that I found I can edit by opening the .dtsx file in my local copy of Microsoft SQL Server management studio.  I then get Control Flow tab, Data Flow tab etc.  I can add or change or delete any of the control
    or data flows.  I have found that if I use the same path to the local file where the packages are stored that exists on the server, I can edit the dtsx file on my local machine and copy the dtsx file to the server into the same directory structure and
    sucessfully execute the package on the SQL 2008 server.
    I have VS 2010 installed.  I have read that I have to install VS 2008 to use BIDS from within VS.  However, this has not worked out very well.  Since I can basically create a new package by deleteing all of the control and data flows from
    an existing package, I am in pretty good shape.  However, I would just like to know if there is a way to create a new dtsx file from within Microsoft SQL Server management studio.  Also one thing I have not been able to change is the event handler
    name or package exploration name....it is just an annoyance since it does not cause any problems, just would like to be able to rename it.   

    Hi Fred,
    We cannot develop SSIS package in SQL Server Management Studio. If we use SQL Server Import and Export Wizard, we can save it as a package but the package is rather simple.
    We use Business Intelligence Development Studio (BIDS) or SQL Server Data Tools (SSDT) to develop SSIS packages. To develop SSIS 2008 packages, we must use BIDS installed by SQL Server 2008, and the BIDS 2008 can only be integrated with Visual Studio 2008.
    To develop SSIS 2012 packages, we use the SSDT installed by SQL Server 2012 which uses Visual Studio 2010 shell and can only be integrated with Visual Studio 2010.
    Different versions of SSIS package have different package formats/schemas. If you can create SSIS packages project in you Visual Studio 2010, it means that you have installed SSDT already, and the packages you design are SSIS 2012 packages. If you open and
    eidt SSIS 2008 packages in you Visual Studio 2010, the packages will be upgraded to SSIS 2012 package format. SSIS 2012 packages cannot be downgraded to SSIS 2008 packages or deployed to SSIS 2008 server.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to recover deleted attached mdf file from sql server management studio

    Hi everyone
    I've faced very bad problem
    I had a mdf file that created in visual studio, and then I had attached this file to sql server management studio and after that, when I wanted to deattach
    this file I had a big mistake; and deleted the mdf file; then now this file was deleted from my computer
    I test several recovery tools but they can't find deleted mdf file; the volume of the mdf file was more than 2 GB.
    Please help me if you can

    Hello,
    If you don't have a backup of the database, then it's not really possible to get it back. There are some "Undelete" Tools available for Windows, but when even only one page was overwritten on disk, then it's not possible to recover it.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012 SQL Express

    Hi,
    I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
    Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
    TITLE: Microsoft SQL Server Management Studio
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    BUTTONS:
    OK
    I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
    Installed the following fixes:
    1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
    2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
    These files was installed successful.
    How can I solve the problem?
    BR
    Jan Nilsson

    Hi Jan,
    Have you installed Visual Studio in your machine?
    The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
    The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
    C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
    See also the following for further details:
    http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to fix SQL server

    I was try to download SQL sample data(nordwind and adventurework), and install it. but I don't see these database and the server seems weird(the sql server management studio is gone). How to fix it?

     
    Hi peace,
    Do you mean you could not find the SQL Server Management Studio(SSMS) via Start -> All Programs -> Microsoft SQL Server?
    If this is only the shortcut issue, please follow the below link to open the SSMS:
    For SQL Server 2005, 
    please run sqlwb.exe in Command Prompt, and the default path is located to%Program Files%\Microsoft
    SQL Server\90\Tools\binn\VSShell\Common7\IDE.
    For SQL Server 2008 or SQL Server 2008 R2, please run ssms.exe in Command Prompt, and the default path is located to%Program
    Files%\Microsoft SQL Server\100\Tools\binn\VSShell\Common7\IDE.
    If there are any more questions, please feel free to let me know.
    Thanks,
    Weilin Qiao
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Daily backup on Ms sql server management  studio (MS sql 2005).

    I wander how to perform daily backup on Ms sql server management  studio (MS sql 2005).
    In sql server  Entereprise manager (MS sql 2000) I had no problem to shedule.
    But now I do not find this option

    Hi
    Please follow these steps in SQL Server Management Studio in SQL Server 2005 and <b>award points</b>
    1. Start SQL Server Management Studio.
    2. In the Connect to Server dialog box, click the appropriate values in the Server type list, in the Server name list, and in the Authentication list. 
    3. Click Connect.
    4. In Object Explorer, expand Databases.
    5. Right-click the database that you want to back up, click Tasks, and then click Back Up.
    6. In the Back Up Database - DatabaseName dialog box, type the name of the backup set in the Name box, and then click Add under Destination.
    7. In the Select Backup Destination dialog box, type a path and a file name in the Destinations on disk box, and then click OK.
    8. In the Script list, click Script Action to Job.
    9. In the New Job dialog box, click Steps under Select a page, and then click Edit if you want to change the job parameters.
    Note In the Job Step Properties - 1 dialog box, you can see the backup command.
    10. Under Select a page, click Schedules, and then click New.
    11. In the New Job Schedule dialog box, type the job name in the Name box, specify the job schedule, and then click OK.
    Note If you want to configure alerts or notifications, you can click Alerts or Notifications under Select a page.
    12. Click OK two times.
    You receive the following message:
    The backup of database 'DatabaseName' completed successfully.
    Note To verify the backup job, expand SQL Server Agent, and then expand Jobs. When you do this, the SQL Server Agent service must be running.

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Impossible to open .dtproje file after re-installing SQL Server Management Studio

    Hi all,
    today, after re-installing SQL Server Management Studio from a package downloaded from MS web site (SQLManagementStudio_x64_FRA.exe), I tried to open a SSIS package file via Visual Studio and I get a message stating that  this type of project (.dtproj)
    is not supported.
    Here are the events that lead to this problem:
    We have SQL Server 2005 installed on a server and are planning to migrate to SQL Server 2012.
    1 - Earlier this year, to solve a problem that we had with the SSMS client, we installed SSMS 2012 client on my station.
    At this point, it worked fine for SSMS and when I tried to access SSIS it converted the packages  to SSIS 2012 and it worked fine too.
    2 - Yesterday, I tried to access SSMS and I had the message that the test period had expired; at this point I could open a SSIS file.
    3 - To solve the problem with SSMS we decided to re-install it. It worked fine for SSMS but now I am not able to open a SSIS file.
    Do you have any idea of what the problem is and what should I do to solve it?
    It seems that there are some SSIS component missing, how could I get them back?

    You are welcome Sylviep,
    Based on what I see you want to create BI projects (e.g. a SSIS project), thus it will be enough to install SSDT
    which is part of the SQL Server installation media. I do not see why you would re-install SQL Server itself.
    Arthur My Blog

  • Cannot connect to any database either in Azure or Sql Server Management Studio

    I'm unable to connect, this page just hangs on azure and from sql server management studio I get the following error - A Network-related or instance-specific error occurred while establishing a connection to SQL Server,

    Hello,
    Before you can connect to your SQL Database server, you must use the
    Windows Azure Platform Management Portal to configure the SQL Database firewall: on the Firewall Rules tab of the SQL database server, add the IP address of your computer into the IP address range.
    What's more,Windows Azure SQL Database does not support Windows Authentication. Please use SQL Server authentication in your connection string.
    Reference:How to: Configure the Server-Level Firewall Settings (Windows Azure SQL Database)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Transaction log backup through SQL Server Management studio

    Dear All,
    I need to configure transaction log backup through SQL server management studio.
    It is already being configured for our PRO server(not by me) and now I want to configure it for DEV server.
    In PRO I am taking it through(SID/right click/task/backup)
    Then under backup type only full and differential option is coming for DEV.
    Whereas for PRO all three(full/differential/transaction log) is coming.
    Please suggest how to do it for DEV.
    helpful suggestion will be duly rewarded.
    Regards,
    Ashutosh

    Hi,
    Just go to the database you want
    right click then properties then options
    then set recovery model to full.
    Hope this helps .
    Regards,
    Vamshi.

  • Microsoft SQL Server Management Studio

    Dear Sir,
    Where can I download Microsoft SQL Server Management Studio
    to be used with SQL Server 2012 Express using windows 8.1?
    I have tried /www.microsoft.com/en-us/download/details.aspx?id=29062
    But the available download for 64 bits is Microsoft SQL server management Studio 2008.
    When I try to install it I get an error of incompatibility with w8.1.
    Regards,
    Hector Rovira

    Hi HRovira,
    According to your description, before you install SQL Server on a computer that is running Windows 8.1 , as other post, you must apply SQL Server 2012 Service Pack 1 or a later update. For installing SQL Server 2012, you should enable .NET Framework 3.5,
    There is detail about how to install SQL Server 2012 on Windows 8.1, you can review the following article.
    http://www.c-sharpcorner.com/UploadFile/47548d/how-to-install-sql-server-2012-on-windows-8-1/
    To obtain SQL Server 2012 SP1, go to the following Microsoft website:
    http://www.microsoft.com/en-us/download/details.aspx?id=35575
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • SQL 2008 R2: Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again

    When starting SQL Server 2008 R2 it hangs , and I cannot exit...so when  trying to logoff to reset I get the following "Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again"Any
    ideas?

    Big edit...
    I have 2008 R2 SP2 installed on my Windows 7 Machine which is also fully updated.  The marked answer above is clearly not the solution.
    The fix I had posted before did not work.  It appeared to work temporarily, but now I am back to the same invisible dialogue.  I have not been able to identify any pattern by which this is triggered.  I can have an entire day without this
    issue and then it appears the next.
    The invisible modal dialogue is definitely the connection dialogue.  The only way out is to hit the escape key to close it, but then I am no better off without an ability to connect to a server.  The dialogue is still invisible when I re-open it.
    However, even as I type this post, I have just gotten the dialogue to appear after restarting Management Studio, hitting escape, then clicking connect again.  That same pattern failed just minutes ago numerous times.  Again, I can't find any pattern.
    See you in the clock tower.

Maybe you are looking for

  • How to attach data to url of a jsf page in sun creator

    Can somebody tell me how to attach data to url of a jsf page for example String url="http://w-ngphc-0672.ng.ad.ep.corp.local:8080/Questionnaire/QuestionnaireConnector.jsp?ticket_id="+C.getTicket_id(); accesing this url uses value of C.getTicket_id()

  • FileNotFoundException Url /site_files/include/js/internet2_dcs_tag.js. How to find which page requested it, or locate the folder?

    Hi, I'm getting a frequently recurring error in the logs, as follows: GetFileFromUrl: FileNotFoundException when attempting get file Url /site_files/include/js/internet2_dcs_tag.js The system cannot find the file specified. (Exception from HRESULT: 0

  • Need help with Shared Services Role

    Hello, I am trying to create a Native Directory group which will allow the users extract all the Application Elements, but restrict them from loading anything to the system. This group should only have the ability to view the objects and not edit the

  • Colourmaps. Please help

    I am developing a colour palette much like the one used by Microsoft paint. I however do not know how to program this in java and was wondering if anyone can help me out in this difficult task. The thing is I need to program the RGB colour model and

  • CS6 Pantone libraries are not in numerical order

    In fact, they are random. For example, when creating a duotone, I click in the color area and I'm given a list of the Pantone colors in that library. If I click on the up arrow it gives me seven colors at a time. A reasonable person woud assume that