Solved

ASP.NET CustomErrors = RemoteOnly not working

Posted on 2011-03-03
6
872 Views
Last Modified: 2012-05-11
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!?
0
Comment
Question by:HADDADD3
  • 4
  • 2
6 Comments
 
LVL 9

Expert Comment

by:joshbula
ID: 35030336
<system.web>
  <customErrors mode="On" defaultRedirect="~/ErrorPage.aspx" />
</system.web>
0
 
LVL 9

Expert Comment

by:joshbula
ID: 35030348
Oh... sorry... misunderstood the question.  oops.
0
 
LVL 9

Expert Comment

by:joshbula
ID: 35030358
In the <compilation...> tag, do you have debug="true" ?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:HADDADD3
ID: 35030453
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
 
LVL 9

Accepted Solution

by:
joshbula earned 500 total points
ID: 35030553
Ok, that makes sense.  Instead of going to www.mysite.com, go to http://localhost/
0
 

Author Comment

by:HADDADD3
ID: 35030630
I cant because i use host headers, any work around?

Editing the hosts file maybe?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question