| Author |
ReadOnly Site with Forms authentication?
|
|
| Victor 2005-05-09, 5:50 pm |
| I have a Read/Write site that uses forms based authentication which uses my
custom form to authenticate user based on his login credentials. But when I
try to view my posting in read write site I get an error. I have configured
the read only site as an app in IIS. I get a 500 error in iis log. Pls help.
-V
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 46:
Line 47: <!--<authentication mode="Windows" />-->
Line 48: <authentication mode="Forms">
Line 49: <forms name="sddc" path="/" loginUrl="/sddc/Cma/Login.aspx"
Line 50: protection="All" timeout="180" >
| |
| jawadak@gmail.com 2005-05-09, 8:47 pm |
| you should close your forms tag
<forms name=3D"sddc" path=3D"/" loginUrl=3D"/sddc/Cma/Login.aspx=AD"
Line 50: protection=3D"All" timeout=3D"180" />
| |
| Victor 2005-05-10, 2:47 am |
| I just cut and pasted the error. there are more lines beyond that. the error
is not anything like a missing close tag. thanks for your feedback.
My question is more about why the read only site doesnt work with forms
authentication. It worked earlier with windows authentication.
V
"jawadak@gmail.com" wrote:
> you should close your forms tag
>
> <forms name="sddc" path="/" loginUrl="/sddc/Cma/Login.aspxÂ_"
> Line 50: protection="All" timeout="180" />
>
>
| |
| Stefan [MSFT] 2005-05-10, 7:48 am |
| Hi Victor,
ensure that the virtual directory hodling your template project is a web
application.
The error message indicates that the directory is not a web application but
only a virtual directory.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Victor" <Victor@discussions.microsoft.com> wrote in message
news:F96314FD-7C3E-4792-BF32-CAD25A4A44C0@microsoft.com...
>I have a Read/Write site that uses forms based authentication which uses my
> custom form to authenticate user based on his login credentials. But when
> I
> try to view my posting in read write site I get an error. I have
> configured
> the read only site as an app in IIS. I get a 500 error in iis log. Pls
> help.
>
> -V
>
> 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 46:
> Line 47: <!--<authentication mode="Windows" />-->
> Line 48: <authentication mode="Forms">
> Line 49: <forms name="sddc" path="/" loginUrl="/sddc/Cma/Login.aspx"
> Line 50: protection="All" timeout="180" >
>
>
| |
| Victor 2005-05-10, 7:48 am |
| HI Stefan
It is configure to be an app. I disbaled it and enabled it again. restarted
IIS. no luck. Disabled it as cms site and enabled it again. Didnt work! It
worked with windows authentication. why doesnt it work with forms
authentication?
Thanks for your time.
V
"Stefan [MSFT]" wrote:
> Hi Victor,
>
> ensure that the virtual directory hodling your template project is a web
> application.
> The error message indicates that the directory is not a web application but
> only a virtual directory.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Victor" <Victor@discussions.microsoft.com> wrote in message
> news:F96314FD-7C3E-4792-BF32-CAD25A4A44C0@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2005-05-10, 7:48 am |
| Hi Victor,
no idea.
as this is not an MCMS problem but an ASP.NET problem I would suggest to
follow up on an ASP.NET related newsgroup.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Victor" <Victor@discussions.microsoft.com> wrote in message
news:6B874894-C6DB-4755-BE46-0F49D92D1DDB@microsoft.com...[vbcol=seagreen]
> HI Stefan
> It is configure to be an app. I disbaled it and enabled it again.
> restarted
> IIS. no luck. Disabled it as cms site and enabled it again. Didnt work! It
> worked with windows authentication. why doesnt it work with forms
> authentication?
> Thanks for your time.
>
> V
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|