Ask a Question related to ASP.NET Security, Design and Development.
-
Brett Robichaud #1
Forms Authentication in a subfolder
Our web site is mostly classic ASP. I recently created a small ASP.NET
application that will reside in a subfolder a few levels deep. I want to
use forms authentication within this subfolder.
I had it all working just fine on my local WinXP box. But when I move it
out to our Win2K staging server I cannot access the application. It get the
error below. I took a look at the machine.config on the server and it does
indeed have allowDefinition="MachineToApplication" for authentication. I
tried changing it to Everywhere with no success.
On advice I found in other newsgroups I have verified that in IIS I created
a virtual directory for this app and that it is in fact setup as an
application.
It must be possible to use forms authentication in this scenario. What can
I do to make this work?
-Brett-
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 59: by Microsoft that offers a single logon and core profile
services for member sites.
Line 60: -->
Line 61: <authentication mode="Forms">
Line 62: <forms
Line 63: loginUrl="login.aspx"
Source File: C:\Webs\CorpWeb\products\imagebridge\myImageBridge \web.config
Line: 61
Brett Robichaud Guest
-
Accessing htm files without authentication (forms authentication)
I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But... -
how to by-pass forms authentication in a subfolder
Hello, I have an application with forms authentication setting specified in the web.config of the app root; so all users must login before they... -
Forms authentication in a subfolder problem, please help
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain... -
Forms authentication then redirection to a secure web with NT authentication?
Hi, I want to allow access to particular secured intranet web sites. These intranet are stored in sharepoint (2003 version) Actually I've... -
Forms authentication for subfolder yields 404
Thanks for all the help! I solved the problem. "joe" <contact_by_Newsgroup_only.please> wrote in message... -
Steven Cheng[MSFT] #2
RE: Forms Authentication in a subfolder
Hi Brett,
I'm viewing this post and find it is a duplicated one ou posted with
another in the
microsoft.public.dotnet.framework.aspnet. newsgroup. with the similiar
title. And a community member and I have both posted a reply in that one.
Please have a check on them. In addition, would you think it convenient
that we continue to disscuss in that thread? If so, please feel free to
post there if you have any questions or have any new findings. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
[url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]
Steven Cheng[MSFT] Guest
-
Brett Robichaud #3
Re: Forms Authentication in a subfolder
Yes we can continue in the other thread. I only posted here when I realized
there was a specific ASPNET security group. Thanks.
"Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
news:O59vMotHEHA.132@cpmsftngxa06.phx.gbl...> Hi Brett,
>
> I'm viewing this post and find it is a duplicated one ou posted with
> another in the
> microsoft.public.dotnet.framework.aspnet. newsgroup. with the similiar
> title. And a community member and I have both posted a reply in that one.
> Please have a check on them. In addition, would you think it convenient
> that we continue to disscuss in that thread? If so, please feel free to
> post there if you have any questions or have any new findings. Thanks.
>
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! [url]www.microsoft.com/security[/url]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
> Get Preview at ASP.NET whidbey
> [url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]
>
Brett Robichaud Guest



Reply With Quote

