473,671 Members | 2,580 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 22 '05 #1
6 1587
"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 22 '05 #2
"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 22 '05 #3
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 22 '05 #4
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 22 '05 #5

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 22 '05 #6

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 22 '05 #7

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

Similar topics

9
4453
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
1479
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
1163
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
1902
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
37024
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
24212
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
5
2053
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
2529
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
2479
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
8485
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
8403
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,...
1
8605
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
8677
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
6238
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
5704
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
4417
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2819
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
2
1816
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.