By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

Access Denied on PostBack

P: n/a
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.Value 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.Value 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
Natha
ntruhan(no-spam)@kent.edu
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.