Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 12th, 2004, 07:17 AM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default visoal studio.net debug problem


I am having this problem.I have used the Debugger before and actually was using it with
this current application until something change and I don't know what. Now when I try
to debug it gives this error:
"A project with an Output Type of Class Library cannot be started directly. In order
to debug this project, go to the Debugging tab under Configuration Settings in Project
Properties, and set the Start Action to Start External Program or Start URL.
Alternatively, you can add a non-library project to this solution that uses a
reference to this project and set it as the startup project. "
Its a ASP.NET Application running a ASP project.
I have tried all of these suggestion and nothing has worked for me. Could somebody
please tell what could be causing this and maybe more specifics on how to remedy it. Thanks a lot

 
Old November 12th, 2004, 09:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Go in to IIS and make sure that it is set as an application.

J
 
Old November 12th, 2004, 10:08 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This error usually occurs when your solution start project is set to a class library assembly other than a web project assembly. It sounds like you have somehow changed the start project of your solution. Right-click on the web application project and choose "Set as start project".





Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Problem monika.vasvani ASP.NET 2.0 Basics 0 June 9th, 2008 09:36 PM
Debug => Start (Visual Studio 2005) Saul Meyer C# 2005 1 September 16th, 2006 11:41 AM
How to debug in VS.NET jdang67 VS.NET 2002/2003 9 November 28th, 2005 11:54 AM
Novice unable to debug in Visual Studio.NET hchlebowski VB.NET 2002/2003 Basics 1 February 6th, 2005 12:14 AM
a problem in my Studio .Net Roshi BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 September 25th, 2003 08:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.