CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 12/10/2007 11:25:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
khuziz
Asp.Net User
Debugging solution with multiple web apps launches each app12/10/2007 11:25:09 AM

0/0

I am using VS 2008 RTM to debug a solution that contains multiple web application projects. When I press f5 or run to debug a single project, a web server for every web app in the solution is started, and a WebDev.WebServer.EXE process is created for each. The solution properties has 'Single startup project' selected, not 'multiple startup projects'. The web browser opens correctly to the designated project- only multiple server instances are started. The same problem occurs if I debug tests. How do I ensure that only the server for the current startup project is launched?
Khurram
Benson Yu - MSF
Asp.Net User
Re: Debugging solution with multiple web apps launches each app12/12/2007 2:11:08 AM

0/0

Hi Khurram,

This is the by design behavior. I have replied a similar issue before. The workaround is setting the same port for each project. For more information about this issue, please refer to my reply in the following thread. Thanks.

Debugging website in a solution with many websites starts many web server instances
http://forums.asp.net/t/1098901.aspx

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
khuziz
Asp.Net User
Re: Debugging solution with multiple web apps launches each app12/12/2007 5:57:56 AM

0/0

Thanks for the reply and clarification that "its not a bug but a feature" :)

When I specify the same port in different web application projects; and debug the solution with a specified startup project; I get the following errors..(I tried even specifying different virtual paths but with same port).....though a single instance of webdev.webserver runs: its even more annoying!

WebDev.WebServer.exe has stopped working
Description: Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: webdev.webserver.exe
Problem Signature 02: 9.0.0.0
Problem Signature 03: 4731664b
Problem Signature 04: System
Problem Signature 05: 2.0.0.0
Problem Signature 06: 471ebf0d
Problem Signature 07: 2c04
Problem Signature 08: 40
Problem Signature 09: System.Net.Sockets.Socket
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033

My solution has a winforms app and few web application projects. The winforms app is the startup project for debugging. The first time, debugger works fine; break points get hit. But when I stop debugging; change some code and re-debug (hitting F5) Visual Studio reports "Error while trying to run project: Unable to start debugging." I have to manually shutdown the webdev.webserver before second debugging session. The solution and projects are migrated from Visual Studio 2005. The target framework for all the projects are .NET 3.5. I have tried creating a new solution with multiple web application projects and a winforms project; its debugging expereince is fine...though the above "webdev.webserver has stopped working" issue with single ports on all web app projects is still there....


Khurram
Benson Yu - MSF
Asp.Net User
Re: Debugging solution with multiple web apps launches each app12/13/2007 1:45:36 AM

0/0

Hi Khurram,

Thanks for your feedback. For this secnario, I recommend you using IIS as the web server, then you will not encounter this issue. About how to change existing web projects to use IIS as web server, please refer to my reply in the following thread:

do I need to publish my website to be able to access it via server name?
http://forums.asp.net/t/1168282.aspx


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
khuziz
Asp.Net User
Re: Debugging solution with multiple web apps launches each app12/13/2007 5:27:10 AM

0/0

I removed all the webprojects from the solution, saved the solution and then re-added the web projects. The debugging expereince (Unable to start debugging on subsequent F5s) is normal now. Running webdev.webserver for all web projects I guess is not that big issue any more; I think we can live with it till we re-organize our solutions merging these different web projects.


Khurram
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Developing Visual Studio .NET Macros and Add-Ins Authors: Jeff Cogswell, Pages: 456, Published: 2003
The Book of Visual Basic 2005: .NET Insight for Classic VB Developers Authors: Matthew MacDonald, Pages: 490, Published: 2006
Anti-hacker Tool Kit Authors: Keith John Jones, Mike Shema, Bradley C. Johnson, Pages: 711, Published: 2002
COM and .NET Component Services: Component Services Authors: Juval Löwy, Pages: 362, Published: 2001
BizTalk 2006 Recipes: A Problem-solution Approach Authors: Mark Beckner, Ben Goeltz, Brandon Gross, Brennan O'Reilly, Stephen Roger, Mark Smith, Alexander West, Pages: 533, Published: 2006
Microsoft SQL Server 2005 Integration Services Authors: Kirk Haselden, Trey Johnson, Pages: 717, Published: 2006
.NET: A Complete Development Cycle Authors: Gunther Lenz, Thomas Moeller, Pages: 553, Published: 2003
Programming WCF Services Authors: Juval Lowy, Pages: 768, Published: 2008
Visual Studio Hacks: Tips & Tools for Turbocharging the IDE Authors: James Avery, Pages: 478, Published: 2005
Mastering Visual Studio .NET Authors: Ian Griffiths, Jon Flanders, Chris Sells, Pages: 397, Published: 2003

Web:
MSDN Debugging solution with multiple web apps launches each app Debugging solution with multiple web apps launches each app. I happened on the fix today. If you select a project in the solution, then go to the properties ...
Debugging solution with multiple web apps launches each app - ASP ... Debugging solution with multiple web apps launches each app. Last post 12-13- 2007 12:27 AM by khuziz. 4 replies. Sort Posts: ...
Bungee Launches PaaS for Building Web Apps in the Cloud - ReadWriteWeb Feb 18, 2008 ... An IT Manager who uses Bungee to bring an in-house web app to their mobile ... is to the Bungee Grid itself, not each and every end user. ...
Why does Visual Studio launch multiple WebDevs when I debug ... EXE) for that application, VS also launches 3 additional such processes - one for each of 3 other web applications I have in the solution. ...
LISA Features: Web testing, web app functional & load testing, RIA ... Dynamic web applications need a dynamic testing solution, and LISA delivers:. Multiple roles. LISA is no-code automated testing, meaning developers no ...
Judd Solutions - Debugging in JBuilder Figure 7 - Multiple processes appear as multiple tabs in the Message View each with its own debug toolbar. Web Debugging. Web applications in Java usually ...
Troubleshooting and Debugging Visual DataFlex 9.1 Web Applications Jan 30, 2004 ... Remote debugging is not supported with either Windows or Web applications. However, you can run the application on your machine and connect ...
Visual Web Developer Team Blog : Solution / Hotfix: Developing web ... Solution / Hotfix: Developing web applications using Visual Studio 2005 and ... Studio 2005 to F5 debug web applications on IIS7 in Vista Home versions. ...
LifeCycle Solutions, LLC - Weblog If you create multiple web applications within a single solution, ... by default VS will launch a "Cassini" WebServer for each web application project. ...
Debugging in Visual Studio .NET NET, you can launch multiple processes and debug them at the same time. .... This method of debugging also works for Web applications that call SQL Server ...




Search This Site:










webhost4life account hacked

using formsauthentication.authenticate in web service?

club starter kit 2.0 beta 1

can't add new module anymore

error after creating 'manage.aspx'

can't login after applying a skin

get guid from newly created user?

changing the link to online help

logout broken (0.95)

navigating within the module

will dnn v3 every be stable?

viewstate error

unable to install start kits

remote development with visual studio

eُncrypting links ?

problem with users display

role management using active directory security groups

body width

dhtml context menu with htmltablecollection

cookie problem (remember login) ever getting fixed?

problems using unmanaged c dll from iis web site

why don't all the modules show in the admin tool bar?

how to edit powerpoint using vb.net

how to check windows group membership of a user other than the current user?

image gallery paging

parser error: requiresquestionandanswer

menu control configuration

tricky question: asp.net 2.0 form authentication login issue

i.e. treeview control + xpath

persisting custom control across pages

 
All Times Are GMT