Debugging a stored procedure from Visual Studio
-
vendredi 16 mars 2012 14:31
I have Visual Studio 2010 and I just upgraded to SQL Server 2012.
I want to debug a stored procedure from managed code. I add the server under Data Connections in Visual Studio, and then when I want to expand the procedure, I get this message:
"The server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported."
Does anybody know of what it's and how to work around it?
Thank you.
Evgueni Tsygankov
- Modifié Popsovy vendredi 16 mars 2012 15:07
Toutes les réponses
-
vendredi 16 mars 2012 18:34
Sounds like you are hitting a compatibility issue with SQL 2012
In past VS 2005 had issue connecting to SQL 2008 and it got fixed in one of the service packs.
Report this to Microsoft at http://connect.microsoft.com/sqlserver
-
vendredi 16 mars 2012 19:41
Don't know if this helps, but...
RLF
-
vendredi 16 mars 2012 20:23I already have SP1 installed, so it must be a compatibility issue.
Evgueni Tsygankov
-
vendredi 16 mars 2012 20:50
SSDT is released with the release of SQL Server 2012, even though it can also manage earlier versions SQL Server.
I understand that SP1 is installed, but just wanted to make sure you saw this line:
"Manually reapplying this pack will perform the necessary actions to repair this problem."
That may not be your problem, but you could try manually reapplying VS 2010 SP1.
All the best,
RLF- Marqué comme réponse Stephanie LvModerator mardi 27 mars 2012 08:59
- Non marqué comme réponse Popsovy mercredi 16 mai 2012 15:12
-
lundi 19 mars 2012 07:22
check this tutorial, You will get an idea
http://www.dotnetspark.com/kb/3799-steps-to-debug-stored-procedure-sql-server.aspx

