An unexpected error has occured.
System.Exception:
Error processing template
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Message: Access is denied
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
StackTrace:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Source:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TargetSite:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
01: #if(!$Tools.UserAgent.ToLower().Contains("gtmetrix") && !$Tools.IsGoogleAudit)
02: <script>
03: window.googleTags = {
04: internalGroupId: '$!{Website.GoogleTagInternalGroupId}',
05: internalClientId: '$!{Website.GoogleTagInternaWebsiteId}',
06: clientGroupId: '$!{Website.GoogleTagClientGroupId}',
07: clientWebsiteId: '$!{Website.GoogleTagClientWebsiteId}',
08: clientOpt1Id: '$!{Website.GoogleTagClientOpt1Id}',
09: clientOpt2Id: '$!{Website.GoogleTagClientOpt2Id}',
10: clientOpt3Id: '$!{Website.GoogleTagClientOpt3Id}'
11: };
12: </script>
13:
14: #if ($Tools.GetSettings($Website.AccountId, "WMS.Experimental.GTMOptimization") == "true")
15: #if(!$IsEditor && !$Config.Host.Contains("developer-local"))
16: <script>
17: window.f1ConnectDataLayer = window.f1ConnectDataLayer || [];
18: window.f1ConnectDataLayer.push({
19: 'event': 'siteProperties',
20: websiteId: '$!{Website.CoreWebsiteId}',
21: groupId: '$!{Website.AccountGroupId}',
22: template: '$!{Website.TemplateName.ToLower()}',
23: contentSetType: '$!{Tools.ResolveTextPet("human", "pet")}'
24: });
25: window.f1ConnectDataLayer.push({
26: event: 'gtm.js',
27: 'gtm.start': new Date().getTime()
28: });
29:
30: #if ((!$Environment.IsObituaries() || $Website.AccountGroupId == 70) && !$Environment.IsStore() && !$Config.Host.Contains(".previews."))
31: window.dataLayer = window.dataLayer || [];
32: window.dataLayer.push({
33: event: 'gtm.js',
34: 'gtm.start': new Date().getTime()
35: });
36: #end
37: </script>
38: #end
39: #else
40: <script>
41: window.f1ConnectDataLayer = window.f1ConnectDataLayer || [];
42: window.dataLayer = window.dataLayer || [];
43: window.f1ConnectDataLayer.push({
44: 'event': 'siteProperties',
45: websiteId: '$!{Website.CoreWebsiteId}',
46: groupId: '$!{Website.AccountGroupId}',
47: template: '$!{Website.TemplateName.ToLower()}',
48: contentSetType: '$!{Tools.ResolveTextPet("human", "pet")}'
49: });
50: </script>
51:
52: #if (!$IsEditor)
53: <script>$!{Website.RenderSharedFile("/gtm/fast-datalayer.min.js", true)}</script>
54: #end
55:
56: #if(!$IsEditor && !$Tools.IsGoogleAudit && !$Config.Host.Contains("developer-local"))
57: #* Unified *#
58: <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
59: new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
60: j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
61: 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
62: })(window,document,'script','f1ConnectDataLayer','GTM-KD2GVTWL');</script>
63:
64: #if ((!$Environment.IsObituaries() || $Website.AccountGroupId == 70) && !$Environment.IsStore() && !$Config.Host.Contains(".previews."))
65: #if($Tools.ToBool($Website.GoogleTagManager))
66: #foreach($id in $Website.GoogleTagManager)
67: <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
68: new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
69: j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
70: 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
71: })(window,document,'script','dataLayer','${id}');</script>
72: #end
73: #end
74: #end
75: #end
76: #end
77: #end
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
at funeralOne.WMS2.View.VelocityHelper.ProcessTemplate(String filename, String tplKey, String templateContent, VelocityContext context, Boolean ignoreException) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 207
at funeralOne.WMS2.View.VelocityHelper.ProcessTemplate(String tplKey, String templateContent, VelocityContext context, Boolean ignoreException) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 52
at funeralOne.WMS2.View.Wms2Processor.RenderPage(Nullable`1 elementId, String designTemplateElementData, String pageContent, Page page, String pageName, String sectionName, Nullable`1 sectionId, PageContent pageContentJson) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\Wms2Processor.cs:line 1778
at funeralOne.WMS.Web.Handler.DynamicHandler.ProcessWebsiteResource(HttpContext context, String path) in C:\azbuildagent\_work\368\s\funeralOne.WMS\Web\Handler\DynamicHandler.cs:line 271
at funeralOne.WMS.Web.Handler.DynamicHandler.ProcessRequest(HttpContext context) in C:\azbuildagent\_work\368\s\funeralOne.WMS\Web\Handler\DynamicHandler.cs:line 146
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
- Please try refreshing the page and trying again.
- If the problem persists, please notify the website owner.
- The administrators of this website have been notified of this error.