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

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 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 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 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]

  • 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

  • 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

  • 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

  • OBIEE 11g installationwith sql server management studio

    Hi All,
    I am trying to install obiee 11.1.1.6.0 into my machine with window 7 and Microsoft Sql Server(Management studio) as my backend.
    When i run the Rcu i get an error saying
    Invalid Server name/Port number. Please specify correct Server name/Port number
    I have given my system name as the server name also tried giving localhost,local and port nno as 1433 but no luck
    can anyone please help me in this?
    Many thanks in advance!!!!

    Do the following:
    Check whether your telnet client is active or not .
    Go to Control panel -> Programs and features -> Turn Windows Features on or off -> Turn on if checkbox is not selected.
    Run telnet command :
    telnet host port
    If blank screen appears , your SQL Server is connected .If not you see an error message.
    If you are not sure about the port number ,
    SQL Server Configuration Manager -> Protocols for SQLEXPRESS -> TCP/IP -> Right click TCP/IP , Select Properties and then IP Address tab to look for port number .
    (If you find TCP/IP disabled , enable it)
    Thanks,
    Vidya Bhushan

  • 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.

  • Import multiple files using sql server management studio

    Using sql server management studio I want to do 2 things.
    - Import all txt files from a directory as tables into my DB.
    - Add an additional field to each new table which contains the table name.
    Can anyone help me?

    There are couple of ways to do it:
    File naming conventions : YourFileName_SystemId.txt
    You can create one extra column in table or may be name a table with system id. Then after loading the data you can update that column with the system id.
       components required:
     ForEachLoopContainer - To get file and store file name in a variable
     Expression Task (if SSIS 2012 or above) or variable expression or script task to seperate file name from systemId
     Data Flow Task - to load data
     Execute SQL Task - to update last column or specific table based on precedence constraints  
    Note: You can also add extra column in data flow via
    derived column transformation.
    Ex.:
    Load file via foreach loop
    Split string via seprator
    2: Loading different system file in different folder
    you can have predefined folder structure ex: SystemId1, SyetemId2 etc and can download respective txt file in their system folder. Then you can easily identity which file belong to which system and then load it to the respective table.
    3: Use first row of text file to hold the system value
    Use first row to have the system id and then skip row while fetching data. 
    Note: Then you have to read first row through script task to get the system id.
    hope this will help

  • 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 Server Management Studio - File Encoding

    I have been searching the forums for this issue and I haven't found anything on it so I apologize in advance if this issue has already been covered. My eyes are droopy and the coffee supply is low.
    Is there a way to always save a file as UTF-8 or ANSI in SQL Server Management Studio? In analyzer you could save as ANSI, etc.
    - d

    That's very useful feedback.  Could you please file a suggestion on http://connect.microsoft.com/SqlServer? 
    The product teams use customer feedback to help prioritize future work.  Filing the suggestion on the Connect site does two things:  First, it ensures that your suggestion goes directly into our internal issue tracking system and we don't lose any information.  Second, suggestions from customers carry more weight than those proposed by employees, so filing suggestions on Connect can have a bigger impact on future improvements.
    Thanks,
    Steve

Maybe you are looking for

  • Error in the Hierarachy structure

    Hi Gurus,, I got one error like Error in the Hierarach structure while daily loading from R/3 to BW , so pleace give me the solution for this error:,how to salve it Thanks& in advance Nave

  • Work around for iTunes not working with shuttle

    Well, I have found a work around for the iTunes not working the the Shuttle. It is not pretty, and many of you may not choose to follow my lead. This procedure has a lot of dumb steps in it, but in the end, one can copy data/songs to a Shuttle. It in

  • Problem in configuring third party JMS provider

    Hi, I am having a problem in configuring Sun MQ 4.4 JMS provider with weblogic 10.3.I tried the following method:- 1. Created a new outbound connection pool. 2.In the properties for the connection pool :- ConnetionFactory Location :- myTestCF (this i

  • Total Excise Duty not coming in MIGO

    Hi All, For a PO in MIGO am getting Total Excise tab in header level(in Excise invoice tab) but the same is not coming in item details.Please let me know what is wrong? Thanks, Rakesh.

  • This is RIDICULOUS​!!!! "currently unavailabl​e"

    Yes, I know about the "currently unavailable" issue that would happen randomly BUT now it happens on just about every other channel I turn to!!!! I have to keep flipping back and forth to the channel I want to watch and hope it comes up!!! And NO I a