473,761 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forbidden error in VS2005 under Vista for ASP

4 New Member
I have a web application that built on using VS2005 running under an XP operating system. Recently the computer was upgraded to Vista. After installing VS2005 and all pages, pressing the RUN button throws an error where the start page is "forbidden" . I have replaced the page with a test page named "Test.asp" that merely says hello, and that does not display (access is forbidden). I haven't a clue. I am an administrator on the machine. Does anyone know what this problem is?
Thanks.
Mar 11 '10 #1
6 1585
tlhintoq
3,525 Recognized Expert Specialist
Recently the computer was upgraded to Vista.
On purpose? Why? Just a tip... Forget Vista ever existed. It was all just a nightmare. Either stick with XP or go to Win7.

After installing VS2005 and all pages, pressing the RUN button throws an error where the start page is "forbidden" .
Sounds like a huge shift you made without checking it out first. May I suggest that you get VMware? You can have virtual machines running on your one computer, and debug directly into those virtual machines. So you can be running Windows7 on your computer. Have a virtual Windows XP running within that, and Visual Studio can send your project to debug inside that virtual XP and still get all the debug information. It's great to be able to debug in 5 different O.S. without needing 5 physical PCs, or without needing to actually install Visual Studio into 5 machines.

May I suggest turning off the UAC? Then move the entire project out of your personal folder. Visual Studio by default saves in your personal folder. I never do it. I keep a directory at C:\Code for all my projects. Short path doesn't get hit now and then with "path too long", and I know this directory isn't being treated special, like a user's home directory does.
Mar 11 '10 #2
tonydee61
4 New Member
I will need to take some time understand you suggestions. This application was created 10 years ago under Interdev (VB6) under Windows 98 and evolved over that time. With each change, I have never encountered this type of problem installing and debugging.
Mar 11 '10 #3
Frinavale
9,735 Recognized Expert Moderator Expert
Right click on the solution file and choose run-as administrator.
You can run Visual Studio as a regular user but you cannot debug unless you run Visual Studio as administrator.

-Frinny
Mar 11 '10 #4
tonydee61
4 New Member
When VS2005 is launched, it is launched as an administrator. When the "run with or without debugging" is started, I do not know what credentials are used after it starts. Problem seems to be rendering ASP instead of ASPX. I have been advised to change to VS2008. Not sure it is an option for me at this time, but a consideration.
Thanks.
Mar 12 '10 #5
Frinavale
9,735 Recognized Expert Moderator Expert
That's a little weird.

Have you considered installing IIS and publishing the website there to see if the problem happens on a real server?
Mar 12 '10 #6
tonydee61
4 New Member
I have IIS 7.0 installed and enabled. I haven't tried to publish to myself (never had to do that before). I tried setting up 2 ways. (1) All files under c:\inetpub\wwwr oot and an IIS application created. (2) Running with all files under Documents\MyPro ject\yada-yada. Either way clicking the RUN in VS2005 produces the same "forbidden" error. With option (2), under IIS, I can browse the start page to launch, but the error is different. This time I get an "object or with block not set". I suspect this is a result from running a DLL registered in COM+ which may have other permission problems. COM+ usually gets me when I load this project for a developer with XP. This Vista is truly bleeding edge for me.
Thanks.
Mar 12 '10 #7

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

Similar topics

5
1620
by: guy | last post by:
http://blogs.msdn.com/ericnel/archive/2006/10/17/top-level-technologies-products-not-supported-on-windows-vista.aspx are MS really saying that they do not have a development enviropnment for Vista that will be supported and work out of the box, with no warnings or requirements to disable bits of th o/s from day one? What do we get from Vista besides yet another learning curve, hasle and different bugs to resolve? Guy
56
3635
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates Microsoft's own terms of support for these products.
8
1586
by: Jim Hubbard | last post by:
(I know this is a great big newsgroup no-no, but I originally only posted to microsoft.public.dotnet.general and that newsgroup doesn't seem to have near the readership of these - so I thought I'd also post this info here for the benefit of the greater dotnet programming community.) Well, after looking at this list, I'm thinking of staying with XP/VS2005 for a while longer. At least until SP2 is out and Vista has been burped a few...
18
81292
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
I have a VC++ / .NET 2.0 solution built using VS 2005 SP1 under XP. Everything has been working well there over the past year. I have recently starting porting the app to Windows Vista (since it currently will not execute properly there). I installed VS 2005 SP1 and the hot fix SP for Vista on my Windows Vista system and have rebuilt the entire solution there with everything working well. This solution also builds a setup package that...
3
1245
by: Bishop | last post by:
So what is the best version of Vista to use with VS2005?
6
1968
by: John Kotuby | last post by:
Hi all... Well my earlier post aboout not being able to access http://localhost has been resolved. I am still having problems testing my Web site project. First, thanks to Juan Libre I edited my HOSTS file and can access localhost. However, what I found in the HOSTS file was not what I expected. Juan mentioned that the following line might be missing. 127.0.0.1 localhost
6
6265
by: Doug Ferguson | last post by:
I am using a webservice client that was created from a WSDL file in .Net 1.1. The client ALWAYS works the first time I call it. The second call returns one of two exceptions. It either returns the error: A) The connection has been closed on a receive : Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
2
4165
by: =?Utf-8?B?Umljaw==?= | last post by:
I am trying to set up a WCF service using VS2005 on Vista using IIS 7.0. I created a website, selecting a WCF Service template and http://localhost/ServiceName. Even the most simple project when I try to navigate to the http:/localhost/ServiceName/Service.svc always gives me the error "HTTP Error 503. The service is unavailable." I have verified that I do not have port 80 reserved using the "netsh http show urlacl" command. The...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9377
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.