Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

Are these error messages that are displaying when my client logs into the website something to concerned about?

I have a website http://www.jandbgolfcartparts.com and in the system error log they are getting the error listed below. Is this something we should be concerned about and if so how do I address this?

 

ID: 21826

Entry Date: 12/6/2017 3:04:44 AM

Message:

Error has occurred on XML package: page.default.xml.config

Inner Exception:

Page URL:/
Source:System.Data.SqlXml
Message:An error occurred during a call to extension function 'Action'. See InnerException for a complete description of the error.
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 (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)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results)
at AspDotNetStorefrontCore.XmlPackage.TransformString()

asked Dec 6, 2017 in MultiStore by dkilgore (165 points)

1 Answer

0 votes

This is likely nothing to worry about.  We're tracking an issue with HEAD requests causing errors on some pages.

This particular error can be worked around by disabling the "ShowNewsOnHomePage" appconfig if you're not using the News feature.

INFO
"HEAD requests are made by the browser, especially on mobile devices, for checking things like...do I need to download this again, is the page still there, etc. Basically, if the browser wants to know about a page without downloading the entire page, it will issue a HEAD request. So, in short, they are not a harmful thing to be happening. "
http://stackoverflow.com/questions/20725430/blocking-head-requests-to-my-site
https://security.stackexchange.com/questions/62811/should-i-disable-http-head-requests

REPRO
This can be tested using https://hurl.quickblox.com/

NERD INFO
On XsltExtensionBase.cs, any call to HtmlHelper.Action blows up if a controller has a [HttpGet] method that doesn't have an explicit [HttpHead method as well.
4 methods currently:
XsltExtensionBase.Action()
XsltExtensionBase.AddtoCartForm()
XsltExtensionBase.SimpleAddToCartForm()
XsltExtensionBase.SizeColorQtyOption()

 

answered 1 day ago by Vortx-Duncan (760 points)
...