Click here to Skip to main content
16,010,114 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMicrosoft.Web.UI.WebControls Treeview Pin
anand tcr31-Aug-07 2:32
anand tcr31-Aug-07 2:32 
AnswerRe: Microsoft.Web.UI.WebControls Treeview Pin
pmarfleet31-Aug-07 4:24
pmarfleet31-Aug-07 4:24 
GeneralRe: Microsoft.Web.UI.WebControls Treeview Pin
anand tcr31-Aug-07 21:19
anand tcr31-Aug-07 21:19 
GeneralRe: Microsoft.Web.UI.WebControls Treeview Pin
pmarfleet1-Sep-07 0:25
pmarfleet1-Sep-07 0:25 
QuestionDataGridview in ASP.Net Pin
somagunasekaran31-Aug-07 2:18
somagunasekaran31-Aug-07 2:18 
AnswerRe: DataGridview in ASP.Net Pin
www.Developerof.NET31-Aug-07 3:41
www.Developerof.NET31-Aug-07 3:41 
AnswerRe: DataGridview in ASP.Net Pin
Nouman Bhatti31-Aug-07 4:15
Nouman Bhatti31-Aug-07 4:15 
AnswerRe: DataGridview in ASP.Net Pin
Urs Enzler31-Aug-07 4:28
Urs Enzler31-Aug-07 4:28 
QuestionHow to create web application like windows application Pin
PadmaPriya.S31-Aug-07 1:49
PadmaPriya.S31-Aug-07 1:49 
AnswerRe: How to create web application like windows application Pin
Urs Enzler31-Aug-07 4:24
Urs Enzler31-Aug-07 4:24 
AnswerRe: How to create web application like windows application Pin
Vasudevan Deepak Kumar31-Aug-07 7:29
Vasudevan Deepak Kumar31-Aug-07 7:29 
Questionruntime dropdownlist in grid..., Pin
Member 387988131-Aug-07 1:20
Member 387988131-Aug-07 1:20 
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 

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.