G
Guest
Hi EveryBody:
I face the following error when I debugg my web application:
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 source of this error when I make spearet folder in my solution explorer
and but my membership pages inside it and I want to make authentication for
this folder by appliying the following code in the web.config file which new
web config file that I replace it Into that folder:
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="~/Default.aspx" />
</authentication>
</system.web>
</configuration>
the red line that I recived when my application debugging as an error is :
<authentication mode="Forms">
some body toled me that I have to go to my project under the default
websites in IIS and right click my project directory then I will see a button
grayied which create new under applcation setting but when I did so nothing
change and I still recived the same error.
So any one can help me with this issue or redirect me?
regard's
Husam
I face the following error when I debugg my web application:
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 source of this error when I make spearet folder in my solution explorer
and but my membership pages inside it and I want to make authentication for
this folder by appliying the following code in the web.config file which new
web config file that I replace it Into that folder:
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="~/Default.aspx" />
</authentication>
</system.web>
</configuration>
the red line that I recived when my application debugging as an error is :
<authentication mode="Forms">
some body toled me that I have to go to my project under the default
websites in IIS and right click my project directory then I will see a button
grayied which create new under applcation setting but when I did so nothing
change and I still recived the same error.
So any one can help me with this issue or redirect me?
regard's
Husam