ASP Programming Problem
I’m going to throw this out there as it’s giving me a headache today trying to figure out why this problem is occuring. Any insight from you all would be appreciated.
I’m developing a few ASP.NET pages for a client. On one of the pages I’ve setup the link to go to an error page if the connection to the database fails due to invalid or no data available in the database. Here are the three scenarios that are taking place:
- When I view and test the functionality through my computer, the error page is displayed and directs the user back to the main page of their request. IT WORKS!
- When I view the page using the link through the SSL Sharepoint portal, the page works and displays the error page as expected. IT WORKS!
- When I try to display the page directly from the server machine it’s hosted on (http://abc123/customrqst/errorpage.aspx), then I get a weird error display, and not the custom error page I developed. IT’S BROKE
Now, a friend of mine has suggested that it’s because of the SSL pages referencing itself on the server and not working. He’s also suggested that’s run into some weird phenomenon about trying to display a webpage locally from the server it’s sitting on while on the server itself.
Does anyone have any insight?
Tags: ASP.NET, custom-errors, error-pages, Server, SSLRelated Stories
POSTED IN: Internet Explorer, Servers
2 opinions for ASP Programming Problem
Eric Coleman
May 30, 2006 at 6:44 pm
Uh… not to be a moron or anything, but…
Are you tring to redirect to an internal hostname, while connected externally?
I.e. are you connected to server.com and the page is redirecting to a local host name? It appears that way in your message, and that would -not- work…..
Forgive me for being retarded ;)
Jason
May 30, 2006 at 7:09 pm
You’re not a moron or retarded, at least not from your clarifying questions. I’m not redirecting to another page, I’m just linking to another page in the existing site and that link is based on being a document relative link, not site relative. So, I don’t think that’s it, but it could be.
Have an opinion? Leave a comment: