D
Dirk
Hi,
I started with asp.net 2.0. I defined directory inetpub/wwwroot/aspnet as an
application in IIS and the directory security is set to "anonymous access"
(even when unchecked i get the error). When starting a simple file like:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server"> <title>Untitled Page</title></head>
<body> <form id="form1" runat="server">
<div> </div> </form></body></html>
I get the error here below.
Is this an problem with IIS? Any help is welcome.
Dirk
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
Source Error:
Line 24: ASP.NET to identify an incoming user.
Line 25: -->
Line 26: <authentication mode="Windows" />
Line 27: <!--
Line 28: The <customErrors> section enables configuration
Source File: d:\inetpub\wwwroot\aspnet\begin\chapter02\web.config Line:
26
I started with asp.net 2.0. I defined directory inetpub/wwwroot/aspnet as an
application in IIS and the directory security is set to "anonymous access"
(even when unchecked i get the error). When starting a simple file like:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server"> <title>Untitled Page</title></head>
<body> <form id="form1" runat="server">
<div> </div> </form></body></html>
I get the error here below.
Is this an problem with IIS? Any help is welcome.
Dirk
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
Source Error:
Line 24: ASP.NET to identify an incoming user.
Line 25: -->
Line 26: <authentication mode="Windows" />
Line 27: <!--
Line 28: The <customErrors> section enables configuration
Source File: d:\inetpub\wwwroot\aspnet\begin\chapter02\web.config Line:
26