Click here to Skip to main content
15,896,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: runtime dropdownlist in grid..., Pin
VenkataRamana.Gali31-Aug-07 1:36
VenkataRamana.Gali31-Aug-07 1:36 
GeneralRe: runtime dropdownlist in grid..., Pin
Member 387988131-Aug-07 1:44
Member 387988131-Aug-07 1:44 
GeneralRe: runtime dropdownlist in grid..., Pin
VenkataRamana.Gali31-Aug-07 1:56
VenkataRamana.Gali31-Aug-07 1:56 
GeneralRe: runtime dropdownlist in grid..., Pin
Member 387988131-Aug-07 2:01
Member 387988131-Aug-07 2:01 
GeneralRe: runtime dropdownlist in grid..., Pin
Imran Khan Pathan31-Aug-07 1:57
Imran Khan Pathan31-Aug-07 1:57 
QuestionHelp regarding creating PDFs Pin
anu8131-Aug-07 1:08
anu8131-Aug-07 1:08 
AnswerRe: Help regarding creating PDFs Pin
Vasudevan Deepak Kumar31-Aug-07 7:30
Vasudevan Deepak Kumar31-Aug-07 7:30 
Questionauthorization and customErrors Pin
Itay Levin31-Aug-07 0:34
Itay Levin31-Aug-07 0:34 
Hey,

i don't know why, but i posted last night my question, and it seems to be deleted or something, and i have no idea why?

i will try to write it again: hope it won't be deleted....
i have a group of users which i want to be authorized to access my site.
and i want that anyone who is not in that group, will be redirected to a custom error webpage.
the problem is, that when i try to redirect him, it seems that he doesnt has any authorization to access my custom page.

i have 2 Web.Config files:
one for the all website which i set over there:
<authorization>
<allow roles="myWebSiteMembers">
<deny users = "*">
</Authorization>

<customErrors mode = "On" defaultredirect="Login/NoAccess.aspx">
<error statusCode = "401" redirect = "Login/NoAccess.aspx">
</CustomErrors>

and the other web.config i put in the Login folder, along whith the custom error page NoAccess.aspx
and this web.config has a <allow users = "*"> attribute alone.

the problem is that i don't get redirected and i get the default Access denied (asp.Net page) whith status code 401.2 explaning that i don't have access to the site.
also the url doesn't change so i think it means that he doesnt actually try to redirect to the otherpage.

hope you can help me to solve this problem fast,
Thanks alot.
p.s please do not delete this post, if it has errors or things againts the Boards rules,tell me and i will fix it.

Itay Levin


QuestionValidations in gridview Pin
anujose30-Aug-07 23:37
anujose30-Aug-07 23:37 
AnswerRe: Validations in gridview Pin
VenkataRamana.Gali31-Aug-07 1:13
VenkataRamana.Gali31-Aug-07 1:13 
GeneralRe: Validations in gridview Pin
anujose31-Aug-07 2:27
anujose31-Aug-07 2:27 
QuestionAJAX and FileUpload Pin
steve_a_p30-Aug-07 23:18
steve_a_p30-Aug-07 23:18 
AnswerRe: AJAX and FileUpload Pin
qtuan30-Aug-07 23:44
qtuan30-Aug-07 23:44 
GeneralRe: AJAX and FileUpload Pin
steve_a_p31-Aug-07 2:17
steve_a_p31-Aug-07 2:17 
GeneralRe: AJAX and FileUpload Pin
Vasudevan Deepak Kumar2-Sep-07 1:02
Vasudevan Deepak Kumar2-Sep-07 1:02 
QuestionRe: AJAX and FileUpload Pin
steve_a_p2-Sep-07 23:22
steve_a_p2-Sep-07 23:22 
Questionhow we navigatetourl with buttonfield column in gridview Pin
puspendra napit30-Aug-07 23:16
puspendra napit30-Aug-07 23:16 
AnswerRe: how we navigatetourl with buttonfield column in gridview Pin
VenkataRamana.Gali31-Aug-07 1:22
VenkataRamana.Gali31-Aug-07 1:22 
QuestionError: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
Milind Panchal30-Aug-07 22:42
Milind Panchal30-Aug-07 22:42 
AnswerRe: Error: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
Imran Khan Pathan30-Aug-07 23:15
Imran Khan Pathan30-Aug-07 23:15 
AnswerRe: Error: Value of type 'Byte' cannot be converted to '1-dimensional array of Byte' Pin
l0kke30-Aug-07 23:21
l0kke30-Aug-07 23:21 
QuestionHow to get IpAddress of the system. Pin
rahul.net1130-Aug-07 22:22
rahul.net1130-Aug-07 22:22 
AnswerRe: How to get IpAddress of the system. Pin
Imran Khan Pathan30-Aug-07 23:17
Imran Khan Pathan30-Aug-07 23:17 
GeneralRe: How to get IpAddress of the system. Pin
rahul.net1130-Aug-07 23:26
rahul.net1130-Aug-07 23:26 
AnswerRe: How to get IpAddress of the system. Pin
Vasudevan Deepak Kumar31-Aug-07 7:31
Vasudevan Deepak Kumar31-Aug-07 7: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.