System.Xml.Xsl.XslTransformException: An error occurred during a call to extension function 'GetTopItems'. See InnerException for a complete description of the error. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection)
   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateCommand(String sql, Object[] parameters)
   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)
   at Sitecore.Data.SqlServer.SqlServerDataProvider.LoadItemDefinitions(String condition, Object[] parameters, SafeDictionary`2 prefetchData)
   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.PrefetchItems(String itemCondition, String fieldCondition, String childCondition, Object[] parameters)
   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.PrefetchItem(ID itemId)
   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.GetPrefetchData(ID itemId)
   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.GetItemDefinition(ID itemId, CallContext context)
   at Sitecore.Data.DataProviders.DataProvider.GetItemDefinition(ID itemID, CallContext context, DataProviderCollection providers)
   at Sitecore.Data.DataSource.GetItemInformation(ID itemID)
   at Sitecore.Data.DataSource.GetItemData(ID itemID, Language language, Version version)
   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.(ID itemId, Language language, Version version, Database database)
   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.(ID itemId, Language language, Version version, Database database)
   at Sitecore.Nexus.Data.NexusDataApi.GetItem(ID itemId, Language language, Version version, Database database)
   at Sitecore.Data.Engines.DataCommands.GetItemCommand.DoExecute()
   at Sitecore.Data.Engines.EngineCommand`2.Execute()
   at Sitecore.Data.Engines.DataEngine.GetItem(ID itemId, Language language, Version version)
   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database)
   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)
   at Sitecore.Data.Managers.ItemManager.GetItem(ID itemId, Language language, Version version, Database database)
   at Img.ManUtd.Utilities.XSLTHelper.GetTopItems(String category, String searchIndex, String topItemsCount, String fromMonth, String fromYear, String toMonth, String toYear, String dateFieldTag) in D:\Webmasters\twiteamsys1\ManUtdMultiLang\Main\Source\Img.ManUtd.Utilities\XSLTHelper.cs:line 341
   at Img.ManUtd.Utilities.XSLTHelper.GetTopItems(String category, String searchIndex, String topItemsCount, String fromMonth, String fromYear, String toMonth, String toYear) in D:\Webmasters\twiteamsys1\ManUtdMultiLang\Main\Source\Img.ManUtd.Utilities\XSLTHelper.cs:line 304
   --- 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="main">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
   at <xsl:template match="*">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
   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/newsandfeatures/NewsCategoryLandingPage.xslt

OFFICIAL SPONSORS

Premier League