Access Denied on PostBack

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nathan Truhan

    Access Denied on PostBack

    I am going to try posting this again with my full email address if someone wants to please respond. I am stumped.

    All,
    I am writing a Web Form that has a drop-down list that is populated on the First Load from a SQL 2000 Database that contains a list of Terms. Also on the first access (Is Not PostBack) it will take the SelectedItem.Va lue of the Drop-down Box and pass it to a function called LoadReport(). This function goes back to the database and loads a DataGrid with Data from a stored procedure. I also have a button called Load next to the Drop-down list to change the term and reload the data.

    The page is hosted on an IIS 5.0 Server with Windows Authentication turned on, and authentication mode="windows" in the ASP.NET page.
    The first call to the page works fine, it prompts once for my username/password and my data appears as expected. However, when I select a different value, or same value from the Drop-Down list and click the Load button, it performs a postback, which just Re-Calls the LoadReport function with the new SelectedItem.Va lue from the Drop-Down. It starts the postback, but then prompts me again for my username/password three times, then after a short wait, gives me an 401.1 Unauthorized: Logon Failed, You are not an authorized to view this page. However I just viewed the page from the first time it loaded.

    Has anyone ever seen this before? and if so how did you fix it?

    Thanks,
    Nathan
    ntruhan(no-spam)@kent.edu

Working...