Server Error in '/' Application.

An 'xsl:choose' element must have at least one 'xsl:when' child.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.Xsl.XslLoadException: An 'xsl:choose' element must have at least one 'xsl:when' child.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[XslLoadException: An 'xsl:choose' element must have at least one 'xsl:when' child.]
   System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) +1121393
   System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri, XsltSettings settings, XmlResolver stylesheetResolver) +38
   Viga.System.Web.Site.Process(HttpContext context) +3047
   Viga.System.Web.SiteHandler.ProcessRequest(HttpContext context) +1485
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975