473,602 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot Run Web App in Debug Mode

I am writing a simple web application using the .Net Framework 1.1 and VB
..Net. I have installed IIS on my development machine but when I try to run
the program in debug mode [F5] I get an "Unable to start debugging on the
web server" message. I have looked at the help articles that are referenced
and have checked out the stuff they mention but I still cannot figure out
why I can't run in debug mode. I suspect that this may have something to do
with SP2 ... I think I remember running another web app I wrote a year or so
ago in debug mode ... before I installed SP2. Does anyone have a suggestion
for what I should look at to solve this problem?

Thanks very much.

Nov 21 '05 #1
3 1757
"fripper" <yo***@indiana. edu> schrieb:
I am writing a simple web application using the .Net Framework 1.1 and VB
.Net. I have installed IIS on my development machine but when I try to run
the program in debug mode [F5] I get an "Unable to start debugging on the
web server" message. I have looked at the help articles that are
referenced and have checked out the stuff they mention but I still cannot
figure out why I can't run in debug mode.


Maybe these articles help you to find a solution:

INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio
..NET
<URL:http://support.microso ft.com/?scid=kb;EN-US;306172>

PRB: Cannot Debug ASP.NET Web Application
<URL:http://support.microso ft.com/?scid=kb;EN-US;318465>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Fripper,

Mostly is this a security option because the fact that ASPNET is running by
the ASPNET account which has limited autorisation and you start while
debugging a browser part.

One of the things you can do to test is try if you can run the page in your
browser.

I hope this helps?

Cor
Nov 21 '05 #3
Been there ,,,

:-)

you need to install the server components on the server ,,, insert the
Visual Studio DVD when the menu starts you will see below the normall
options in text "install server components" ( or something simular )

You need to install these on the webserver ,, the rights should all be
handled by the frontpage server extensions ( make sure you are in the
administrator or author`s list of the web , in frontpage )

one word of caution !!!!!
debuging works great , you can step through the code as if it was a normall
application etc etc however never ever use it on a production machine , as
it freezes all other requests when you are in break mode
hth

M. Posseth

"fripper" <yo***@indiana. edu> wrote in message
news:cu******** @enews1.newsguy .com...
I am writing a simple web application using the .Net Framework 1.1 and VB
.Net. I have installed IIS on my development machine but when I try to run the program in debug mode [F5] I get an "Unable to start debugging on the
web server" message. I have looked at the help articles that are referenced and have checked out the stuff they mention but I still cannot figure out
why I can't run in debug mode. I suspect that this may have something to do with SP2 ... I think I remember running another web app I wrote a year or so ago in debug mode ... before I installed SP2. Does anyone have a suggestion for what I should look at to solve this problem?

Thanks very much.

Nov 21 '05 #4

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

Similar topics

8
5460
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
2
4839
by: SM | last post by:
Have a solution which contains two projects. One is a MT/class project and another is a C# ASP.net project. The ASP.net project has a project reference set to the class project. I compile the projects in debug mode and run the ASP.net application but I cannot hit any break point. There are .pdb files with current date-time stamps generated for both the Class and Asp.net projects in the bin directory. The Debug->Process menu shows the...
5
1390
by: Bruce D | last post by:
I'm wondering why I cannot compile a co-workers project from my PC? Here's the situation: We both have WinXP. We both have VS .NET 2003 installed. I can open her project and make changes to the code...she can open my project and make changes to my project...but if either of us try to compile and run the app (through .NET) we get the "Could not copy temporary files to the output directory." errors. Our projects are stored on a shared unix...
0
1501
by: cp25stack | last post by:
Hi, i have strange problem. My code cannot run in debug mode (i use VS 2005). When try to run debug, there is a dialog say "HEAP: Heap block at ... modified at ... past requested size of 1 Windows has triggered a breakpoint in TestBug.exe. This may be due to a corruption of the heap, and indicates a bug in TestBug.exe or any of the DLLs it has loaded. The output window may have more diagnostic information"
4
23207
by: Glenn | last post by:
OK, I've looked up this message but am not finding how to get rid of it: "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized" I'm trying to debug, and it's rather difficult when I can't find the values of expressions because of whatever is causing this message. Is there anyone that can tell me what I can do to get rid of it? How do I...
0
1149
by: =?Utf-8?B?c2FsYW1pbGxv?= | last post by:
I am learning how to create Web services. I have followed all the instructions in the books that I got and the code runs fine in debug mode. When I publish the Web Service it seems that the ASMX file works fine. When I run the Web Client project (independent from the WS) it runs fine in debug mode in my local machine. Here is the problem, when I copy the Web Client to another web site but in the same server as the WS, I get an error message...
10
4385
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I've been on this for a while, and cannot figure it out. Can someone please help with this message? SessionState can only be used when EnableSessionState is set to true, either in a configuration file or in the page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration><system.web><httpModulessection in the application configuration. Here is my current...
5
2153
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone give a hand? Has MS fixed this in VS 2005? Is is fixed in VS 2008? Thanks, ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
6
6565
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots of native code which is wrapped by the managed C++/CLI code A remark to this complicated structure: We are controlling hardware via
0
7993
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
8401
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
8404
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
8054
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
6730
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
5867
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
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1254
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.