Hi Husam,
http://www.cryer.co.uk/brian/mswinswdev/ms_vbnet_vb_not_configured_as_app.htm
http://dotnetjunkies.com/Forums/ShowPost.aspx?PostID=4435 Regards
--
Milosz
[quoted text, click to view] "Husam" wrote:
> Hi everybody:
>
> when I make the web.config file to make the authentication and the
> autherization for my web site.
>
> the code is as following:
>
> <configuration>
> <appSettings/>
> <connectionStrings/>
> <system.web>
> <authentication mode="Forms">
> <forms name="Default" loginUrl="~/Default.aspx" />
> </authentication>
> </system.web>
> </configuration>
>
> But when I dubbge my page I recive the following 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.
>
> the red line is :
>
> <authentication mode="Forms">