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 8621135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:45:05+00:00 2026-06-12T06:45:05+00:00

My application displays the following error when a postback occurs on the page: Forbidden:

  • 0

My application displays the following error when a postback occurs on the page:

Forbidden: You do not have permission to access / folder / teste.aspx on this server.

I can access the pages normally, the problem is when a postback occurs. For example, when a selectedindexchanged occurs, or a button is clicked, this error appears. But, when navigation is made by hyperlinks, the error does not occur.

This problem only appears when the application is accessed over the internet. The anonymous access was already enabled. I am using IIS6 and windows server 2003.

  • 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-06-12T06:45:06+00:00Added an answer on June 12, 2026 at 6:45 am

    This is a permissions issue. You need to do two things: 1) update the Web.config of your project to impersonate, and 2) update the folder permissions to allow Read/Write access to the IUSR account on your machine. Here are the details:

    First, Add this to your Web.config in the system.web node:

    <identity impersonate="true"/>
    
    1. Now, go to the root folder of your Web site in Windows Explorer, right click it, and click the ‘Properties’ option.

    2. Then go to the Security tab. Click the ‘Edit…’ button next to the text that says ‘To change permissions, click ‘Edit.’

    3. You will see a list of Groups or user names. Underneath that box, click ‘Add…’

    4. In the next window ‘Select Users or Groups’, click the ‘Advanced’ button on the bottom left.

    5. Click the ‘Find Now’ button on the right. In the search results, look for an account called IUSR_MachineName (where machine name is the name of your computer). Select it by left clicking it, and then click ‘OK’

    6. Click ‘OK’ on the ‘Select Users or Groups’ window

    7. In the list of groups or usernames, locate the IUSR account that you just added, and make sure that at the bottom the boxes for Modify, Read/Execute, List Folder Contents, and Read are all checked as ‘Allow’. Note: You don’t have to use Modify, but if you have any code that writes to the file system, you will need that checked.

    Give that a shot.

    For information’s sake, the reason why it works from localhost, but not remote, is because the worker process is identifying you as an authenticated user. The instructions above are forcing IIS to use the ‘Internet Guest Account’ and then you are manually giving the permissions needed to that account.

    One last final note, is that if you still have a problem, you might want to try giving the same access (using the steps above) to the ‘Network’ and ‘Network Service’ accounts. I don’t think they matter (I’m pretty sure they were for Vista, but I could be wrong), but just in case.

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

Sidebar

Related Questions

I have an application web.xml with the following entry: <error-page> <error-code>404</error-code> <location>/system_files/error/p_notfound.jsp</location> </error-page> However,
I have the following aspx/html page, it uses jquery to display a modal form.
Here’s the situation: We have a 3rd party application that intermittently displays an error
My application displays a folder structure in a tree. The user can browse the
I have an application which displays properties dialogs for various GUI-accessible objects. Because there
I have an application that displays the data from 3 xml files (auto generated
I have an application that displays pictures from the internet (showcase for designer work).
I have an web application that displays employee birthdays for the current month in
I have an android application that displays a toast every hour and then every
I am getting the following error on a PHP & MySQL application from Murach's

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.