Link to home
Start Free TrialLog in
Avatar of HADDADD3
HADDADD3

asked on

ASP.NET CustomErrors = RemoteOnly not working

ASP.NET V2
IIS6

Turned custom errors to RemoteOnly, when im on the local box, it shows me the generic YSOD.

Even when i turn customerrors='off' it still gives me generic YSOD. How can i see my errors!?
Avatar of joshbula
joshbula

<system.web>
  <customErrors mode="On" defaultRedirect="~/ErrorPage.aspx" />
</system.web>
Oh... sorry... misunderstood the question.  oops.
In the <compilation...> tag, do you have debug="true" ?
Avatar of HADDADD3

ASKER

Yes Debug is true.

I;m trying to get "remoteOnly" to work.

I think the issue is that server is behind a firewall....

So when i go to(on the local box)
www.mysite.com
it is first connecting to firewall, then passing through the firewall, to the local address 192.168.1.2, and "thinks" that it is a remote connection....

Is that right? Is there a work-around?
ASKER CERTIFIED SOLUTION
Avatar of joshbula
joshbula

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I cant because i use host headers, any work around?

Editing the hosts file maybe?