System.Xml.Xsl.XslTransformException: An error occurred during a call to extension function 'getServiceAreaFromName'. See InnerException for a complete description of the error. ---> System.Exception: Error occurred in "RamXSLTGeneralFunctions.cs", method "getServiceAreaFromName", ItemPath "/sitecore/content/home/websites/www.ramboll.dk/home/careers", QueryString "vacancy_id=352472&iframe=", Variable_strServiceAreaFolderGuid "{CA5F1DAF-5706-402C-879A-CA89833D3A10}", Variable ServiceAreaName "", Message "Index and length must refer to a location within the string.
Parameter name: length" ---> System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Com.Ramboll.SitecoreCode.Xslt.XslUtil.getServiceAreaFromName(String strServiceAreaFolderGuid, String ServiceAreaName)
   --- End of inner exception stack trace ---
   at Com.Ramboll.SitecoreCode.Xslt.XslUtil.getServiceAreaFromName(String strServiceAreaFolderGuid, String ServiceAreaName)
   --- End of inner exception stack trace ---
   at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
   at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
   at <xsl:template match="*" mode="renderVacancy">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, IList`1 VacancyId, IList`1 IsInternal)
   at <xsl:template match="*">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
   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 Mvp.Xml.Common.Xsl.MvpXslTransform.TransformToWriter(XmlInput defaultDocument, XsltArgumentList xsltArgs, XmlWriter xmlWriter)
   at Mvp.Xml.Common.Xsl.MvpXslTransform.Transform(XmlInput input, XsltArgumentList arguments, XmlOutput output)
   at Sitecore.Web.UI.WebControls.XslFile.DoRender(HtmlTextWriter output, Item item) Xsl file could not be processed: /xsl/item/ComVacantJobs.xslt
Byggeri & designInfrastruktur & transportEnergi & klimaMiljø & naturIndustri & olie/gasIt & telekommunikationManagement og samfund
© Rambøll Danmark A/S  -  www.ramboll.dk  -  printet 
© Rambøll Danmark A/S    CVR nr. 35128417    ramboll@ramboll.dk    +45 5161 1000     Sitemap    Kontakt