Skip to content

Instantly share code, notes, and snippets.

@sorianog
Created March 2, 2017 16:38
Show Gist options
  • Save sorianog/a18e727f38145ed0de2b5d115c41126e to your computer and use it in GitHub Desktop.
Save sorianog/a18e727f38145ed0de2b5d115c41126e to your computer and use it in GitHub Desktop.
FormatException occurred when running trxer
Unhandled Exception: System.FormatException: String was not recognized as a vali
d DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyl
es styles)
at System.DateTime.Parse(String s)
at System.Xml.Xsl.CompiledQuery.Script1.GetShortDateTime(String time) in c:\T
emp\y31uys5o.0.cs:line 47
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="tDetails">(XmlQuery
Runtime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schem
as-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debu
g}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:sche
mas-microsoft-com:xslt-debug}namespaces, IList`1 testId, IList`1 testDescription
)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="compiler:generated"
> (7)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNaviga
tor {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft
-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, ILi
st`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 testsCount, IList
`1 testsSet, IList`1 classCount, IList`1 classSet, IList`1 testsFailedCount, ILi
st`1 testsFailedSet, IList`1 testRunOutcome)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="compiler:generated"
> (6)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNaviga
tor {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft
-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, ILi
st`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 testRunOutcome, I
List`1 testsFailedSet, IList`1 testsFailedCount, IList`1 classSet, IList`1 class
Count)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="compiler:generated"
> (4)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNaviga
tor {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft
-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, ILi
st`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 classCount, IList
`1 classSet, IList`1 testsFailedCount, IList`1 testsFailedSet, IList`1 testRunOu
tcome)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="compiler:generated"
> (3)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNaviga
tor {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft
-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, ILi
st`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 testRunOutcome)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="compiler:generated"
> (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNaviga
tor {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft
-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, ILi
st`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 testRunOutcome)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntim
e {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-mic
rosoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}posi
tion, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-mi
crosoft-com:xslt-debug}namespaces)
at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {
urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-micro
soft-com:xslt-debug}runtime)
at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-mi
crosoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver da
taSources, XsltArgumentList argumentList, XmlSequenceWriter results)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver da
taSources, XsltArgumentList argumentList, XmlWriter writer)
at System.Xml.Xsl.XslCompiledTransform.Transform(String inputUri, String resu
ltsFile)
at TrxerConsole.Program.Transform(String fileName, XmlDocument xsl)
at TrxerConsole.Program.Main(String[] args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment