473,832 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio 2003 to SQl Server 2000

Is it possible to debug a stored procedure in SQL Server 2000 from VS 2003 ?
Thanks,
Smith
Nov 21 '05 #1
3 2256
On Tue, 7 Jun 2005 14:13:35 -0700, "Allen Smith"
<AS***********@ hotmail.com> wrote:
Is it possible to debug a stored procedure in SQL Server 2000 from VS 2003 ?
Thanks,
Smith


Depends on what you mean by debug. You can trap SQL errors with a
Try/Catch structure and in the Catch you can display the SQL error
with the Exception.Metho d property.

Nov 21 '05 #2
Yes it's possible. See
http://msdn.microsoft.com/library/de...ldebugging.asp

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)

"Allen Smith" <AS***********@ hotmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Is it possible to debug a stored procedure in SQL Server 2000 from VS 2003
?
Thanks,
Smith

Nov 21 '05 #3
Yes you can. Search the MSDN help file for 'debug stored procedure' and
you'll find everything you need to know.

Briefly, you right-click on the stored procedure from the server explorer,
and select 'step into stored procedure'. Once you're in, you are prompted
for any input parameters and then can step through the procedure. You have a
locals window, a watch window, and can set break points and so forth.

One thing you'll probably have to do manually is give yourself execute
permissions on the master.sp_sdide bug stored procedure, which you'll find in
the extended stored procedures section in Enterprise Manager.

So far I haven't found any way to leave a breakpoint in the stored procedure
and have it hit from application code. It doesn't look like it's possible.

Tom Dacon
Dacon Software Consulting

"Allen Smith" <AS***********@ hotmail.com> wrote in message
news:#D******** ******@TK2MSFTN GP09.phx.gbl...
Is it possible to debug a stored procedure in SQL Server 2000 from VS 2003 ? Thanks,
Smith

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1133
by: Sam Vanhoutte | last post by:
Help, I reinstalled my laptop with the new Windows 2003 server, standard edition. I also installed Visual Studio.NET 2003. And here it goes wrong! When I start up Visual Studio, it takes more than a minute to load. On the same laptop with W2K Server, VS.Net went much faster. What can cause this problem? This is the sequence in which I installed my applications: - Windows 2003 Server - Winzip, PC Anywhere 11, MCAfee Virus Scan 7.11
0
1783
by: Jeannette | last post by:
Hi! We currently use SQL Server 2000 Enterprise Edition and Visual Studio.NET 2003. Now, we are comparing the Crystal Reports for Visual Studio.NET 2003 with the SQL Server Reporting Services so that we will be able to choose a reporting tool that works best for us. My questions are as below. 1) Is there any online information available detailing the similarities or differences between the reporting services and the Crystal Reports...
17
2602
by: Andi Plotsky | last post by:
I am not a .NET developer. I want the Developer's Edition of Visual Studio for use with my Access2000 databases. Does anyone have a clue as to where to find it - my office manager says only .NET is available from any websites she's searched. Anybody have a used copy they'd like to get rid of? Is/should it be impossible to get hold of this product? My understanding is that .NET doesn't offer that much as far as Access development is...
4
1854
by: wASP | last post by:
Hi, I am contemplating the purchase of Microsoft Visual Studio .NET, and I've noticed that the prices range anywhere from $200 to $600 USD: <+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+>-<+> http://www.calibex.com/Microsoft-Visual-Studio-NET--zz57175175z0znz1zvisual _studio_netzcalibex1zB9bz2--COMPARE-PRICES-html Microsoft Visual Studio .NET Lowest Price:
2
2031
by: Belee | last post by:
1. I am using sql server express and visual studio 2003. I have been able to create the connection to the database in server explorer but cannot update table definitions. It gives an error that I may need a patch or changes would not be saved. So I have to do the table changes in SQL Express Management studio. 2. When I modify a stored procedure in the management studio of sql express, it does not update but rather saves it the...
5
2584
by: Patrick Olurotimi Ige | last post by:
Hi, I have VStudio.Net 2003 installed but can i install Visual Web Developer also on the same PC. My current .Net Frameork version is 1.1. Will the Visual Web Developer install ASP.NET 2.0? And if i do will it affect my other applications? I want ot build ASP.NET 2.0 apps!!!
5
3816
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems; a.. Under the "Connection" tab, under "1. Select or enter a server name:" when I either select the drop down box or click the refresh button I get an error dialog saying "Error enumerating data servers. Enumerator reports Unspecified error'". The...
1
2443
by: Philip Leduc | last post by:
Hi there, I am a MS Access VBA programmer trying to get my feet wet using VB.net / SQL server. I have SLQ 2000/visual studio 2003 loaded and did get a SQL2005/visual studio 2005 software through the MS launch. I am now wondering how to setup my laptop so I can use theh two sets together (not at the same time of course). I have also been told there might be issues of interaction between framework
4
3162
by: Cindy H | last post by:
Hi I am currently using Visual Studio.Net 2003 running on Windows Server 2000 operating system. I have used Visual Studio.net 2003 connecting to Access 2002 databases in the pass with great success. Now, I have a need to go to Access 2007 which produces database.accdb file instead of database.mdb. I've used ole db Jet 4.0 to connect to Access 2002 in Visual Studio.Net 2003, now I guess you need to use Microsoft Ace 12.0 to make a...
5
1819
by: Salad | last post by:
As far as I'm concerned I support the chopping off of fingers of programmers that put out worms and viruses. I could care less if the programmer was 5 years old...off with the fingers. Anyway, I installed Visual Studio 2005 for Office Applications. Since then I've been getting messages that a worm attack "MS SQL Stack BO" has been attempted on my system. This link describes the worm....
0
9795
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10499
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10541
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10212
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7753
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3972
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.