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.
20 2482
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?
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
you are creating filesystem website or local iis website, which type??
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
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.
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.
No, I am not using ASP.NET MVC. I am just using the traditional ASP.NET web forms.
Go to your Solution explorer and right click on one of your aspx pages.
Select "Set As Start Page".
Then try debugging....?
I did that several times, but the result is the same.
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?
No it doesn't work. I did that too several times.
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.
Thank you very much,
The problem is really strange. I will try reinstalling Visual Studio.
Greetings
Uninstalling and reinstalling Visual Studio didn't work out.
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
I couldn't get a restore point in the System Restore where everything was working fine.
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.
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
Sign in to post your reply or Sign up for a free account.
Similar topics
by: David Lozzi |
last post by:
Howdy,
Is there a better newsgroup for this?
Debugging has changed, i think, in Visual Studio 2005 between XP Pro and
Vista Ultimate. When I go to debug a ASP.NET development server starts on...
|
by: =?Utf-8?B?YWxleGtpdA==?= |
last post by:
I'm using vista, VS team suite with sp1. when building web site. it always
giving me this error.
"Unable to start debugging on the web server. An authentication error
occurred while...
|
by: TheDude5B |
last post by:
Hi,
I have just installed Visual Studio 2005 on my windows Vista machine,
and everything seems to work well after installing the service pack
and then the vista upgrades.
However, when I try...
|
by: ink |
last post by:
Hi all,
I cant seem to debug my windows service on my Vista machine.
It seems it has something to do with 0 Session.
What I would normally do is add the following code to my OnStart() but it...
|
by: =?Utf-8?B?cmFjZTRzcGFjZQ==?= |
last post by:
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.
No Errors are sent to...
|
by: =?Utf-8?B?THVib21pcg==?= |
last post by:
Hi,
I have the folloving code:
Public class MyForm : Form
{
……
void SomeMethod()
{
a = new Obj1(this);
|
by: =?Utf-8?B?cmF1bGF2aQ==?= |
last post by:
Vista sp1 C#
Hi: after I opened a vs2005 IDE... my breakpoints when debugging in vs2008
dont work any more, any ideas?
the test finished but It does not stop.
Thanks
|
by: Lloyd Sheen |
last post by:
The text below is from the immediate window:
?DownloadZipFile.Attributes.Count
1
?DownloadZipFile.Attributes(0)
Nothing
Now that makes no sense. Why when I add an attribute to a element...
|
by: GaryDean |
last post by:
(this was also posted on the MSDN WCF forum but the answers over there are
not so good)
I have a WCF Library hosted by IIS 6 and it all works fine. However I need
to step through the code in the...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |