473,398 Members | 2,088 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,398 software developers and data experts.

Forbidden error in VS2005 under Vista for ASP

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 1574
tlhintoq
3,525 Expert 2GB
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
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 Expert Mod 8TB
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
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 Expert Mod 8TB
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
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\wwwroot and an IIS application created. (2) Running with all files under Documents\MyProject\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
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...
56
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...
8
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...
18
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...
3
by: Bishop | last post by:
So what is the best version of Vista to use with VS2005?
6
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...
6
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.