Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to debug ASP.NET - trying everything!

Status
Not open for further replies.

nimarii

MIS
Jan 26, 2004
213
US
Hello,

I'm trying to create my first asp.net web application using VB.NET. I've been able to successfully create and debug Windows Applications in visual studio, but not asp.net web applications.

here is the error message I get:
Code:
Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run setup to install the Visual Studio.NET server components. If setup has been run, verify that a valid URL has been specified.

i've checked the web config file, and I've come across different things on the internet (checking user permissions, attaching to inetinfo.exe, etc...) and i've tried them all, but I'm not sure if I'm doing it correctly.

any help would be very helpful!!
 
>>If setup has been run, verify that a valid URL has been specified

what URL did u give for the project???

Known is handfull, Unknown is worldfull
 
ah - you'll have to excuse my ignorance, but i'm not sure where you specify the URL? i've just been trying to access it on my localhost...but i didnt specify a URL anywhere.
 
when u create a new project it will ask for the url...

Known is handfull, Unknown is worldfull
 
do i specify the localhost URL? or do i need to get this up on a real website?
 
ok - i think i know what the problem is...i dont have the .aspx extension mapped in IIS...trying to resolve this now...
 
Have you been able to run any asp.net apps before on this computer, or is this your first attempt? If this is your first attempt make sure you are a local administrator on your computer.
 
i have never run any asp.net apps before on my laptop...i was set as a "debugger user", but I have changed it to "administrator". lets see how this turns out...i think there was some sort of error in downloading the framework or soemthing...I can't seem to add the .aspx mapping...
 
i downloaded the fix, but when i ran it, it gave the the following error during installation:
Code:
Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet file.

i'm not sure what this means - do i need to clear some space on my hard drive or something?
 
How much space is left on the drive you're installing the framework?
 
on the local D drive, i have 10 free gigs, on the local C drive, i have about 4.67 gigs left...
 
ok - i was able to successfully run the dotnetfx.exe program (after trying tons of things, i simply re-downloaded the file, and it worked).

After running it, i didn't get any kind of completion dialog box, and after checking, the .aspx mappings still aren't listed in IIS...

continuing to research this - any advice/comments are very welcome as always.

thanks!
 
ok - i just had to run the aspnet_regiis -i, and now I have the .aspx mapping. HOORAY!

i had another obstacle with an error message saying i needed to be a member of the debuggers group, which i was. turns out that I needed to add to my list of trusted sites, and also needed to check the Integrated Windows Authentication option in IIS.

I'm now successfully debugging my asp.net app. thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top