What I don't understand is why the error and its details didn't get reported to the error log. In Admin/Orders/Default.aspx.cs BatchButton_Click, I have
Code: Select all
SG_OrderHelper sgOrder = new SG_OrderHelper(order);
sgOrder.SendVendorNotifications();
Code: Select all
public class SG_OrderHelper
{
... snip ...
public static string CreateXMLOrderFile(int orderId, int vendorId, int orderNumber)
{
... snip ...
DirectoryInfo di;
di = new DirectoryInfo(HttpContext.Current.Server.MapPath("~/App_Data/XmlFiles"));
... snip ...
}
... snip ...
}
Can someone please explain why the error wasn't trapped in the error log and why the error message is displayed as a browser dialog? Thanks in advance.