403 (Forbidden) Error

D

David Veeneman

This page is for the google crawler and requires no response.

I had a problem accessing web sites in ASP.NET using VS 2005. When I
launched an ASP.NET web site, from Visual Studio or from my browser, I got a
403 (Forbidden) Error.

SOLUTION: The problem stems from the fact that IIS 5.1 does not recognize
ASP.NET default pages, since it predates ASP.NET. To fix the problem, open
the IIS Administrative Tool (Windows XP Start > Control Panel >
Administrative Tools > Internet Information Services). Navigate to the
Default Web Site in the tree in the left pane. Right-click the Default Web
Site and select Properties from the context menu. When the Default Web Site
Properties box opens, select the Documents tab. Add the following to the
list:

Default.aspx
index.aspx

Click OK to save the additions. You should no longer get a 403 error.

So why isn't this on page 1 of every introductory ASP.NET book on the
market?

David Veeneman
Foresight Systems
 
Joined
Apr 13, 2007
Messages
2
Reaction score
0
Getting Error: The XML page cannot be displayed

I'm getting an error like: A name was started with an invalid character. Error processing resource 'http://localhost/'. Line 1, Position 2

<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" Title="Clarifications" %>
-^

Wht will be possible reason?
(Using IIS 5.1/MS Visual Web Developer (ASP2.0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top