473,653 Members | 2,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASPNet projects created under VS2002 won't run

I have been away from .NET development for 18 months. I recently installed
VisualStudio 2003. I have no trouble compiling and running new C# ASP.Net
projects, but when I try to open and run one of the ASP.Net projects I wrote
under VS2002, I get the following error:

"Unable to start debugging on the web server. Project is not configured to
be debugged."

My web.config file does contain the line debug="true"

Comparing the web.config under VS2003 and VS2002, I noted that there is now
an Authorization section, so I added that to the web.config of my old
project.

Didn't make any difference.

What do I need to do to rewrite and rerun my old ASPNet programs?

Tony Lin

Fremont, CA


Nov 18 '05 #1
3 1508
Did you upgrade the project to 2003? The ISAPI info in IIS has to be upgraded
as well. What is it, run the appropriate reg_iis.exe???

"TLin2100" wrote:
I have been away from .NET development for 18 months. I recently installed
VisualStudio 2003. I have no trouble compiling and running new C# ASP.Net
projects, but when I try to open and run one of the ASP.Net projects I wrote
under VS2002, I get the following error:

"Unable to start debugging on the web server. Project is not configured to
be debugged."

My web.config file does contain the line debug="true"

Comparing the web.config under VS2003 and VS2002, I noted that there is now
an Authorization section, so I added that to the web.config of my old
project.

Didn't make any difference.

What do I need to do to rewrite and rerun my old ASPNet programs?

Tony Lin

Fremont, CA


Nov 18 '05 #2
Use aspnet_regiis /i in the Framework 1.1 directory. That should set all
sites to 1.1. If you still have other 1.0 sites, you can use aspnet_regiis
for the particular site, using this syntax.

aspnet_regiis -s w3svc/1/root/ApplicationName

From:
http://support.microsoft.com/default...b;en-us;816782

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"TLin2100" wrote:
I have been away from .NET development for 18 months. I recently installed
VisualStudio 2003. I have no trouble compiling and running new C# ASP.Net
projects, but when I try to open and run one of the ASP.Net projects I wrote
under VS2002, I get the following error:

"Unable to start debugging on the web server. Project is not configured to
be debugged."

My web.config file does contain the line debug="true"

Comparing the web.config under VS2003 and VS2002, I noted that there is now
an Authorization section, so I added that to the web.config of my old
project.

Didn't make any difference.

What do I need to do to rewrite and rerun my old ASPNet programs?

Tony Lin

Fremont, CA


Nov 18 '05 #3
Greg,

Running aspnet_regiis /i from my Framework 1.1 solved the problem!

The mistake I made is that I ran this program shortly after I installed
Framework 1.1 but BEFORE I had set up the virtual web directories in IIS -
therefore, when I ran it, none of my original directories got converted.

Once I ran it AFTER I set up the virtual directories, things are fine.

Thanks

Tony Lin
Fremont, CA

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:D2******** *************** ***********@mic rosoft.com...
Use aspnet_regiis /i in the Framework 1.1 directory. That should set all
sites to 1.1. If you still have other 1.0 sites, you can use aspnet_regiis
for the particular site, using this syntax.

aspnet_regiis -s w3svc/1/root/ApplicationName

From:
http://support.microsoft.com/default...b;en-us;816782

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** ************
Think Outside the Box!
*************** ************
"TLin2100" wrote:
I have been away from .NET development for 18 months. I recently
installed
VisualStudio 2003. I have no trouble compiling and running new C#
ASP.Net
projects, but when I try to open and run one of the ASP.Net projects I
wrote
under VS2002, I get the following error:

"Unable to start debugging on the web server. Project is not configured
to
be debugged."

My web.config file does contain the line debug="true"

Comparing the web.config under VS2003 and VS2002, I noted that there is
now
an Authorization section, so I added that to the web.config of my old
project.

Didn't make any difference.

What do I need to do to rewrite and rerun my old ASPNet programs?

Tony Lin

Fremont, CA


Nov 18 '05 #4

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

Similar topics

4
2626
by: David Killian Woods | last post by:
I just installed VC++.NET and haven't had much luck. It just won't compile anything that isn't stored on a local hard drive. Local projects are fine (well, other than my stupid mistakes) and compile without a problem. Below is the error log generated from a wizard-created project -- I didn't add any code myself. It was created in a folder accessed from browsing through the network neighborhood, but I've also tried it using mapped...
1
342
by: KatB | last post by:
Hi, not strictly asp.net but don't know where else to go. I created 2 asp.net projects in visual studio 2002, then copied them to another development pc. I've tried to open them in vs but get an error message that it is a local project and must be opened via the file path, which is what I was doing! Each pc has a different virtual directory name in IIS wwwroot, but I'm not experienced enough to know what's causing this and how to fix it....
11
1764
by: Jeff Robichaud | last post by:
Are there any security issues having the ASPNET user account member of Administrators ? Is it a good practice ?
0
1589
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went haywire and the best solution was to blow away everything on the build server related to this solution (both filebase and virtual directories hanging off the default website). I recreated the shell of our solution's web projects...
6
2428
by: Andrew Chalk | last post by:
My application attempts to connect to an SQL Server database as name ASPNET and Login Name SERVERNAME/ASPNET in response to these commands: SqlConnection myConnection = new SqlConnection("Data Source=(local);Initial Catalog=MCSCRE;Integrated Security=SSPI"); myConnection.Open(); However, the user of this database is ASPNET. I can't create a user ASPNET with a login name SERVERNAME/ASPNET, SQL Enterprise Manager always keeps the name...
3
1073
by: MSNews | last post by:
I have a requirement to use simple project files which were created on 2003 on 2002 version of .NET. This is because the customer site does not yet have 2003 but the course projects were written in 2003. I have loaded the 1.1 framework on vs2002 but need to know if there is a simple or otherwise way to change the project somehow to make it load on 2002? TIA
5
1549
by: Just D. | last post by:
All, Who played with that? Is it possible to use VB.NET and C# projects in one solution in VS2002/2003? Or this feature appeared only in VS2005? If yes, then what kind of traps are on this way? I see that I can add a VB.NET class library project to my VS2003 solution, I can add a reference to my existing project in C#, I even can add USING to C# source code, although it already doesn't have any intellisense comparing to all other...
13
2314
by: C. Moya | last post by:
I fully expected the lack of a way to set Option Strict globally to be fixed in SP1. I can't seem to figure out if it has been fixed or not. It still seems we have to add the declaration at the top of each and every single code module. Am I missing something here? -- -C. Moya www.cmoya.com
5
1618
by: =?Utf-8?B?TWljaGFlbCBNaWxsZXI=?= | last post by:
I created a walkthrough and couldn't connect to my sql server. I looked up the problem and MSDN told me to create an ASPNET "User" in SQL Svr. It worked, but is that right? Do I have to do that for web projects. How does that user relate to the other users? I'm not seeing the logic. I thought maybe a "Role" that I could assign all users to would make more sense, but why have an ASPNET in SQL at all? -- MichaelM
0
8370
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
8283
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
8811
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
8470
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
7302
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...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2707
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
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
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.