<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Gatis Bergspics</title><link href="http://world.optimizely.com" /><updated>2012-08-03T16:32:15.0000000Z</updated><id>https://world.optimizely.com/blogs/Gatis-Bergspics/</id> <generator uri="http://world.optimizely.com" version="2.0">Optimizely World</generator> <entry><title>DDSAdmin for EPiServer CMS</title><link href="https://world.optimizely.com/blogs/Gatis-Bergspics/Dates/2012/8/DDSAdmin-for-EPiServer-CMS/" /><id>&lt;p&gt;Geta is releasing yet another great open source module for EPiServer. This latest module is create, read, update, delete(CRUD) editor for Dynamic Data Store(DDS). This is how it looks:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;/link/ecdb6af2332247cc9ebd4b8f9e9d259f.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;Untitled picture&quot; border=&quot;0&quot; alt=&quot;Untitled picture&quot; src=&quot;/link/d70b0ead475b497fba3f3b4f42b13d04.png&quot; width=&quot;579&quot; height=&quot;404&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;/link/8f42009652f14c539491a14fad8e355a.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;DdsAdminFull&quot; border=&quot;0&quot; alt=&quot;DdsAdminFull&quot; src=&quot;/link/a32bf60b0ce5473793592bb004235d98.png&quot; width=&quot;580&quot; height=&quot;326&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://nuget.episerver.com/en/OtherPages/Package/?packageId=Geta.DdsAdmin&quot;&gt;DDSAdmin&lt;/a&gt; is available trough &lt;a href=&quot;http://nuget.episerver.com/en/?search=Geta&quot;&gt;nuget.episerver.com&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Features:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Left menu displays all stores in EPiServer, except ones configured out in ‘Excluded Stores’, also it has filter(its useful in sites where DDS is heavily used) &lt;/li&gt;    &lt;li&gt;CRUD table using &lt;a href=&quot;http://datatables.net/&quot;&gt;jQuery.datatables&lt;/a&gt; and few complimentary plugins, it has also searching, sorting and paging capabilities. &lt;/li&gt;    &lt;li&gt;Also CRUD table can be used as stand alone page, so you can reuse it in some other EPiServer plugins you have. When you don’t want to make your own custom UI for your DDS entities just create URL specifying store name, hidden columns(optional), custom page header and message(optional), for example from url:      &lt;pre&gt;……/DdsAdmin.aspx?Store=DashboardLayoutPartStore&amp;amp;HideColumns=0&amp;amp;m=Custom message&amp;amp;h=This is nice custom header&lt;/pre&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;you will get this:&lt;a href=&quot;/link/201773463e154f93b16292142b0a819a.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;DdsAdminCustomHeaderAndMessage&quot; border=&quot;0&quot; alt=&quot;DdsAdminCustomHeaderAndMessage&quot; src=&quot;/link/2fa1dc122bf14059a2fe56641b288b88.png&quot; width=&quot;547&quot; height=&quot;185&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;Current limitations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Currently only InlinePropertyMap is editable all others are read-only, if you will try to save store that have other PropertyMap types it will result in error message &lt;/li&gt;

  &lt;li&gt;When you change row with DDS Admin ItemType is changed to: &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;EPiServer.Data.Dynamic.PropertyBag, EPiServer.Data, Version=6.2.267.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The question is, is that a problem, can somebody share something, because it seems that after DDSAdmin has edited some rows they still are correctly loaded in appropriate classes.&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Warning: use this module with caution, because by editing DDS one can seriously damage their EPiServer installation if used incorrectly&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Geta/opensource/wiki/DDSAdmin-for-EPiServer-CMS&quot;&gt;Documentation here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Geta/opensource/tree/master/Geta.DdsAdmin&quot;&gt;Source code here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;Thanks &lt;a href=&quot;http://www.dnasir.com&quot;&gt;Dzulqarnain Nasir&lt;/a&gt; and &lt;a href=&quot;http://world.episerver.com/System/Users-and-profiles/Community-Profile-Card/Valdis%20Iljuconoks/&quot;&gt;Valdis Iljuconoks&lt;/a&gt; for helping to release this module.&lt;/p&gt;</id><updated>2012-08-03T16:32:15.0000000Z</updated><summary type="html">Blog post</summary></entry> <entry><title>Server.Transfer issue, &quot;Error executing child request for /404.&quot;</title><link href="https://world.optimizely.com/blogs/Gatis-Bergspics/Dates/2011/9/ServerTransfer-issue-Error-executing-child-request-for-404/" /><id>&lt;p&gt;The goal was to create EPi server operator(administrator) modifiable 404 error page. To do this I created new simple page type called ErrorPageType(with very simple aspx file):&lt;/p&gt;  &lt;blockquote&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;[&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageType&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;633fd95b-d6bd-41e5-bc6b-19bc0247f599&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Name = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;Error page&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Filename = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;/Templates/Pages/ErrorPage.aspx&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)]         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;public&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;class&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;ErrorPageType&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; : &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;TypedPageData&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; {       &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; [&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageTypeProperty&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;(EditCaption = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;Error page title&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SortOrder = 0,          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; UniqueValuePerLanguage = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;true&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Required = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Searchable = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)]         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;public&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;virtual&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; PageTitle { &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;get&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;set&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;; }         &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; [&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageTypeProperty&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;(EditCaption = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;Error page body&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SortOrder = 1,          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; UniqueValuePerLanguage = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;true&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Required = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Searchable = &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;false&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)]         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;public&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;virtual&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; MainBody { &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;get&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;set&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;; }         &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }          &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;!&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;DOCTYPE …&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;         &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;html&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;…&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;head&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;id&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&amp;quot;Head1&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;runat&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&amp;quot;server&amp;quot;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;title&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: ; mso-highlight: yellow&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;&amp;lt;%&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; CurrentPage.PageTitle &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: ; mso-highlight: yellow&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;%&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;title&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;head&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;body&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;form&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;id&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&amp;quot;form1&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;runat&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&amp;quot;server&amp;quot;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;div&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: ; mso-highlight: yellow&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;&amp;lt;%&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; CurrentPage.MainBody &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: ; mso-highlight: yellow&quot;&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;%&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;div&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;form&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;body&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#800000&quot;&gt;html&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/blockquote&gt;  &lt;p&gt;Whole reason behind using Server.Trasfer(instead of Response.Redirect) is following - SEO(search bots most likely wont follow resource moved to that page hints, or wont display them properly in search results. Web browsers however will and there would not be problems). So to achieve that I created new page in EPi server and called it 404 from previously created page type. I tough that this is it - straight forward, but it turned out it is not so, far from it.&lt;/p&gt;  &lt;p&gt;My first approach was:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p style=&quot;line-height: normal; list-style-type: disc; margin: 0in; font-family: &quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;Server.Transfer(&lt;/font&gt;&lt;/span&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;/404&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;);&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;This resulted in following exception: &amp;quot;&lt;font face=&quot;Courier New&quot;&gt;&lt;font style=&quot;font-size: 9.5pt&quot;&gt;Error executing child request for /404.&lt;/font&gt;&lt;/font&gt;&amp;quot; of type HttpException that led me to following blog posts:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://labs.episerver.com/en/Blogs/Svante-Seleborg/Dates/2008/10/When-a-404-Not-Found-should-be-a-404-Not-Found/&quot;&gt;http://labs.episerver.com/en/Blogs/Svante-Seleborg/Dates/2008/10/When-a-404-Not-Found-should-be-a-404-Not-Found/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;and&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://world.episerver.com/Blogs/Dan-Matthews/Dates/2010/3/A-few-tips-on-UI-Plugins-in-CMS6/&quot;&gt;http://world.episerver.com/Blogs/Dan-Matthews/Dates/2010/3/A-few-tips-on-UI-Plugins-in-CMS6/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So I tried this(no need to disable friendly URLs, because this still should work):&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;Server.Transfer(&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#a31515&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.5pt&quot;&gt;/Templates/Pages/ErrorPage.aspx?id=2421&amp;amp;epslanguage=en&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font style=&quot;font-size: 9.8pt&quot;&gt;);&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;But it did not change anything, so I made constructor for ErrorPage class similar to one Svante Seleborg suggests to use:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p style=&quot;line-height: normal; list-style-type: disc; margin: 0in; font-family: &quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;public partial class MyPage : SimplePage       &lt;br /&gt;{        &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160; &lt;/span&gt;public MyPage() : SimplePage(0, HttpContext.Current.Items[&amp;quot;InErrorHandler&amp;quot;] == null ? 0 : PageExtensions.SaveCurrentPage.OptionFlag)        &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160; &lt;/span&gt;{        &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160; &lt;/span&gt;}        &lt;br /&gt;}&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;This led me to the same exact exception, then in Dan Matthew entry I read something similar with optionFlag only this time he suggested to disable different optionFlag that did not help me either.&lt;/p&gt;  &lt;p&gt;Next idea was to just pass integer 65535, I thought that this will disable all options and it did, and Server.Transfer and Server.Execute started to work.&lt;/p&gt;  &lt;p&gt;At this point I tough that I even do not know what I&#39;m disabling so I went out to search what options are there,did that following way:&lt;/p&gt;  &lt;p&gt;Opened up &lt;a href=&quot;http://sdk.episerver.com/library/cms6.1/index.aspx&quot;&gt;http://sdk.episerver.com/library/cms6.1/index.aspx&lt;/a&gt; and searched for OptionFlag, and I found 14 different result and scratched class names out of them, so at first I tried passing all of then, then removing one by one and result was following:&lt;/p&gt;  &lt;blockquote&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;protected&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; ErrorPage()         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;//&amp;#160; : base(0, 65535) //this works as expected&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;base&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;(0,&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;HttpContext&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Current.Items[&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;InErrorHandler&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;] == &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; ? 0 :         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 0          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;// | AntiForgeryValidation.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | CultureSupport.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | LoadCurrentPage.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | CustomPageLink.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | ThemeUtility.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | SiteRedirect.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; | &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;ContextMenu&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.OptionFlag &lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;//this is the one that needs to be disabled&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | SaveCurrentPage.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | ServerTransferBugfix.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | SetupContentRedirect.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | PageVisited.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | PageStatistics.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | PageNotFoundRedirect.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// | PageTranslation.OptionFlag&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; line-height: normal; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;     &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; )       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;  &lt;p&gt;At the end of the day, my code looks something like that:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p style=&quot;line-height: normal; list-style-type: disc; margin: 0in; font-family: &quot; lang=&quot;lv&quot;&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;public&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;void&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; TransferToHttpErrorPage(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;int&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; httpErrorCode)           &lt;br /&gt;{            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Response.Clear();            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Response.StatusCode = 404;            &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;try&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;       &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160; {         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;HttpContext&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Current.Items[&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;InErrorHandler&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;true&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; factory = &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;new&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;DataFactory&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;();           &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;// get error page reference from start page&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;       &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; startPage = factory.GetPage(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageReference&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.StartPage);           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; (startPage != &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; reference = startPage[&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;Error&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#3cb371&quot;&gt;{0}&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;PageReference&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;, httpErrorCode)];           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; (reference != &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; &amp;amp;&amp;amp; reference &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;is&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageReference&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; page = factory.GetPage((&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageReference&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;)reference);           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Server.Transfer(page.LinkURL);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;return&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;// startPage not found or Error{0}PageReference not found&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;       &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;// get error page reference by friendly URL&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;       &lt;br /&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;1&quot; face=&quot;Consolas&quot;&gt;object&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; pageReference;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; (EPiServer.&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;Global&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.UrlRewriteProvider.ConvertToInternal(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;new&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&amp;#160;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;UrlBuilder&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#3cb371&quot;&gt;{0}&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;, httpErrorCode)), &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;out&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; pageReference))           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;var&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; page = factory.GetPage((&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;PageReference&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;) pageReference);           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Server.Transfer(page.LinkURL);            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;return&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;;           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }            &lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&amp;#160;&lt;/span&gt;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#008000&quot;&gt;// if get this far use static error page&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;       &lt;br /&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Server.Transfer(&lt;/font&gt;&lt;/span&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;/&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#3cb371&quot;&gt;{0}&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;.htm&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;, httpErrorCode));           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;catch&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; (&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#2b91af&quot;&gt;Exception&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Consolas&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt; ex)           &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Response.Write((&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;string&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;.Format(&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt;&amp;quot;Http error &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#3cb371&quot;&gt;{0}&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font color=&quot;#a31515&quot;&gt; has occurred&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style=&quot;background-image: none; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; color: &quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Consolas&quot;&gt;, httpErrorCode)));         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Response.End();          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }          &lt;br /&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I&#39;m new to EPi Server so I have a question to more experienced EPiServer developers: is this a bug or feature, can someone explain why in order for Server.Transfer(or Server.Execute) to work I need to disable ContextMenu option in page?&lt;/p&gt;  &lt;p&gt;I used latest EPi Server CMS 6 R2&lt;/p&gt;</id><updated>2011-09-26T18:51:00.0000000Z</updated><summary type="html">Blog post</summary></entry></feed>