470,631 Members | 1,788 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

Change "Access is Denied" default page in web application

Hi!
I'm using Windows Authentication in my application, restricting permissions
with authorization for specific users. But when someone try to access and
don't have permissions, the default page "Access is Denied" appears...

Can I figure out this and show my own page?

HSH
Ueslei
Nov 18 '05 #1
4 1883
you can specify the page that each error goes to in the IIS manager.
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Ueslei R. Valentini" <ue****@diuno.com.br> wrote in message
news:uB**************@TK2MSFTNGP09.phx.gbl...
Hi!
I'm using Windows Authentication in my application, restricting permissions with authorization for specific users. But when someone try to access and
don't have permissions, the default page "Access is Denied" appears...

Can I figure out this and show my own page?

HSH
Ueslei

Nov 18 '05 #2
In IIS I changed the 401.2 error page, but It still showing the same error
message...

What exactly I need change?

HSH
Ueslei

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eb**************@TK2MSFTNGP09.phx.gbl...
you can specify the page that each error goes to in the IIS manager.
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Ueslei R. Valentini" <ue****@diuno.com.br> wrote in message
news:uB**************@TK2MSFTNGP09.phx.gbl...
Hi!
I'm using Windows Authentication in my application, restricting

permissions
with authorization for specific users. But when someone try to access and don't have permissions, the default page "Access is Denied" appears...

Can I figure out this and show my own page?

HSH
Ueslei


Nov 18 '05 #3
is that the error number?
Also, make sure to stop/restart IIS

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Ueslei R. Valentini" <ue****@diuno.com.br> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
In IIS I changed the 401.2 error page, but It still showing the same error
message...

What exactly I need change?

HSH
Ueslei

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eb**************@TK2MSFTNGP09.phx.gbl...
you can specify the page that each error goes to in the IIS manager.
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Ueslei R. Valentini" <ue****@diuno.com.br> wrote in message
news:uB**************@TK2MSFTNGP09.phx.gbl...
Hi!
I'm using Windows Authentication in my application, restricting

permissions
with authorization for specific users. But when someone try to access and don't have permissions, the default page "Access is Denied" appears...

Can I figure out this and show my own page?

HSH
Ueslei



Nov 18 '05 #4

"Ueslei R. Valentini" <ue****@diuno.com.br>, haber iletisinde şunları
yazdı:uB**************@TK2MSFTNGP09.phx.gbl...
Hi!
I'm using Windows Authentication in my application, restricting permissions with authorization for specific users. But when someone try to access and
don't have permissions, the default page "Access is Denied" appears...

Can I figure out this and show my own page?

HSH
Ueslei

sorry for polluting if u know all these but
may be this will work
in web.config file make these changes if u don't
<customErrors mode="on">
'maybe your mode is "RemoteOnly" or "off"
'if it is "RemoteOnly" then it is just returns the default error page to
local
<error redirect="url" statusCode="code">
</customErrors>

good luck

Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by David A Barajas | last post: by
1 post views Thread by David Di Donato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.