question

jackandjill avatar image
jackandjill asked

Creating a SSMS add-in from VS2010

I am trying to create an add-in by using the article below http://blogs.microsoft.co.il/blogs/shair/archive/2008/07/28/how-to-create-sql-server-management-studio-addin.aspx I know this article is a bit outdated but i managed to get as far as this article again http://jcooney.net/post/2007/11/26/The-Black-Art-of-Writing-a-SQL-Server-Management-Studio-2005-Add-In.aspx here once i reached when the part adding the external program to run upon debug i was met with this nasty error ![alt text][1] [1]: http://ask.sqlservercentral.com/storage/temp/143-sF2Jx.png
ssms.net
sF2Jx.png (28.4 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image
Fatherjack answered
That isnt an error. You can get this simply by typing "ssms.exe /?" at a command prompt. It is giving you the valid switches that can be used. Does you code match the switches described?
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Usman Butt avatar image
Usman Butt answered
Looking at the last link you provided, the best could have been to seek the help from the original writer of the code. Moreover, if you go down the page of that link, in "TODO Tasks and Excuses for my Lame Add-in Code" the blogger explicitly stated that it does not work with SQL 2008(above to be assumed the same). Since you are mentioning ssms.exe, it means you are using SQL 2008 or above. So I do not see any point troubleshooting this error unless you have the plan to make it work for SQL 2008 and above.
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi usman tks for the clarification so what do you suggest that i can do for the SSMS08r2 to make this work?tks
0 Likes 0 ·
Well, that is something you have to sort out yourself :) I have no idea at the moment.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.