Change "Access is Denied" default page in web application

U

Ueslei R. Valentini

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
 
U

Ueslei R. Valentini

In IIS I changed the 401.2 error page, but It still showing the same error
message...

What exactly I need change?

HSH
Ueslei
 
M

Murat Tunaboylu

haber iletisinde þunlarý said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top