Server Error in '/FoP' Application.

The remote server returned an error: (500) Internal Server Error.

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.Net.WebException: The remote server returned an error: (500) Internal Server Error.

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:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +380
   System.Net.WebClient.DownloadString(Uri address) +117
   FoPrintHandler.Converter.Fo.FoPXsltFoMethods.Et4MetaShortenUrl(String longUrl) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Converter\Fo\FoPXsltFoMethods.cs:1881
   FoPrintHandler.Converter.Fo.FoPXsltFoMethods.SummonQrCodeLink(String hashLink, String type) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Converter\Fo\FoPXsltFoMethods.cs:729

[XslTransformException: An error occurred during a call to extension function 'SummonQrCodeLink'. See InnerException for a complete description of the error.]
   System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args) +241
   System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args) +828
   <xsl:template name="RenderItemQrCode">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, String ColorParagraphHeader, String FamilyParagraphHeader, String SizeSmall, IList`1 Item) +2480
   <xsl:template name="compiler:generated"> (40)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, String SizeHeading, String FeatureLineHeight, String FeatureSize, String ColorDtv, String SizeDtv, String ColorDehoga, String SizeDehoga, String TourDifficultyVeryHard, String TourDifficultyHard, String TourDifficultyMedium, String TourDifficultyEasy, String TourDifficultyVeryEasy, String SeasonUnqualifiedBackgroundColor, String SeasonDependentBackgroundColor, String SeasonQualifiedBackgroundColor, String SeasonUnqualifiedColor, String SeasonDependentColor, String SeasonQualifiedColor, String StaticMapsZoom, IList`1 CurrentPath, String FamilyParagraphHeader, String FamilyCategory, String FamilyTitle, String FamilyBaseItalic, String FamilyBaseBoldItalic, String FamilyBaseBold, String FamilyBase, String DefaultLineHeight, String TypeIconFontSize, String SizeBig, String SizeNormal, String SizeSmall, String SizeImageText, String ColorParagraphHeader, String ColorCategory, String ColorTitle, String ColorBase, IList`1 Item) +130
   <xsl:template name="compiler:generated"> (38)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, String SizeHeading, String FeatureLineHeight, String FeatureSize, String ColorDtv, String SizeDtv, String ColorDehoga, String SizeDehoga, String TourDifficultyVeryHard, String TourDifficultyHard, String TourDifficultyMedium, String TourDifficultyEasy, String TourDifficultyVeryEasy, String SeasonUnqualifiedBackgroundColor, String SeasonDependentBackgroundColor, String SeasonQualifiedBackgroundColor, String SeasonUnqualifiedColor, String SeasonDependentColor, String SeasonQualifiedColor, String StaticMapsZoom, IList`1 CurrentPath, String FamilyParagraphHeader, String FamilyCategory, String FamilyTitle, String FamilyBaseItalic, String FamilyBaseBoldItalic, String FamilyBaseBold, String FamilyBase, String DefaultLineHeight, String TypeIconFontSize, String SizeBig, String SizeNormal, String SizeSmall, String SizeImageText, String ColorParagraphHeader, String ColorCategory, String ColorTitle, String ColorBase, IList`1 Item) +1560
   <xsl:template name="compiler:generated"> (35)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, String SizeHeading, String FeatureLineHeight, String FeatureSize, String ColorDtv, String SizeDtv, String ColorDehoga, String SizeDehoga, String TourDifficultyVeryHard, String TourDifficultyHard, String TourDifficultyMedium, String TourDifficultyEasy, String TourDifficultyVeryEasy, String SeasonUnqualifiedBackgroundColor, String SeasonDependentBackgroundColor, String SeasonQualifiedBackgroundColor, String SeasonUnqualifiedColor, String SeasonDependentColor, String SeasonQualifiedColor, String StaticMapsZoom, IList`1 CurrentPath, String FamilyParagraphHeader, String FamilyCategory, String FamilyTitle, String FamilyBaseItalic, String FamilyBaseBoldItalic, String FamilyBaseBold, String FamilyBase, String DefaultLineHeight, String TypeIconFontSize, String SizeBig, String SizeNormal, String SizeSmall, String SizeImageText, String ColorParagraphHeader, String ColorCategory, String ColorTitle, String ColorBase, IList`1 Item) +1987
   <xsl:template name="compiler:generated"> (20)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, String SizeHeading, String FeatureLineHeight, String FeatureSize, String ColorDtv, String SizeDtv, String ColorDehoga, String SizeDehoga, String TourDifficultyVeryHard, String TourDifficultyHard, String TourDifficultyMedium, String TourDifficultyEasy, String TourDifficultyVeryEasy, String SeasonUnqualifiedBackgroundColor, String SeasonDependentBackgroundColor, String SeasonQualifiedBackgroundColor, String SeasonUnqualifiedColor, String SeasonDependentColor, String SeasonQualifiedColor, String StaticMapsZoom, IList`1 CurrentPath, String FamilyParagraphHeader, String FamilyCategory, String FamilyTitle, String FamilyBaseItalic, String FamilyBaseBoldItalic, String FamilyBaseBold, String FamilyBase, String DefaultLineHeight, String TypeIconFontSize, String SizeBig, String SizeNormal, String SizeSmall, String SizeImageText, String ColorParagraphHeader, String ColorCategory, String ColorTitle, String ColorBase, IList`1 Item) +1773
   <xsl:template name="compiler:generated"> (3)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, IList`1 Items, IList`1 Hashlinks) +2446
   <xsl:template name="compiler:generated">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +3032
   <xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +3813
   Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) +41
   System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer) +227
   System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results) +90
   FoPrintHandler.Helper.XsltHelper.InternalDoXsltTransformation(String xsltUrl, XmlDocument objSourceData, XsltArgumentList options, String title) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Helper\XsltHelper.cs:64
   FoPrintHandler.Helper.XsltHelper.DoXsltTransformation(SimpleMetaRequest metaRequest, String xsltUrl, String title, XsltArgumentList options) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Helper\XsltHelper.cs:29
   FoPrintHandler.Converter.FoPImplementation.HandleApacheFoPGeneric(HttpContext context, Func`2 summonMemoryStream, FileTypeHelperData fth, Parameters param, Boolean useCache) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Converter\FoPImplementation.cs:208
   FoPrintHandler.Converter.FoPImplementation.HandleRequest(HttpContext context, Parameters param) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\App_Code\Converter\FoPImplementation.cs:110
   FoPrintHandler.FoPMeta.ProcessRequest(HttpContext context) in C:\src\trunk\utilitytools\FopTransfo\FoPrintHandler\FoPMeta.ashx.cs:29
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0