473,573 Members | 2,686 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 1270
"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
1477
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
1159
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...
10
1895
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
37013
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
24176
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
5
2048
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
2527
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
2477
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
7746
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...
0
7668
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...
1
7736
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
8036
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...
1
5556
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...
0
3701
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
2167
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
1
1269
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.