Showing posts with label errors. Show all posts
Showing posts with label errors. Show all posts

Tuesday, October 12, 2010

showing errors in ajax


In master page  
 <% if (HttpContext.Current.IsDebuggingEnabled) { %>
    <meta name="debug" content="true" />
    <% } %>

In javascript
        //EVENT Error
        error: function (result) {
            HideProgress();
            if ($("meta[name=debug]").attr("content") == "true") {
                //Full Error when debugging
                var errDoc = window.open();
                errDoc.document.write(result.responseText);
                errDoc.document.close();
            } else {
                // generic error message for production use
                Message("An unexpected error occurred.", "Error");
            }
        }

Tuesday, August 10, 2010

converting .net 2.0 to 4.0 errors in code

when trying to compile a solution and you see circular reference in files this may be your issue

http://support.microsoft.com/kb/919284/en-us?spid=8940&sid=258