首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Azure System.Web.Services.Protocols.SoapException

Azure System.Web.Services.Protocols.SoapException
EN

Stack Overflow用户
提问于 2013-04-13 03:29:51
回答 1查看 294关注 0票数 1

我在服务器上使用web服务,它工作正常。现在,我要将我的站点传输到Azure服务器。现在我在azure上创建了一个免费的网站来测试它。

它是一个调用服务来创建报告的Silverlight应用程序。

当我调用此服务时,会出现以下错误

错误:

代码语言:javascript
复制
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.ArgumentException: Parameter is not valid.
   at System.Drawing.Graphics.GetHdc()
   at C1.Util.FontSubSet.#e.#cA.#Kn(FontSubSet owner, String tableName)
   at C1.Util.FontSubSet.GetFontTableStream(String name)
   at C1.Util.FontSubSet.#TDd()
   at C1.Util.FontSubSet.Init()
   at C1.Util.FontSubSet.GetFontSubSet(FontKey fk)
   at C1.C1Preview.C1PrintDocument.#ydd(String s, String fontName, Boolean fontBold, Boolean fontItalic, Boolean updateDocumentFonts)
   at C1.C1Preview.C1PrintDocument.#zdd(String s, String fontName, Byte fontCharSet, FontStyle fontStyle)
   at C1.C1Preview.RenderText.InternalResolvingFinished()
   at C1.C1Preview.RenderObject.ResolvingFinished()
   at C1.C1Report.Layout.RenderDirect(ILengthCacheProvider lcp, RenderObject ro, RenderFragment rf, Double x, Double y, Double width, Double height)
   at C1.C1Report.Layout.RenderDirect(ILengthCacheProvider lcp, RenderObject ro, RenderFragment rf, RectangleD bounds)
   at C1.C1Report.Field.#RLd(ExportFilter export, Layout layout, RectangleD bounds, String str, Boolean rtf, Double lineWidthTw, Int32 firstCharIndex, Int32 length)
   at C1.C1Report.Field.Render(Layout layout, Double x, Double y, Boolean measure)
   at C1.C1Report.Field.Render(Layout layout, Double x, Double y)
   at C1.C1Report.Section.Render(Boolean keepPage, Group ownerGroup)
   at C1.C1Report.Layout.#fMd(Section s)
   at C1.C1Report.Layout.StartDoc()
   at C1.C1Report.C1Report.RenderFirstPass(Boolean releaseDocument)
   at C1.C1Report.C1Report.#fNd()
   at C1.C1Report.C1Report.#dNd(ExportFilter filter, Boolean reuse)
   at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt, String idPrefix, String fileName)
   at C1.C1Report.C1Report.RenderToStream(Stream stream, FileFormatEnum fmt)
   at Gestion1.Web.RapportS.GetReportCommunique()
   --- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope> `
EN

回答 1

Stack Overflow用户

发布于 2014-03-17 02:26:22

根据提供的堆栈跟踪,您似乎正在尝试从服务器上的ComponentOne运行报告工具。

该问题是由于访问Azure网站实例出于安全和性能原因而被限制使用的API造成的。原生GDI呈现方法是这些受限的API中的一种。

请看Jim Cheshire在this post末尾的帖子。

在这些限制放松之前(可能不是),您的选择是将服务移动到云服务实例,或者移动到不使用本地GDI方法进行呈现的另一个组件。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15979420

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档