新足迹

 找回密码
 注册

精华好帖回顾

· 小小木匠升级版-可移动花坛-更新制作过程! (2011-4-26) zackwu · 告别2020,在法拉利1.0上骑行的露营日子 (完) (2021-1-21) clocktower
· 参加活动【暖胃砂锅菜】之冬令进补时宜首选の***双冬羊腩煲*** (2013-6-16) chesecake · 在老二来之前给老大一个交待。一些心得,一些点滴 (一楼有电梯直达) 91楼新添加小K视频 (2012-9-20) 无翼而飞
Advertisement
Advertisement
查看: 1753|回复: 7

有InfoPath troubleshooting高手乜? [复制链接]

发表于 2011-11-4 21:28 |显示全部楼层
此文章由 混不到坑的萝卜 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 混不到坑的萝卜 所有!转贴必须注明作者、出处和本声明,并保持内容完整
各位,谁有InfoPath troubleshooting经验的?

环境:
Windows 2003 Server, 4GB RAM
SharePoint 2007 + InfoPath Form Service + Nintex Workflow 2007
某个Form Library用InfoPath Form作为template,form在创建的时候会启动Nintex Workflow做一些reporting的工作。

状况:
当打开这个InfoPath form的时候,出现错误
在EventViewer里面可以看到:
Event ID: 7056
Form Template Failed to load

Event ID: 7888
Exception: Out of Memory.

但我在监控时发现服务器上的内存还有不少剩余,用DebugDiag和PerfMon没发现大量的内存被占用。.Net Heap似乎尺寸并不大。
而且一共四个不同的InfoPath Template在这个SharePoint上,只有一个出错。
Advertisement
Advertisement

发表于 2011-11-4 22:04 |显示全部楼层
此文章由 混不到坑的萝卜 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 混不到坑的萝卜 所有!转贴必须注明作者、出处和本声明,并保持内容完整
More detailed error info:

11/04/2011 17:36:10.09         w3wp.exe (0x194C)                               0x0CC8        Forms Server                          Forms Services Runtime                82fv        Critical        The form template failed to load. (User: bluhbluhUser, Form Name: ITRequestForm, IP: , Request: http://intranet.microsoft.com/_l ... p;DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:IT-Request-Forms:-myXSD-2010-12-28T22-49-50, Type: OutOfMemoryException, Exception Message: Exception of type 'System.OutOfMemoryException' was thrown.)        3cd2675b-a210-4442-98d8-156b136e3ed3

11/04/2011 17:36:10.17         w3wp.exe (0x194C)                               0x0CC8        Office Server                         Office Server General                 900n        Critical        A runtime exception was detected. Details follow.  Message: Exception of type 'System.OutOfMemoryException' was thrown.  Techinal Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.     at Microsoft.SharePoint.Utilities.SPRenderBuffer..ctor(Int32 nSize)     at Microsoft.SharePoint.SPListItemCollection.GetXmlInternal(Boolean allowRichText)     at Microsoft.SharePoint.SPListItemCollection.GetXml(Boolean allowRichText)     at Microsoft.SharePoint.SPListItemCollection.get_Xml()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharepointListQuery.Execute(String siteUrl, String listGuid, XPathNavigator output, Document document, DataAdapterCredentials credentials, Boolean useDcl, String xmlLocation, Boolean originalOutputIsNotNull)...        3cd2675b-a210-4442-98d8-156b136e3ed3

11/04/2011 17:36:10.17*        w3wp.exe (0x194C)                               0x0CC8        Office Server                         Office Server General                 900n        Critical        ...     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharepointListQuery.ExecuteInternal(XPathNavigator output)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharepointListQuery.Execute        3cd2675b-a210-4442-98d8-156b136e3ed3


11/04/2011 17:36:10.17         w3wp.exe (0x194C)                               0x0CC8        Forms Server                          Forms Services Runtime                8gec        Exception        (Watson Reporting Cancelled) System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.     at Microsoft.SharePoint.Utilities.SPRenderBuffer..ctor(Int32 nSize)     at Microsoft.SharePoint.SPListItemCollection.GetXmlInternal(Boolean allowRichText)     at Microsoft.SharePoint.SPListItemCollection.GetXml(Boolean allowRichText)     at Microsoft.SharePoint.SPListItemCollection.get_Xml()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharepointListQuery.Execute(String siteUrl, String listGuid, XPathNavigator output, Document document, DataAdapterCredentials credentials, Boolean useDcl, String xmlLocation, Boolean originalOutputIsNotNull)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharepointListQuery.ExecuteInternal(XPath...        3cd2675b-a210-4442-98d8-156b136e3ed3


11/04/2011 17:36:10.17*        w3wp.exe (0x194C)                               0x0CC8        Forms Server                          Forms Services Runtime                8gec        Exception        ...Navigator output)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharepointListQuery.Execute()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.<>c__DisplayClassa.<ExecuteInitOnLoadForDataObjects>b__9()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.ExecuteInitOnLoadForDataObjects()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadSolutionAndDocument(HttpContext context, Solution solution, DocumentMetaInformation documentMetaInformation, OnInitializeCallback onInitializeCallback, OpenParameters openParameters)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.OpenDocumentWithSolution(HttpContext context, SPSite contextSite, Solution solution, DocumentMetaInformation documentMetaInformation, OnInit...        3cd2675b-a210-4442-98d8-156b136e3ed3

11/04/2011 17:36:10.17*        w3wp.exe (0x194C)                               0x0CC8        Forms Server                          Forms Services Runtime                8gec        Exception        ...ializeCallback onInitializeCallback, OpenParameters openParameters)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.DataBindInternal(SolutionMetaInformation solutionMetaInformation, DocumentMetaInformation documentMetaInformation, String absoluteSolutionLocation, Boolean hasCloseHandler, Document& document)     at Microsoft.Office.InfoPath.Server.Controls.FormServerPage.InitializeRenderInLine(SolutionMetaInformation solutionMetaInformation, DocumentMetaInformation documentMetaInformation, String absoluteSolutionLocation)     at Microsoft.Office.InfoPath.Server.Controls.FormServerPage.NewEditingSession(SPSite contextSite, FormServerPageQueryParameters queryParameters)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()     at Microsoft.Office.I...        3cd2675b-a210-4442-98d8-156b136e3ed3


11/04/2011 17:36:10.17*        w3wp.exe (0x194C)                               0x0CC8        Forms Server                          Forms Services Runtime                8gec        Exception        ...nfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart eventLogStart)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c__DisplayClass3.<LoadDocumentAndPlayEventLog>b__1()     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)        3cd2675b-a210-4442-98d8-156b136e3ed3
11/04/2011 17:36:17.70         wsstracing.exe (0x0BC4)                         0x1E64        ULS Logging                           Unified Logging Service               uls1        Monitorable        Tracing Service lost trace events.  Current value 1.

