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!?
HADDADD3Asked:
Who is Participating?
 
joshbulaConnect With a Mentor Commented:
Ok, that makes sense.  Instead of going to www.mysite.com, go to http://localhost/
0
 
joshbulaCommented:
<system.web>
  <customErrors mode="On" defaultRedirect="~/ErrorPage.aspx" />
</system.web>
0
 
joshbulaCommented:
Oh... sorry... misunderstood the question.  oops.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
joshbulaCommented:
In the <compilation...> tag, do you have debug="true" ?
0
 
HADDADD3Author Commented:
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?
0
 
HADDADD3Author Commented:
I cant because i use host headers, any work around?

Editing the hosts file maybe?
0
All Courses

From novice to tech pro — start learning today.