UltraWebChart部署时报GUI+错误解决手记[原创]

UltraWebChart部署时报GUI+错误解决手记[原创]

                   UltraWebChart部署时报GUI+错误解决手记[原创]
作者:pfeng   联系方式pfengk@hotmail.com ,blog: http://pfengk.cnblogs.com
        
         NetAdvantage 2004v2开发,部署在win2003 企业版上。部署后其他所有功能都可以使用,唯独在打开有图形空间的时候报错,错误信息如下:

——————————————–错误信息——————————————————
      GDI+ 中发生一般性错误。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。
ExternalException (0x80004005): GDI+ 中发生一般性错误。]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +581
   System.Drawing.Image.Save(String filename, ImageFormat format) +61
   Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +8074

[ImageStoreException: Unable to write chart image files at given file path. Please check and correct
UltraChart’s DeploymentScenario property. Or please provide write permissions to
directory path where chart must save images. Please refer Deployment Scenario
section in help files.
-Or- Follow KB article link: http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=5444
]
   Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +8152
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +260
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   ASP.MK_ChartMachinePlanAndFact_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in C:\Projects\pms\QueryAnalyse\Maker\MK_ChartMachinePlanAndFact.aspx:14
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1929

 

——————————————————————————–
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573

————————————-错误信息完———————————————————————–
排错:
         1、将存放图形文件的文件夹去掉只读属性。问题依旧。
         2、将存放图形文件的文件夹增加aspnet用户操作权限,问题依旧。
         3、修改machine.config文件中用户,改成SYSTEM,问题依旧。
到这里我已经黔驴技穷了,正在郁闷呢!想着我在2000上都可以部署为什么在2003上就不行呢?是不是做了集群的问题?带着这个问题,找一台pc机安装2003,再次部署 …  哈哈,成功了。什么原因?正在准备重做服务器操作系统时候,在我边上的同事似乎知道原因,直杀服务器捣鼓几分钟之后说部署好了。原因找到,我每次部署的时候都习惯性的将所有零时文件都清除,当然包括清除图形文件夹下的图形文件,但是,这次部署服务器上不是我操作的,是刚才的同事,他并没有删除图形文件夹下的图形文件,导致这个错误。[完]

转载于:https://www.cnblogs.com/pfengk/articles/379615.html

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/111147.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • YUV图像合成原理[通俗易懂]

    YUV图像合成原理[通俗易懂]YUV图像合成原理引言:在视频监控中最常用的就是图像拼接和字符叠加,25FPS的视频流,如果每隔40MS就从各个通道中取一幅图像来合成,则可以看到一个实时的合成视频。合成的过程也就是原始图像的拼接、缩放的过程,本文主要阐述UV分开存储的YUV420图像拼接的过程,实现下图的效果。一、原图图像格式1、图像常用的格式有两种RGB和YUV(1)YUV是

    2022年7月16日
    16
  • nginx转发https到http

    nginx转发https到http微信小程序和公众号,要求外链的页面或API必须使用https。https意味着需要证书,在测试阶段,很不方便,因此部署的测试站点都是http。于是尝试在现有的https站点中,用nginx转发请求到只有http的测试站点。方法众所周知,在nginx.conf中添加一个转发规则。 server{ listen80; server_name服务器IP; 。。。 } server{ listen443ssl; server

    2022年10月19日
    6
  • executeupdate mysql_java – 使用Mysql中的executeUpdate通过sql语句…

    executeupdate mysql_java – 使用Mysql中的executeUpdate通过sql语句…我有以下doGet():protectedvoiddoGet(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletException,IOException{MysqlDataSourceds=newMysqlConnectionPoolDataSource();ds.setServerNa…

    2022年10月20日
    3
  • StretchBlt用法[通俗易懂]

    StretchBlt用法[通俗易懂]首先定义protected: BITMAPbmp;其次实现///////////////////////////////////////////////////////////////////////////////CExamineViewdrawingvoidCExamineView::OnDraw(CDC*pDC){ CExamineDoc*pDoc=GetDo

    2025年6月13日
    2
  • 超详细MySQL安装及基本使用教程[通俗易懂]

    超详细MySQL安装及基本使用教程[通俗易懂]一、下载MySQL首先,去数据库的官网http://www.mysql.com下载MySQL。点击进入后的首页如下: 然后点击downloads,community,选择MySQLCommunityServer。如下图: 滑到下面,找到RecommendedDownload,然后点击gotodownloadpage。如下图: 点击download进入下载页面选择No…

    2022年4月27日
    50
  • hexdump用法_linux dump命令

    hexdump用法_linux dump命令本文乃fireaxe原创,使用GPL发布,可以自由拷贝,转载。但转载请保持文档的完整性,并注明原作者及原链接。内容可任意使用,但对因使用该内容引起的后果不做任何保证。作者:fireaxe_hq@hotmail.com博客:fireaxe.blog.chinaunix.net转自:http://blog.chinaunix.net/uid-20528014-id-4087756.html开发时经常会…

    2022年9月21日
    2

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号