Bubbling up the full stack trace error from Global.asax
<p>I'm implementing a custom page, and what I have now isn't working like I thought it would. How can I fix the code below to bubble up the full stack trace?</p>

<p>I'm using the Application_Error.</p>

<p>Thanks!</p>

<pre><code>EventLog eventLog = new EventLog();

            //Write an error to event log
            eventLog.LogException(
                String.Format("UNHANDLED EXCEPTION\nPage: {0}", ((Global)(sender)).Context.Request.Path),
                ex);

            HttpContext httpContext = HttpContext.Current;

           // Exception exception = httpContext.Server.GetLastError();

            //build out custom formatted error page
            string strError = "&lt;html&gt;" +
                "&lt;head runat='server'&gt;" +
                "&lt;title&gt;Support Error Page&lt;/title&gt;" +
                "&lt;link href='Styles/errorPage.css' rel='stylesheet' type='text/css' media='screen' /&gt;" +
                 "&lt;script src='js/jquery.min.js' type='text/javascript'&gt;&lt;/script&gt;" +
                "&lt;script src='js/expand.js' type='text/javascript'&gt;&lt;/script&gt;" +
                "&lt;script type='text/javascript'&gt;" +
                    "$(function() {" +
                        "$('#outer  h2.expand').toggler({method: 'slideFadeToggle'});" +
                    "});" +
                "&lt;/script&gt;" +
                "&lt;/head&gt;" +
                "&lt;body&gt;" +
                    "&lt;form id='form1' runat='server'&gt;" +                       
                            "&lt;div id='wrapper'&gt; " +
                                 "&lt;div id='content'&gt;" +
                                    "&lt;h1 class='heading'&gt;An error occurred processing this request&lt;/h1&gt;" +
                                      "&lt;div id='outer'&gt;" +
                                        "&lt;h2 class='expand'&gt;Click here to expand/collapse the error&lt;/h2&gt;" +
                                        "&lt;div class='collapse'&gt;" +
                                            "&lt;p&gt;&lt;b&gt;Error occurred in page: &lt;/b&gt;" + httpContext.Server.GetLastError().Source.ToString() + "&lt;/p&gt;" +
                                            "&lt;p&gt;&lt;b&gt;Error Message: &lt;/b&gt;" + httpContext.Server.GetLastError().Message.ToString() + "&lt;/p&gt;" +
                                            "&lt;p&gt;&lt;b&gt;Stack Trace: &lt;/b&gt;" + httpContext.Server.GetLastError().StackTrace.ToString() + "&lt;/p&gt;" +
                                        "&lt;/div&gt;" +
                                      "&lt;/div&gt;" +
                                    "&lt;/div&gt;" +
                                "&lt;/div&gt;" +                             
                     "&lt;/form&gt;" +
                    "&lt;/body&gt;" +
                   "&lt;/html&gt;";

            httpContext.Response.Write(strError);

            //  clear the error
            httpContext.Server.ClearError();
        }
    }
</code></pre>
