Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5981263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:55:11+00:00 2026-05-22T21:55:11+00:00

I use ASP .Net 4 and I have a project using the form web

  • 0

I use ASP .Net 4 and I have a project using the form web authentication

<authentication mode="Forms">
  <forms loginUrl="~/" timeout="7200" />
</authentication>

I have a web service in the same project and I want to disable this web authentication for one page (a web service)

I tryed that code :

<location path="WSBaseCentrale.asmx" allowOverride="false">
  <system.web>
    <authorization>
      <allow users="?"/>
    </authorization>
  </system.web>
</location>

But I’ve a 302 redirection to the form logon.
Is it possible to disable it ?

Edit

I tryied that and it doesn’t work better.
When I access to the page (http://localhost/App/WSBaseCentrale.asmx) I am always redirected to the form page (http://localhost/App/) with an HTTP 302 redirection.

<location path="WSBaseCentrale.asmx">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>

Edit 2

Some others facts :

  • the anonymous user in iis is activated.
  • When I use firebug (I desactive the cache and I remove the cookie), I can reproduce the problem every time. Moreover, I can see in the response header that the server send a Location directive to the browser.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:55:12+00:00Added an answer on May 22, 2026 at 9:55 pm

    Remove allowOverride="false"

    Also remove <allow users="?"/> and add it in place of <allow users="*"/>

    Finally, make sure your webservice is in the root Directory, otherwise you have to specify the path accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this existing environment: 1) ASP.NET 3.5 web application 2) forms authentication with
I have an ASP.net project I'm looking at and they want to use MySQL.
Suppose you have two seperate ASP.NET Web Application projects that both need to use
I work on a web game , I use asp.net mvc, linqtosql. I have
I have an ASP.NET linkbutton control on my form. I would like to use
I'm working on an asp.net web site. We have to use com interop to
I have a pretty big web application that I created last year using ASP.NET
I am creating a Web application using ASP.NET MVC, and I'm trying to use
I am using ASP.NET Dynamic Data Entities project to generate a web application for
I have an ASP .net C# project using a EntityDataSource with a DevExpress aspxGridView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.