473,382 Members | 1,749 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,382 software developers and data experts.

Debugging ASP.NET web site on Vista

12
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.
Jul 31 '09 #1
20 2482
cloud255
427 Expert 256MB
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?
Aug 1 '09 #2
trueman
12
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
Aug 1 '09 #3
NitinSawant
270 100+
you are creating filesystem website or local iis website, which type??
Aug 4 '09 #4
trueman
12
It is local iis web site
Aug 4 '09 #5
Frinavale
9,735 Expert Mod 8TB
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
Aug 5 '09 #6
trueman
12
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.
Aug 5 '09 #7
Frinavale
9,735 Expert Mod 8TB
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.
Aug 5 '09 #8
trueman
12
No, I am not using ASP.NET MVC. I am just using the traditional ASP.NET web forms.
Aug 5 '09 #9
Frinavale
9,735 Expert Mod 8TB
Go to your Solution explorer and right click on one of your aspx pages.
Select "Set As Start Page".

Then try debugging....?
Aug 5 '09 #10
trueman
12
I did that several times, but the result is the same.
Aug 5 '09 #11
Frinavale
9,735 Expert Mod 8TB
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?
Aug 5 '09 #12
trueman
12
No it doesn't work. I did that too several times.
Aug 5 '09 #13
Frinavale
9,735 Expert Mod 8TB
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.
Aug 5 '09 #14
trueman
12
Thank you very much,

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

Greetings
Aug 5 '09 #15
trueman
12
Uninstalling and reinstalling Visual Studio didn't work out.
Aug 5 '09 #16
MrMancunian
569 Expert 512MB
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
Aug 6 '09 #17
trueman
12
I couldn't get a restore point in the System Restore where everything was working fine.
Aug 6 '09 #18
MrMancunian
569 Expert 512MB
@MrMancunian
You didn't answer my full question :-)

Steven
Aug 11 '09 #19
trueman
12
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.
Aug 11 '09 #20
trueman
12
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
Aug 27 '09 #21

Sign in to post your reply or Sign up for a free account.

Similar topics

1
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...
1
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...
7
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...
5
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...
10
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...
3
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, I have the folloving code: Public class MyForm : Form { …… void SomeMethod() { a = new Obj1(this);
3
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
3
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...
7
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...
0
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...
0
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,...
0
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$) { } ...
0
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...
0
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...
0
BarryA
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...
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
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...

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.