473,659 Members | 2,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to start an application

Hi,

I've upgraded to .NET 2003 and I opened an .NET 2002 app
and let the new IDE convert it to .NET 2003 project.

Then I tried to start the application but it keeps on
saying "Error while trying to run project. Unable to start
debugging on the web server. The project is not configured
to be debugged. Click Help for more information".

I click Help and in web.config I have debug="true", but it
also says that the debug verb should be associated
with .aspx. But you can't see any example on that in the
help section how to accomplish the debug verb.

Anyone that can help me start an application?

TIA

/Kenneth
Nov 17 '05 #1
5 1730
Kenneth,

I doubt that DEBUG is not mapped to ASPX, but you can check that by
right-clicking your application in IIS, clicking properties, clicking the
Home Directory tab (or Directory if it's the root site), clicking the
Configuration button, and making sure that DEBUG appears in the list of
verbs for ASPX.

It is also possible that your execute permissions are not set to Scripts
Only. You'll want to check that as well.

Hope that helps.

Jim Cheshire
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Kenneth" <ke***********@ chello.se>
Sender: "Kenneth" <ke***********@ chello.se>
Subject: Trying to start an application
Date: Wed, 30 Jul 2003 01:42:58 -0700
Lines: 20
Message-ID: <0a************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNWdpPzdp3fCAs YT2edGc5rxBooow ==
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1632 68
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Hi,

I've upgraded to .NET 2003 and I opened an .NET 2002 app
and let the new IDE convert it to .NET 2003 project.

Then I tried to start the application but it keeps on
saying "Error while trying to run project. Unable to start
debugging on the web server. The project is not configured
to be debugged. Click Help for more information".

I click Help and in web.config I have debug="true", but it
also says that the debug verb should be associated
with .aspx. But you can't see any example on that in the
help section how to accomplish the debug verb.

Anyone that can help me start an application?

TIA

/Kenneth


Nov 17 '05 #2
Jim,

The Configuration button is disabled, so I can't check
that. By right-clicking my app in IIS, do you mean that I
right-click the directory where the app resides or what do
you mean?

My execute permissions are set to Scripts only.

/Kenneth
-----Original Message-----
Kenneth,

I doubt that DEBUG is not mapped to ASPX, but you can check that byright-clicking your application in IIS, clicking properties, clicking theHome Directory tab (or Directory if it's the root site), clicking theConfiguratio n button, and making sure that DEBUG appears in the list ofverbs for ASPX.

It is also possible that your execute permissions are not set to ScriptsOnly. You'll want to check that as well.

Hope that helps.

Jim Cheshire
Developer Support
ASP.NET
ja******@onlin e.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Kenneth" <ke***********@ chello.se>
Sender: "Kenneth" <ke***********@ chello.se>
Subject: Trying to start an application
Date: Wed, 30 Jul 2003 01:42:58 -0700
Lines: 20
Message-ID: <0a************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNWdpPzdp3fCAs YT2edGc5rxBooow ==
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1632 68NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Hi,

I've upgraded to .NET 2003 and I opened an .NET 2002 app
and let the new IDE convert it to .NET 2003 project.

Then I tried to start the application but it keeps on
saying "Error while trying to run project. Unable to startdebugging on the web server. The project is not configuredto be debugged. Click Help for more information".

I click Help and in web.config I have debug="true", but italso says that the debug verb should be associated
with .aspx. But you can't see any example on that in the
help section how to accomplish the debug verb.

Anyone that can help me start an application?

TIA

/Kenneth


.

Nov 17 '05 #3
Kenneth,

If the Configuration button is disabled, it means that you haven't set that
folder as an app root.

Jim Cheshire
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Kenneth" <ke***********@ chello.se>
Sender: "Kenneth" <ke***********@ chello.se>
References: <0a************ *************** *@phx.gbl> <fY************ **@cpmsftngxa06 .phx.gbl>Subject: RE: Trying to start an application
Date: Wed, 30 Jul 2003 13:13:54 -0700
Lines: 87
Message-ID: <06************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNW1xmmTcKhzxJ 9S8SzNvZjpCM+VQ ==
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1635 43
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Jim,

The Configuration button is disabled, so I can't check
that. By right-clicking my app in IIS, do you mean that I
right-click the directory where the app resides or what do
you mean?

My execute permissions are set to Scripts only.

/Kenneth
-----Original Message-----
Kenneth,

I doubt that DEBUG is not mapped to ASPX, but you can

check that by
right-clicking your application in IIS, clicking

properties, clicking the
Home Directory tab (or Directory if it's the root site),

clicking the
Configurati on button, and making sure that DEBUG appears

in the list of
verbs for ASPX.

It is also possible that your execute permissions are not

set to Scripts
Only. You'll want to check that as well.

Hope that helps.

Jim Cheshire
Developer Support
ASP.NET
ja******@onli ne.microsoft.co m

This post is provided as-is with no warranties and

confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Kenneth" <ke***********@ chello.se>
Sender: "Kenneth" <ke***********@ chello.se>
Subject: Trying to start an application
Date: Wed, 30 Jul 2003 01:42:58 -0700
Lines: 20
Message-ID: <0a************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNWdpPzdp3fCAs YT2edGc5rxBooow ==
Newsgroups : microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:163 268NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Hi,

I've upgraded to .NET 2003 and I opened an .NET 2002 app
and let the new IDE convert it to .NET 2003 project.

Then I tried to start the application but it keeps on
saying "Error while trying to run project. Unable tostartdebugging on the web server. The project is notconfiguredto be debugged. Click Help for more information".

I click Help and in web.config I have debug="true", butitalso says that the debug verb should be associated
with .aspx. But you can't see any example on that in the
help section how to accomplish the debug verb.

Anyone that can help me start an application?

TIA

/Kenneth


.


Nov 17 '05 #4
Jim,

I guess I should do things in a certain order, should I?

First create a new website in IIS, then create a new
project in VS.NET that points to the newly cretaed website?

/Kenneth

-----Original Message-----
Kenneth,

If the Configuration button is disabled, it means that you haven't set thatfolder as an app root.

Jim Cheshire
Developer Support
ASP.NET
ja******@onlin e.microsoft.com


Nov 17 '05 #5
Kenneth,

It depends. If you want to create a new Web site (a new virtual server)
and create a new application at the root of that Web site, you can
certainly do that. You just need to make sure that on the Directory tab,
the application is created. When it is, the button at the bottom will say
"Remove". If the button says "Create", you need to click it to create the
app root.

When you create a new ASP.NET application from VS.NET, if the FrontPage
Server Extensions are on the Web server, they will be used to create the
new application, set the app root, and set the executable bit, regardless
of what you are using for Web Access Mode in VS.NET. If the Server
Extensions are not there, we will use ADSI calls from VS.NET to do the same
thing. In both cases, the app root should be set.

Jim Cheshire
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Kenneth" <ke***********@ chello.se>
Sender: "Kenneth" <ke***********@ chello.se>
References: <0a************ *************** *@phx.gbl> <fY************ **@cpmsftngxa06 .phx.gbl>
<06************ *************** *@phx.gbl>
<O$************ **@cpmsftngxa06 .phx.gbl>Subject: RE: Trying to start an application
Date: Wed, 30 Jul 2003 22:51:21 -0700
Lines: 23
Message-ID: <55************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNXJ8SWUbQQIm5 3Q3aI8mA3EfrCdg ==
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1636 47
NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Jim,

I guess I should do things in a certain order, should I?

First create a new website in IIS, then create a new
project in VS.NET that points to the newly cretaed website?

/Kenneth

-----Original Message-----
Kenneth,

If the Configuration button is disabled, it means that

you haven't set that
folder as an app root.

Jim Cheshire
Developer Support
ASP.NET
ja******@onli ne.microsoft.co m



Nov 17 '05 #6

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

Similar topics

5
962
by: Ravi Shankar | last post by:
Hi, I get the below error while I press F5 from Microsoft Visual Studio .NET Enterprise Architect IDE. This doesn't allow me to debug the application. But I am able to launch any other C# application when CTRL+F5 is pressed. "Error while trying to run project : Unable to start debugging." Unable to start program 'PROGRAM_NAME' Can anyone suggest some work around?
2
2209
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following error Application has generated an exception that could not be handled Process id = 0x610 (1552), Thread id=0x1d0(464)
6
2291
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or reinstallation, or possibly even something that happened in IIS before .NET was installed. Here is a way to prove or disprove my theory:
1
1676
by: Jon | last post by:
Hi all i encountered a problem will trying to run a C# Project (ASP.net Web Application). When i click 'start without debugging', it throws me an error ******************************************* Error while trying to run project: Unable to start debugging Unable to start program 'display some funny characters The system cannot find the file specified ******************************************* Do anyone know what the problem is
5
3624
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As New System.Diagnostics.Process 'p.Start(MDEPDirStr & "macrun.exe", sPPTOut) p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE") 'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
5
1880
by: jmsxp | last post by:
Hi all, I am in my infancy with programming, so please forgive stupid questions... I am attempting to write a C# program that will launch Trillian (well, that is just a part of the overall program). I can get the program to start using System.Diagnostics.Process.Start(@"C:\Program Files\Trillian\trillian.exe");
1
2509
by: maz01 | last post by:
Hello All, I am developing an application in visual basic 2005 that will run continuously in the background on a users workstation. This application will automatically transfer files from the local machine to a remote server and vise versa. It checks for the files on a timed interval. I have two problems with this application that I am having trouble figuring out: The first problem is that the cmd.exe shell pops up on the screen every...
3
2288
by: techgirl | last post by:
Hi All- I was wondering if anyone could help me with this issue. I am trying to run this 3rd party application called "CoreFTP.exe" from within C#. I have tested my code with "Notepad.exe" and that works fine. I've tried it with another program executable and it works. I am receiving this error from within .NET when I try to run "CoreFTP": Run-time Error! C:\Program Files\CoreFTP\coreftp.exe This application has requested the...
2
3018
by: techgirl | last post by:
Hi All- I was wondering if anyone could help me with this issue. I am trying to run this 3rd party application called "CoreFTP.exe" from within C#. I have tested my code with "Notepad.exe" and that opens up fine. I've tried it with another program executable and it works as well. When I go to run coreftp.exe, it will not work. I have even tried putting code into a .bat file and trying to execute that and it executes, but I get the same...
0
8427
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
8330
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
8850
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...
1
8523
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
8626
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
5649
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
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
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
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.