Link to home
Start Free TrialLog in
Avatar of dba123
dba123

asked on

The project is not configured to be debugged.

The infamous error again.  So far I know this:

1) Yes, my web.config is set to true for debugging  <compilation defaultLanguage="vb" debug="true" />
2) Yes, the Execute Permissions is set to Scripts Only in IIS

What else could it be?  I'm using VS 2003 on my WinXP Pro machine
Avatar of Sammy
Sammy
Flag of Canada image

is this the only project you can not debug or every project you have can not be debugged?
if all projects then you can do a few things
1 - restart IIS
from command prompt do iisreset and hit enter
try to open the project and debug in VS.Net

2 - delete all files/folders in this directory
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files "You have to shutdown VS.Net"

3 - re register asp.net

A. Open Command prompt
B. At the command prompt, use the cd command to change to the following directory:
C:\Windows Directory\Microsoft.Net\Framework\v1.1.4322
C. Type aspnet_regiis -i to configure the required application mappings correctly

HTH
Avatar of dba123
dba123

ASKER

This solution contains 4 projects.  I am able to build each project without any compile errors.
Avatar of dba123

ASKER

I've already restarted IIS but will try your other suggestions...
try this: http://geekswithblogs.net/timh/archive/2005/09/14/53756.aspx

also check the comments below that post for other possibilities to solve that problem.
Avatar of dba123

ASKER

There's already an application name I put in there, so it's not that...

I tried to re-register asp.net, didn't work

I deleted all files in WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET and actually rebooted my PC just because...and that didn't work either

still stuck here with the same error.
hmmm, if all else fails you could try reinstalling vs .net.  This is what I did way way back when I encountered this error.  Nothing seemed to remedy it.  

How about recreating the project?
Avatar of dba123

ASKER

how would I recreate the project...never had to do so.  I assume just create a project with the same name and add backin the files. Then add the project back into the solution.
Create a project and create the class files...you just copy and paste all of the code.  Don't add the project in.  See if that helps...
Avatar of dba123

ASKER

so re-create all 4 projects in the solution then or just the project that contains the web.config and index.aspx and such...
Avatar of dba123

ASKER

here's a print screen of my solution: http://www.webfound.net/forum_posts/solution_printscreen.jpg
Re-create the projects that have aspx files (in case some of the projects are just libraries).  Or just to be sure, you could re-create all 4 projects.  I'd go for the latter.
Avatar of dba123

ASKER

There are hundreds of .vb classes, I am not gonna re-create each one from scratch then copy in the contents again, that's ridiculous.  I'm just gonna copy them over from the previous project...
Avatar of dba123

ASKER

the Cart Project has a Web Service.  how do I add that back into my new project I'm creating from scratch?
Avatar of dba123

ASKER

nevermind, add web service is an option to the project...
Avatar of dba123

ASKER

Ok, I created a new solution file and projects.  I'm having trouble adding back in the web service:

Original solution http://www.webfound.net/forum_posts/solution_printscreen2.jpg

new solution I'm creating and new projects:

http://www.webfound.net/forum_posts/new_solution_and_project_creation_attempt.jpg

I try to add that back in but it's adding the service files as just files to the base of the project, not as a recognized web service...so not sure how to add as it looks in solution_printscreen2.jpg to my new solution and project in new_solution_and_project_creation_attempt.jpg
Avatar of dba123

ASKER

Ok, i learned a few new tricks, most important were steps 1 & 2 which lead me to the rest of the fixes:

1) First, make sure your web.config is properly formed by doing a Debug | Start without Debugging to load your web page to see if your web.config has some issues

2) This lead me to really, something I thought I had checked...but I wasn't checking it on the correct folder.  I got the error saying that My website wasn't an application.  Then I figured out duh, I was not lookingat the right folder and made it an application

3) I went to the properties of each project and enabled unmanaged source debugging in VS 2003

4) I was still getting an error saying unmanaged debugging was not available which lead me to this article http://support.microsoft.com/kb/813134

5) I installed C++ in my VS 2003 using Add-remove programs to get into the .NET install so I could add C++ to VS 2003
Avatar of dba123

ASKER

It turns out, I had the new VS 2005 SP1 installed.  When you convert a web projects from 2003 to 2005, it converts it to a Web Project in that your VS 2005 needs the all famous Web Project Update since Service Pack 1 for VS 2005 automatically installs that update and the converted project is then reliant on that update.

http://www.microsoft.com/downloads/details.aspx?familyid=8B05EE00-9554-4733-8725-3CA89DD9BFCA&displaylang=en
Avatar of dba123

ASKER

whoops, ingore my last post..wrong thread.
Avatar of dba123

ASKER

I'm still stuck and can't debug, any more thoughts?
I'm am personally out of ideas here.  Maybe someone else can shed some light into your situation.
ASKER CERTIFIED SOLUTION
Avatar of Justin_W
Justin_W

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial