错误模块名称: MSVCR90.dll
源代码:protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
rptNewInvoice rpt = new rptNewInvoice();
rpt.SetParameterValue("Title", "");
rpt.ExportToHttpResponse(ExportFormatType.WordForWindows, Response, true, "Quotation");
rpt.Close();
}
}
在IIS6+windows 2003 server中部署时,没有出错是OK的..
在IIS7+windows 7或windows 8中部署时,会出错导致,
如果导出ExportFormatType.PortableDocFormat就不会出错,不知为何?
,错误日记如下:
错误应用程序名称: WebDev.WebServer.exe,版本: 9.0.30729.1,时间戳: 0x488f1aa2
错误模块名称: MSVCR90.dll,版本: 9.0.30729.6161,时间戳: 0x4dace5b9
异常代码: 0xc0000417
错误偏移量: 0x00037256
错误进程 ID: 0x1fcc
错误应用程序启动时间: 0x01cc8d339cafd88c
错误应用程序路径: C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.exe
错误模块路径: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
报告 ID: fa63ec75-f926-11e0-90b0-005056c00008 --------------------编程问答-------------------- 没有人气.. --------------------编程问答-------------------- 没有人气.. --------------------编程问答-------------------- 这个问题我正在查呢。。。就是找不到根据事件查看器能得到些信息。
补充:.NET技术 , ASP.NET