473,610 Members | 2,003 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 1272
"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
4452
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 XMLHTTP in some cases to receive data. Neither XMLHTTP v3 nor v4 seem to accept this as valid XML. I...
0
1478
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 user is logged in on the server, nobody on the client can debug. This issue is'nt depend on user on...
1
1162
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
3697
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 able to
10
1898
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
37019
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
24201
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
5
2050
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
2528
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 remtoe debugging monitor named 'the box name' the micorosft visual studio remote debugging monitor...
1
2478
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 using Visual C++ 6.0. The application which we are using needs to connect to Primary and Backup...
0
8591
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8558
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...
0
8411
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...
0
7031
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6069
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
5526
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
4037
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...
0
4104
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2541
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.