Connecting Tech Pros Worldwide Help | Site Map

Debugging ASP.NET web site on Vista

Newbie
 
Join Date: Jul 2009
Posts: 12
#1: Jul 31 '09
I have been developing asp.net web sites using MS Visual Studio 2008 on Vista home premium 32-bit OS on my laptop but recently, when I start debugging asp.net pages, "Page not found" error is occurring. I have tried a lot but I couldn't solve the problem.
Expert
 
Join Date: Jun 2008
Location: Pretoria, South Africa
Posts: 410
#2: Aug 1 '09

re: Debugging ASP.NET web site on Vista


Hi

When exactly does this error occur? Can you at least start the web app or does the error occur when trying to access a specific page?
Newbie
 
Join Date: Jul 2009
Posts: 12
#3: Aug 1 '09

re: Debugging ASP.NET web site on Vista


The error occurs for all web pages that i have done before. It was working fine for all web pages but now even i can't debug a single simple page.

Thanks
Member
 
Join Date: May 2009
Location: Goregaon, मुंबई IN :)
Posts: 85
#4: Aug 4 '09

re: Debugging ASP.NET web site on Vista


you are creating filesystem website or local iis website, which type??
Newbie
 
Join Date: Jul 2009
Posts: 12
#5: Aug 4 '09

re: Debugging ASP.NET web site on Vista


It is local iis web site
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#6: Aug 5 '09

re: Debugging ASP.NET web site on Vista


Are you using Cassini (the IIS built into Visual Studio) for debugging?
Or are you using a real IIS?

If you're using Visual Studio for debugging then you have to run Visual Studio as Administrator (right click on it and run as administrator) or else debugging will not work. You can configure Vista to always run Visual Studio as administrator.

If you're not using Visual Studio to debug, and you're trying to run the website from IIS then your IIS is either not configured properly or the files that you're working with do not exist in the location that IIS is expecting them to be.

If this is the case, did you publish the website to the folder where IIS is expecting the files to be?

I can't help you until you tell us more about your configuration.

-Frinny
Newbie
 
Join Date: Jul 2009
Posts: 12
#7: Aug 5 '09

re: Debugging ASP.NET web site on Vista


I am using the IIS built into Visual Studio for debugging and I have run also Visual Studio as Administrator, but the problem is still not yet fixed.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#8: Aug 5 '09

re: Debugging ASP.NET web site on Vista


Are you using MVC ASP.NET ?
The only time I've ever seen this type of error was when I missed typed the name of the Controller that I wanted to use.
Newbie
 
Join Date: Jul 2009
Posts: 12
#9: Aug 5 '09

re: Debugging ASP.NET web site on Vista


No, I am not using ASP.NET MVC. I am just using the traditional ASP.NET web forms.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#10: Aug 5 '09

re: Debugging ASP.NET web site on Vista


Go to your Solution explorer and right click on one of your aspx pages.
Select "Set As Start Page".

Then try debugging....?
Newbie
 
Join Date: Jul 2009
Posts: 12
#11: Aug 5 '09

re: Debugging ASP.NET web site on Vista


I did that several times, but the result is the same.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#12: Aug 5 '09

re: Debugging ASP.NET web site on Vista


Open a new instance of Visual Studio and create a new project.
Add some text to the default page and hit the debug button....does it work?
Newbie
 
Join Date: Jul 2009
Posts: 12
#13: Aug 5 '09

re: Debugging ASP.NET web site on Vista


No it doesn't work. I did that too several times.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#14: Aug 5 '09

re: Debugging ASP.NET web site on Vista


I'm not sure what to suggest at this point.

I use Vista sometimes while I'm developing and I've never run into that problem. The only problem I've ever had debugging on Vista was when I wasn't running as administrator...but it still ran (the page was found and displayed in a browser)...just that it never stopped at the debugging statements because I wasn't running Visual Studio with the appropriate permissions.

I'm sorry but I have a feeling you're going to have to uninstall and reinstall Visual Studio.
Newbie
 
Join Date: Jul 2009
Posts: 12
#15: Aug 5 '09

re: Debugging ASP.NET web site on Vista


Thank you very much,

The problem is really strange. I will try reinstalling Visual Studio.

Greetings
Newbie
 
Join Date: Jul 2009
Posts: 12
#16: Aug 6 '09

re: Debugging ASP.NET web site on Vista


Uninstalling and reinstalling Visual Studio didn't work out.
MrMancunian's Avatar
Expert
 
Join Date: Jul 2008
Location: Utrecht, The Netherlands
Posts: 274
#17: Aug 6 '09

re: Debugging ASP.NET web site on Vista


Is there something you installed or uninstalled prior to this problem? Anything at all? Perhaps you can (and I don't know if this is an option in Vista) do a system restore to a point that everything was working fine?

Steven
Newbie
 
Join Date: Jul 2009
Posts: 12
#18: Aug 6 '09

re: Debugging ASP.NET web site on Vista


I couldn't get a restore point in the System Restore where everything was working fine.
MrMancunian's Avatar
Expert
 
Join Date: Jul 2008
Location: Utrecht, The Netherlands
Posts: 274
#19: Aug 11 '09

re: Debugging ASP.NET web site on Vista


Quote:

Originally Posted by MrMancunian View Post

Is there something you installed or uninstalled prior to this problem? Anything at all?

Steven

You didn't answer my full question :-)

Steven
Newbie
 
Join Date: Jul 2009
Posts: 12
#20: Aug 11 '09

re: Debugging ASP.NET web site on Vista


Yes, I did install Anti virus and Blaze Advisor for .NET which is a business rule software, prior to the problem. But I have tried debugging after uninstalling these software, the problem was the same.
Newbie
 
Join Date: Jul 2009
Posts: 12
#21: Aug 27 '09

re: Debugging ASP.NET web site on Vista


Even though I tried a lot of fascinating ideas from various experts, the problem yet not solved. Is there anyone who can give the last and best idea before I format my computer.

Thanks
Reply