473,608 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't run program from Visual Studio when debug=false

My application is ready to deploy and I've set debug=false in the web.config
file and configured the app for release mode. When I try to run the app from
the IDE, I get the following error message:

"Error while trying to run project: Unable to start debuggin on the web
server. The project is not configured to be debugged. Click Help for more
information."

I'm not sure why it won't let me run the app from Visual Studio if it's not
in debug mode. I can build the app and run it from a browser. Any help will
be much appreciated.

John Holmes
Nov 18 '05 #1
1 1649
Never mind, I figured out that I need to "Start without debugging" from the
IDE .. john

"John Holmes" <jo****@co.skag it.wa.us> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
My application is ready to deploy and I've set debug=false in the web.config file and configured the app for release mode. When I try to run the app from the IDE, I get the following error message:

"Error while trying to run project: Unable to start debuggin on the web
server. The project is not configured to be debugged. Click Help for more
information."

I'm not sure why it won't let me run the app from Visual Studio if it's not in debug mode. I can build the app and run it from a browser. Any help will be much appreciated.

John Holmes

Nov 18 '05 #2

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

Similar topics

9
1370
by: Honus | last post by:
In a .Net application, given a C++ dll with methods called by a C# GUI Assume (x&y) is FALS the following code in the C++ dll, when called from the C# interface bool theMethod(unsigned int x) unsigned int y = 0x2 if (x&y) // FALSE
3
1646
by: Whiplash | last post by:
I've got a web app that has the debug parameter in the web.config file set to true. Everything works great. However, I want to set debug to false before putting the app into production. When I do so, I get an error that states; "Object reference not set to an instance of an object". It also does not have any more information and tells me to set debug to true to see more info. But of course, when I set debug to true, the app works fine! ...
4
1955
by: sunilkher | last post by:
Here is a small sample program that I have. #include <stdlib.h> #include <pthread.h> #include <string> using namespace std; pthread_t threads; pthread_attr_t thr_attr;
2
2159
by: msnews.microsoft.com | last post by:
We are deploying a large .NET 1.1 web app. We are using SP1 of the .NET 1.1 framework. Our build system compiles all of our components in release mode. We deploy on Windows Server 2003 Enterprise SP1 We noticed the other day that our web.config said debug=true. We read some articles and decided we should release with debug=false. I stopped IIS, cleared out the ASP.NET temporary folder, changed the flag to false, and restarted IIS.
10
1502
by: musosdev | last post by:
I've got a function that needs to work slightly differently on the development server from the production server, but of course I don't want to be changing code just before compiling a release version!? I'm thinking I could use some #if #else #endif type statements to change certain things, depending on the build type. I'm thinking of something like this in my .cs file... #if DEBUG private string MyFunc()
5
1556
by: Cas | last post by:
Hi, If i omit to mention e.g. the option 'debug' in the line below of an aspx file, does it means it's set to false? <%@ Page Language="VB" CodeFile="any.aspx.vb" Inherits="_Default" %> Thanks Cas
3
3099
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
5
3090
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I copied the application to the server, setup the website, installed the ajax extensions, also loaded/enabled front end extensions so i could load the site in visual studio 2005. when i attempt to run the site, either from the server or from another pc...
1
1580
by: asmx126453 | last post by:
hey guys next question :p its about the member names that the cant be the same the precies error is this 'VerzamelbladOverzicht': member names cannot be the same as their enclosing type its about this page VerzamelbladOverzicht.aspx <%@ Page language="c#" Inherits="DotNet.VerzamelbladOverzicht" debug="False" CodeFile="VerzamelbladOverzicht.aspx.cs" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
0
8067
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
8010
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,...
0
8501
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
8483
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...
1
8157
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
8349
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
6820
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
6015
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...
1
2477
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.