发表于 2011-11-5 17:22 |显示全部楼层
此文章由 coin_king 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 coin_king 所有!转贴必须注明作者、出处和本声明,并保持内容完整
看看你form load里有些什么吧,基本上是data connection的问题

发表于 2011-11-6 20:43 |显示全部楼层
此文章由 混不到坑的萝卜 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 混不到坑的萝卜 所有!转贴必须注明作者、出处和本声明,并保持内容完整
我觉得可能是因为form打开的时候,SharePoint试图将它render成HTML显示。而复杂的form需要消耗太多的内存所致。也许其中一些Control实用的xpath有性能问题。

看来我要建议对方换成Nintex Form顺便再收一笔钱算了,哈哈哈。

原因在于我把设置切换成用Client Application to open the InfoPath form就可以顺利打开这些form,即使在这个时候如果用Open in browser就会出现OutOfMemory Exception。

[ 本帖最后由 混不到坑的萝卜 于 2011-11-6 19:46 编辑 ]

发表于 2011-11-7 20:09 |显示全部楼层
此文章由 coin_king 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 coin_king 所有!转贴必须注明作者、出处和本声明,并保持内容完整
对了,Nintex Form用过了嘛?我们已经买了但还没时间用。还有那个nintex analystics,都不知道怎么用

发表于 2011-11-7 21:36 |显示全部楼层
此文章由 nali 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 nali 所有!转贴必须注明作者、出处和本声明,并保持内容完整
Advertisement
Advertisement

发表于 2011-11-8 20:47 |显示全部楼层
此文章由 混不到坑的萝卜 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 混不到坑的萝卜 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 liedong 于 2011-11-7 19:09 发表
对了,Nintex Form用过了嘛?我们已经买了但还没时间用。还有那个nintex analystics,都不知道怎么用

这么快就买了?俺还没用过,明天培训完再给你说怎么用吧。
你们公司和我老板签服务协议了么?签了的话我就好好学一下。

发表于 2011-11-8 20:49 |显示全部楼层
此文章由 混不到坑的萝卜 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 混不到坑的萝卜 所有!转贴必须注明作者、出处和本声明,并保持内容完整

谢谢你提供的信息,但我遇到的情况不在这些网页描述的范围内。

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部