473,544 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Do I Debug A Client/Server app in VS.NET?


I've built a remoting solution with a client and a server.

I want to start the server, and then run the client against it.

Since I can only make one project in a solution be the "Set As Startup
Project" how can I start the server, and then start the client, both in
debug mode?

Nov 17 '05 #1
3 1268
"ja*****@texeme .com" <ja*****@texeme .com> wrote in news:LOqdnZZwRq lXmi7fRVn-
iA@speakeasy.ne t:
I've built a remoting solution with a client and a server.

I want to start the server, and then run the client against it.

Since I can only make one project in a solution be the "Set As Startup
Project" how can I start the server, and then start the client, both in
debug mode?


Start two copies of VS.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 17 '05 #2
Or, you can right click on the solution and select "Properties ". Under
the "Common Properties" section, select the "Startup Project" item. On the
right, you are presented with three choices:

Current Selection
Single Startup Project (this is selected by default)
Multiple Startup Projects

Select the last option, "Multiple Startup Projects". Then, in the
window below that lists all of the projects in the solution, under the
"Action" column, select "Start" for the executables you want to run that are
included in the project. You can modify the startup order by highlighting a
project and clicking the up or down arrow buttons to the right of the grid.

Then, click "OK", and hit F5 to start the project, and both will run.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Chad Z. Hower aka Kudzu" <cp**@hower.org > wrote in message
news:Xn******** *************** ***@127.0.0.1.. .
"ja*****@texeme .com" <ja*****@texeme .com> wrote in
news:LOqdnZZwRq lXmi7fRVn-
iA@speakeasy.ne t:
I've built a remoting solution with a client and a server.

I want to start the server, and then run the client against it.

Since I can only make one project in a solution be the "Set As Startup
Project" how can I start the server, and then start the client, both in
debug mode?


Start two copies of VS.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/

Nov 17 '05 #3

Thanks!

I didn't know you could do that....

Nicholas Paldino [.NET/C# MVP] wrote:
Or, you can right click on the solution and select "Properties ". Under
the "Common Properties" section, select the "Startup Project" item. On the
right, you are presented with three choices:

Current Selection
Single Startup Project (this is selected by default)
Multiple Startup Projects

Select the last option, "Multiple Startup Projects". Then, in the
window below that lists all of the projects in the solution, under the
"Action" column, select "Start" for the executables you want to run that are
included in the project. You can modify the startup order by highlighting a
project and clicking the up or down arrow buttons to the right of the grid.

Then, click "OK", and hit F5 to start the project, and both will run.

Hope this helps.

Nov 17 '05 #4

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

Similar topics

9
4450
by: Vince C. | last post by:
Hi. This is a feature that is really going on my nerves as I've been writing SOAP Web services using ASP and SOAP toolkit 3.0. My web services ASP scripts send XML data to the client application. When I'm debugging under Visual Sudio, IIS prefixes *all* streams that go to the client with <!-- METADATA TYPE="ASP_DEBUG_INFO">. I'm using...
0
1475
by: Ralf Pelzl | last post by:
Hello, i've create a Web-project on an IIS6.0 (remote server running Win2003). I can debug that but only if i log in on the server locally. And i must be the same user as on the client machine. If i'm on the local machine user "XXX" i have to log in on the server as user "XXX". If i log in as "administrator" on the server i cant debug. If no...
1
1158
by: umen | last post by:
Hello im build very simple ATL server component (takes string from client an returns uppercase string) i like to debug this string from visual studio so i could see wha appends when i invoke the com object method and what appends in the object . so what are the steps to debug call from asp client to server ATL CO object? thank
1
3696
by: feng | last post by:
Hi, I have a VB.Net remoting project that has a simple Windows form remote client and a HTTP channle based remoting server. The client and server works fine except that I lost my "watching" capability on the server side all of a sudden. Now I can't make code stop at my server side brake point when my client hits the server. I used to be...
10
1888
by: Brett | last post by:
For some reason when I step into the code below, it jumps out on the second iteration at the line I have marked below. Nothing else happens - no errors. Dim tcpClient As New System.Net.Sockets.TcpClient tcpClient.Connect("127.0.0.1", 9005) While True Dim networkStream As NetworkStream = tcpClient.GetStream()
11
37008
by: serge | last post by:
When i debug a trigger is it possible to add a WATCH on the INSERTED or DELETED? I think not, at least I couldn't figure out a way to do so. Does someone have a suggestion on how I can see the values? I did try to do something like INSERT INTO TABLE1(NAME) SELECT NAME FROM INSERTED
46
24157
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
5
2046
by: pbd22 | last post by:
hi. i have a hidden iframe for uploading files. when i check the httpfilecollection on the server, it is always zero - the files never make it to the server. i know all the javascript is working correctly on the client b/c i have followed the local variables using venkman. so, something is happening on the server.
1
2524
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up in msvsmon.exe on the remote machine, however, the client box with visual studio displays error: "Unable to connect to the mricosoft visual studio...
1
2475
by: MaheBytes | last post by:
I have been facing a problem with UDP socket programming. I have to reuse port number for two different IP address. I am actually using SO_REUSEADD. I have no problem with debug version but with release version the bind is failing for 2nd IP address with the error code 10048. It's the error code for WSAEADDRINUSE. I am trying to with WinXP machine...
0
7385
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...
0
7642
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7796
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...
1
7405
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...
0
7737
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...
0
5950
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4938
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...
0
3440
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...
1
1861
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.