|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
403 (Forbidden) ErrorI 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 Thanks for the info
Patrick Show quoteHide quote "David Veeneman" <davidv@nospam.com> wrote in message news:uTbniIKGGHA.984@tk2msftngp13.phx.gbl... > 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 > >
Other interesting topics
Is this static method threadsafe?
Advantages of Static Vs Instance methods? Use validationSummary to display error message in user control Compiler Error: [No relevant source lines] output cache question CompareValidator for dates > than today this should be easy... VWD 2005 Express: "copy web site" creates multiple publishform (2.0) Trap the Maximum request length Download multiplefiles |
|||||||||||||||||||||||