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

  • SEARCH
  • Home
  • 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 4620780
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:36:24+00:00 2026-05-22T02:36:24+00:00

I just built an application with forms authentication. I am unable to see my

  • 0

I just built an application with forms authentication. I am unable to see my styles in the application (before being authenticated on Login.aspx NOR on a page after being logged in successfully). They used to be accessible when the app was using windows authentication.

I read another forum that said you must give access to the App_Themes folder containing the css prior to authenticating, but read above again (I also can’t see them after authenticating). That was working before when using Windows authentication. I brought in another menu library, so you’ll see 3 sections now.

I’m using Windows 7. Oh, and I right clicked the root folder containing my website files. I added permissions to IIS_IUSRS group, and IIS APPPOOL[APP POOL NAME] in IIS 7. I gave all permissions to both. Also, I have Basic Authentication enabled, and Forms authentication enabled in my site. The rest are disabled.

Thanks Stack Overflow Geniouses!!

==========================

web.config

Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
–>

<compilation debug="true">
  <assemblies>
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  </assemblies>
</compilation>
<!--
        The <authentication> section enables configuration 
        of the security authentication mode used by 
        ASP.NET to identify an incoming user. 
    -->

<!--<authentication mode="Forms">
  <forms cookieless="UseCookies" slidingExpiration="true"
         protection="All" timeout="60" loginUrl="~/Login.aspx">
  </forms>
</authentication>
<authorization>
  <deny users="?" />
  <allow users="*"/>
</authorization>-->

  <authentication mode="Forms">
      <forms name="WANTA-AUTHENTICATE"
             loginUrl="Login.aspx"
             protection="All"
             timeout="5"
             path="/">
          <credentials passwordFormat="MD5" />
      </forms>
  </authentication>
  <authorization>
      <allow users="*"/>
      <deny users="?" />
  </authorization>      



<customErrors mode="Off" defaultRedirect="Default.aspx">

</customErrors>

<pages>
  <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  </controls>
</pages>
<httpHandlers>
  <remove verb="*" path="*.asmx"/>
  <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
  <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>

<!--  SESSION STATE SETTINGS
      By default ASP.NET uses cookies to identify which requests belong to a particular session. 
      If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
      To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" timeout="55" />

<system.serviceModel>

<!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true" >
  <baseAddressPrefixFilters>
    <add prefix="http://localhost/" />
  </baseAddressPrefixFilters>
</serviceHostingEnvironment>-->

<behaviors>
  <endpointBehaviors>
    <behavior name="AspNetAjaxBehavior">
      <enableWebScript/>
    </behavior>
  </endpointBehaviors>

 <serviceBehaviors>
    <behavior name="ServiceBehavior">
      <serviceDebug includeExceptionDetailInFaults="true" />
    </behavior>
 </serviceBehaviors>
</behaviors>

<services>       
    <service name="Wanta.Toolkit.WantaService" behaviorConfiguration="ServiceBehavior">            
        <endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" contract="Wanta.Toolkit.WantaService" />            
    </service>        
</services>
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

==================

Login.aspx.cs

protected void Logon_Click(object sender, EventArgs e)
{
    if ((UserEmail.Text == "x") &&
            (UserPass.Text == "x"))
    {
        FormsAuthentication.RedirectFromLoginPage
           (UserEmail.Text, Persist.Checked);
    }
    else
    {
        Msg.Text = "Invalid credentials. Please try again.";
    }
}
  • 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-22T02:36:25+00:00Added an answer on May 22, 2026 at 2:36 am

    In the past, I always remember giving access to the files of my site by right clicking the root folder of my site, and giving access to the following:

    server (aka Location): local machine
    IIS_IUSRS <=== this is a group
    IIS APPPOOL[web_site_app_pool_name]

    However, for some reason, IUSR was not in the group IIS_IUSRS. I ended up just giving that IUSR user access to my site, and not the group. I learned that you can actually put the user IUSR into the group IIS_IUSRS by going to Computer > Manage > Manage Users & Groups > …

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

Sidebar

Related Questions

I've built a simple application that applies grid-lines to an image or just simple
In my asp.net webforms application I am using plain and simple forms authentication hooked
I've just built a VS C++ 6.0 program using VS 2008. When I attempt
I've just built a basic ASP MVC web site for deployment on our intranet.
I have just built up my first SVN server, along with the mod_dav_svn module
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I'm using a medical records system built on an Oracle database. Our vendor just
I have an ASP.NET web application I built for a client that uses default
I'm looking for a pre-built solution I can use in my RoR application. I'm
I have a Visual Studio 2010 Windows Forms application in which I start a

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.