473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 1498
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.netNoSpamM> wrote
in message news:D2**********************************@microsof t.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
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...
1
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...
11
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
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...
6
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...
3
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...
5
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?...
13
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...
5
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.