Click here to Skip to main content
15,918,516 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: .net Pin
surshbabuk15-Jun-06 18:22
surshbabuk15-Jun-06 18:22 
AnswerRe: .net Pin
minhpc_bk15-Jun-06 23:43
minhpc_bk15-Jun-06 23:43 
QuestionEmail SMTP settings. [modified] Pin
Kenzy8615-Jun-06 16:52
Kenzy8615-Jun-06 16:52 
QuestionRandom password generation Pin
pitturamakrishna15-Jun-06 11:25
pitturamakrishna15-Jun-06 11:25 
AnswerRe: Random password generation Pin
Elina Blank15-Jun-06 12:23
sitebuilderElina Blank15-Jun-06 12:23 
AnswerRe: Random password generation Pin
Mircea Grelus15-Jun-06 12:51
Mircea Grelus15-Jun-06 12:51 
QuestionNewbie: Questions on datagrid, editing and datbinding Pin
leckey15-Jun-06 10:24
leckey15-Jun-06 10:24 
QuestionTrouble accessing a non-secure custom error page from a secure page. Pin
vic0215-Jun-06 7:38
vic0215-Jun-06 7:38 
Hi.
I have an application which requires a secure channel for just certain pages. I was able to do this selectively in IIS with no problem, except that the (non-secure) custom error page I defined in my web.config no longer works when an exception is thrown in one of the secure pages. It wants me to authenticate (even though these pages are set to allow anonymous access), after which I'll get the standard access is denied error.

I tried setting the defaultRedirect property in the web.config file to include the full Url, i.e., defaultRedirect="https://myDomain/myApp/genericErrorPage.htm", but then the non-secure pages have trouble accessing the custom error page. I get an HTTP 401.2 error:
"You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept."

Is there a way to have non-secure and secure pages within the same app, while using custom error pages?

QuestionCode for retrieving multiple files Pin
priyankardatta15-Jun-06 6:35
priyankardatta15-Jun-06 6:35 
QuestionHow to get data into the dropdown list from database table(c#) Pin
pitturamakrishna15-Jun-06 5:08
pitturamakrishna15-Jun-06 5:08 
AnswerRe: How to get data into the dropdown list from database table(c#) Pin
albCode15-Jun-06 5:11
albCode15-Jun-06 5:11 
AnswerRe: How to get data into the dropdown list from database table(c#) Pin
varshavmane15-Jun-06 5:34
varshavmane15-Jun-06 5:34 
QuestionStatic instances Pin
Dario Solera15-Jun-06 4:33
Dario Solera15-Jun-06 4:33 
AnswerRe: Static instances Pin
Colin Angus Mackay15-Jun-06 5:17
Colin Angus Mackay15-Jun-06 5:17 
GeneralRe: Static instances Pin
Dario Solera15-Jun-06 5:23
Dario Solera15-Jun-06 5:23 
AnswerRe: Static instances Pin
Guffa15-Jun-06 5:22
Guffa15-Jun-06 5:22 
GeneralRe: Static instances Pin
Dario Solera15-Jun-06 5:24
Dario Solera15-Jun-06 5:24 
QuestionHow to point to localhost? Pin
leckey15-Jun-06 4:19
leckey15-Jun-06 4:19 
AnswerRe: How to point to localhost? Pin
Paddy Boyd15-Jun-06 4:21
Paddy Boyd15-Jun-06 4:21 
GeneralRe: How to point to localhost? Pin
leckey15-Jun-06 4:25
leckey15-Jun-06 4:25 
GeneralRe: How to point to localhost? Pin
Paddy Boyd15-Jun-06 4:26
Paddy Boyd15-Jun-06 4:26 
GeneralRe: How to point to localhost? [modified] Pin
leckey15-Jun-06 4:28
leckey15-Jun-06 4:28 
GeneralRe: How to point to localhost? Pin
Paddy Boyd15-Jun-06 4:31
Paddy Boyd15-Jun-06 4:31 
GeneralRe: How to point to localhost? Pin
leckey15-Jun-06 4:33
leckey15-Jun-06 4:33 
GeneralRe: How to point to localhost? Pin
Paddy Boyd15-Jun-06 4:31
Paddy Boyd15-Jun-06 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.