Solved

ASP.NET CustomErrors = RemoteOnly not working

Posted on 2011-03-03
6
870 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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