Search This Blog

Tuesday, June 16, 2015

SharePoint 2010: DataForm Web Part displays "Unable to display this Web Part"


Error while executing web part: System.StackOverflowException: Operation caused a stack overflow. 
    at Microsoft.Xslt.NativeMethod.CheckForSufficientStack() 
    at Execute(XmlQueryRuntime ) 
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) 
    at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) 
    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results) 
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform) 
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)

Friday, June 12, 2015

Lync monitoring reports - images are missing

After some analysis we found an error in SSRS logs:

reportrendering!ReportServer_0-137!ffc!06/10/2015-12:33:19:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
   at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)

   --- End of inner exception stack trace ---;



Apparently gdiplus.dll was not up-to-date on the SQL SSRS server. After Windows 2012 R2 patching the problem was solved.

Wednesday, June 10, 2015

Can not sign-in from IPhone 6 to Lync after goDaddy certificate renewal

Having an issue only with IPhones. Android and Windows full client works ok. goDaddy renewal process change our root from old one to G2.

IPhone logs contans:

2015-06-10 14:09:27.341 Lync[584:35b6d9dc] ERROR APPLICATION CUcwaAutoDiscoveryGetUserUrlOperation.cpp/325:Request failed.  Error - E_SslError (E2-2-2)

and

2015-06-10 14:09:27.376 Lync[584:35b6d9dc] INFO UI CMUIUtil.mm/387:Mapping error code = 0x22020002, context = , type = 201
2015-06-10 14:09:27.377 Lync[584:35b6d9dc] INFO UI CMUIUtil.mm/1691:Mapped error message is 'Désolé... Nous ne parvenons pas vérifier le certificat du serveur. Contactez votre équipe de support technique.

or in English

We can’t verify the certificate from the server. Please contact your support team.


The issue was solved by installing goDaddy G2 CA intermediate certificate alongside with new certificate in Reverse Proxy and reboot.

Refer:  https://support.microsoft.com/en-us/kb/2965499

Sonus SBC SIP message manipulation

Nice article explaining how to build SIP manipulation rules in Sonus:

http://dmunified.com/2015/02/17/manipulate-to-header-field-into-invite-request-line-uri/


Must do for some SIP operators in Singapore. they require RequestURI to be formated in certain way, and P-asserted to be the same as TO field.

Raw Message Rule

Match Regex: @172.31.119.249:5060;user=phone
Replace Regex: @xxx.net.sg;user=phone

Header Rule

Header Action: Modify
Header Name: p-asserted-identity
Header Ordinal Number: 1st

Header Value: Modify
Type of Value: Token
Value: from.uri