[Mono-list] ASP.NET configuration troubles

laas laas.mono at gmail.com
Sat Nov 3 03:38:30 EDT 2007


I've deleted the <authorization> and <authentication> tag and now it
works, but this is really strange. I need both tags in my application.

Thanks to all

On Nov 2, 2007 1:56 AM, Brenton Partridge <bapartridge at gmail.com> wrote:
> Hi laas and all,
>
> FWIW I've had a similar problem in which I was porting a site from PHP to
> ASP.NET
> and an authentication tag was inserted when I didn't need or want one.  It
> didn't
> cause problems on Mono but it did on the Windows server I was
> publishing to, and I was able to solve it just by deleting the entire tag.
> Try testing your site without authentication; if it works, go from there.
>
> B
>
>
>
> On Oct 31, 2007, at 12:26 PM, laas wrote:
> I've deleted all the comments. Line 53 was the line:
>
> <authentication mode="Forms">
> ...
>
> Any idea ?
>
> On 10/31/07, David Temes <dtemes at infoco.es> wrote:
> >
> >
> > Any idea about what the "( line 53)" in the error message you get comes
> from? I see your config file only has 47 lines...
> >
> >
> >
> >
> > David Temes.
> > Project Manager
> > INFOCO
> >
> > Vía Augusta, 59
> > 08006 Barcelona (SPAIN)
> > +34 93 415 25 26
> > dtemes at infoco.es
> >
> >
> > ----- Original Message -----
> > From: J.S. Martin
> > To: laas
> > Cc: mono-list at lists.ximian.com
> > Sent: Wednesday, October 31, 2007 5:11 PM
> > Subject: Re: [Mono-list] ASP.NET configuration troubles
> >
> > I'm not sure if it'll make a difference, but you might try using this tag
> instead of one so complicated - again, it might not make a difference, but
> go ahead and try it...
> >
> > <authentication mode="Forms">
> >       <forms loginUrl="login.aspx" />
> > </authentication>
> >
> >
> >
> >
> > On 10/31/07, laas <laas.mono at gmail.com > wrote:
> > > Here:
> > >
> > > http://pastebin.com/m7f9bdb04
> > >
> > >
> > >
> > >
> > >
> > > On 10/31/07, J.S. Martin < josmar52789 at gmail.com> wrote:
> > > > what's the code in your web.config
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 10/31/07, laas < laas.mono at gmail.com> wrote:
> > > > >
> > > > > Hi all,
> > > > > running my ASP.NET 2.0 application on apache/mod_mono/xsp2
> (following my own how to http://www.laas02.org/article/view_article/16 )
> I've received the following error:
> > > > >
> > > > > "The section <authentication> can't be defined in this configuration
> file (the allowed definition context is 'MachineToApplication'). () ( line
> 53)"
> > > > >
> > > > > It's the first time I see it and I don't know how to solve it.
> > > > > Can you help me ?
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > > --
> > > > > [LAAS]
> > > > > aka Salvatore
> > > > > WebSite: http://www.laas02.org
> > > > > YTSite: http://www.laas02.org/youtranslate
> > > > > _______________________________________________
> > > > > Mono-list maillist  -  Mono-list at lists.ximian.com
> > > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > _________________________________
> > > >
> > > > Joshua S. Martin
> > >
> > >
> > >
> > > --
> > > [LAAS]
> > > aka Salvatore
> > > WebSite: http://www.laas02.org
> > > YTSite: http://www.laas02.org/youtranslate
> >
> >
> >
> > --
> > _________________________________
> >
> > Joshua S. Martin
> >
> > ________________________________
>
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
> > ________________________________
>
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.15.13/1099 - Release Date:
> 30/10/2007 10:06
> >
> >
> >
> >
> >
>
>
>
> --
> [LAAS]
> aka Salvatore
> WebSite: http://www.laas02.org
> YTSite: http://www.laas02.org/youtranslate
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>



-- 
[LAAS]
aka Salvatore
WebSite: http://www.laas02.org
YTSite: http://www.laas02.org/youtranslate


More information about the Mono-list mailing list