owc11 exception
“/WebApplication1”应用程序中的服务器错误。
--------------------------------------------------------------------------------
拒绝访问。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 拒绝访问。
源错误:
行 61: //输出成GIF文件.
行 62: string strAbsolutePath = (Server.MapPath(".")) + "\\test.gif";
行 63: objCSpace.ExportPicture(strAbsolutePath, "GIF", 600, 350);
行 64:
行 65: //创建GIF文件的相对路径.
源文件: c:\inetpub\wwwroot\webapplication1\chart.aspx.cs 行: 63
堆栈跟踪:
[COMException (0x80030005): 拒绝访问。]
OWC11.ChartSpaceClass.ExportPicture(String Filename, String FilterName, Int32 Width, Int32 Height) +0
WebApplication1.chart.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\webapplication1\chart.aspx.cs:63
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
msn:kaixindream@hotmail.com
qq:33482898
icq:316240298