Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://blog.karstein-consulting.com/feed/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. xmlns:georss="http://www.georss.org/georss"
  9. xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
  10. >
  11.  
  12. <channel>
  13. <title>Ingo Karstein&#039;s Blog @ kenaro </title>
  14. <atom:link href="https://blog.kenaro.com/feed/" rel="self" type="application/rss+xml" />
  15. <link>https://blog.kenaro.com</link>
  16. <description>kenaflow, SharePoint, Workflows, Microsoft Certified Master: SharePoint, PowerShell, Enterprise Web Development</description>
  17. <lastBuildDate>Mon, 18 Sep 2023 17:54:50 +0000</lastBuildDate>
  18. <language>en-US</language>
  19. <sy:updatePeriod>
  20. hourly </sy:updatePeriod>
  21. <sy:updateFrequency>
  22. 1 </sy:updateFrequency>
  23. <generator>https://wordpress.org/?v=6.4.4</generator>
  24. <site xmlns="com-wordpress:feed-additions:1">41594613</site> <item>
  25. <title>Internal Server Error on SharePoint Server 2019 O-Premises after Update &#8211; Missing IIS Module &#8220;SPRequestFilterModule&#8221;.</title>
  26. <link>https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=internal-server-error-on-sharepoint-server-2019-o-premises-after-update</link>
  27. <comments>https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/#respond</comments>
  28. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  29. <pubDate>Mon, 18 Sep 2023 12:17:17 +0000</pubDate>
  30. <category><![CDATA[Uncategorized]]></category>
  31. <guid isPermaLink="false">https://blog.kenaro.com/?p=2581</guid>
  32.  
  33. <description><![CDATA[Currently I investigate a problem. A SharePoint Server 2019 page showed me an Internal Server Error 500. SharePoint Server 2019 is installed on Windows Server 2022. The August 2023 CU is applied. After enabling &#8220;Failed Request Tracing&#8221; I saw this &#8230; <a href="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  34. <content:encoded><![CDATA[
  35. <p>Currently I investigate a problem. A SharePoint Server 2019 page showed me an Internal Server Error 500.</p>
  36.  
  37.  
  38.  
  39. <p>SharePoint Server 2019 is installed on Windows Server 2022. The August 2023 CU is applied.</p>
  40.  
  41.  
  42.  
  43. <p></p>
  44.  
  45.  
  46.  
  47. <p>After enabling &#8220;Failed Request Tracing&#8221; I saw this log message in &#8220;Failed Request Logs&#8221; on disk (C:\inetpub\logs\FailedReqLogFiles\W3SVCxxxxxxxx)</p>
  48.  
  49.  
  50.  
  51. <p></p>
  52.  
  53.  
  54.  
  55. <p>To enable &#8220;Failed Request Tracking&#8221;&#8230;</p>
  56.  
  57.  
  58.  
  59. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?ssl=1"><img fetchpriority="high" decoding="async" width="584" height="266" data-attachment-id="2583" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-1-3/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?fit=1756%2C799&amp;ssl=1" data-orig-size="1756,799" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?fit=300%2C137&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?fit=584%2C266&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=584%2C266&#038;ssl=1" alt="" class="wp-image-2583" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=1024%2C466&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=768%2C349&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=1536%2C699&amp;ssl=1 1536w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?resize=500%2C228&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?w=1756&amp;ssl=1 1756w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-1.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  60.  
  61.  
  62.  
  63. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?ssl=1"><img decoding="async" data-attachment-id="2585" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-3-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?fit=843%2C643&amp;ssl=1" data-orig-size="843,643" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-3" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?fit=300%2C229&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?fit=584%2C445&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?resize=454%2C348&#038;ssl=1" alt="" class="wp-image-2585" width="454" height="348" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?resize=300%2C229&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-3.png?resize=393%2C300&amp;ssl=1 393w" sizes="(max-width: 454px) 100vw, 454px" data-recalc-dims="1" /></a></figure>
  64.  
  65.  
  66.  
  67. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?ssl=1"><img decoding="async" data-attachment-id="2586" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-4-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?fit=843%2C644&amp;ssl=1" data-orig-size="843,644" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-4" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?fit=300%2C229&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?fit=584%2C446&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?resize=455%2C349&#038;ssl=1" alt="" class="wp-image-2586" width="455" height="349" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?w=843&amp;ssl=1 843w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?resize=300%2C229&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?resize=768%2C587&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-4.png?resize=393%2C300&amp;ssl=1 393w" sizes="(max-width: 455px) 100vw, 455px" data-recalc-dims="1" /></a></figure>
  68.  
  69.  
  70.  
  71. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2587" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-5-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?fit=842%2C643&amp;ssl=1" data-orig-size="842,643" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-5" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?fit=300%2C229&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?fit=584%2C446&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?resize=454%2C348&#038;ssl=1" alt="" class="wp-image-2587" width="454" height="348" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?w=842&amp;ssl=1 842w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?resize=300%2C229&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-5.png?resize=393%2C300&amp;ssl=1 393w" sizes="(max-width: 454px) 100vw, 454px" data-recalc-dims="1" /></a></figure>
  72.  
  73.  
  74.  
  75. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2591" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-9/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?fit=540%2C319&amp;ssl=1" data-orig-size="540,319" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-9" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?fit=300%2C177&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?fit=540%2C319&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?resize=389%2C231&#038;ssl=1" alt="" class="wp-image-2591" width="389" height="231" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?w=540&amp;ssl=1 540w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?resize=300%2C177&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-9.png?resize=500%2C295&amp;ssl=1 500w" sizes="(max-width: 389px) 100vw, 389px" data-recalc-dims="1" /></a></figure>
  76.  
  77.  
  78.  
  79. <p>After I configured the &#8220;Failed Request Logging&#8221; I found a XML file on disk that is rendered as follows in the browser&#8230;</p>
  80.  
  81.  
  82.  
  83. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="229" data-attachment-id="2602" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-19/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?fit=1747%2C686&amp;ssl=1" data-orig-size="1747,686" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-19" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?fit=300%2C118&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?fit=584%2C229&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=584%2C229&#038;ssl=1" alt="" class="wp-image-2602" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=1024%2C402&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=300%2C118&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=768%2C302&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=1536%2C603&amp;ssl=1 1536w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?resize=500%2C196&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?w=1747&amp;ssl=1 1747w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-19.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  84.  
  85.  
  86.  
  87. <p>Now looking at the &#8220;Modules&#8221; config of the SharePoint web site in IIS I saw:</p>
  88.  
  89.  
  90.  
  91. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="266" data-attachment-id="2593" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-11/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?fit=1756%2C799&amp;ssl=1" data-orig-size="1756,799" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-11" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?fit=300%2C137&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?fit=584%2C266&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=584%2C266&#038;ssl=1" alt="" class="wp-image-2593" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=1024%2C466&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=768%2C349&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=1536%2C699&amp;ssl=1 1536w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?resize=500%2C228&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?w=1756&amp;ssl=1 1756w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-11.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  92.  
  93.  
  94.  
  95. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="403" data-attachment-id="2592" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-10/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?fit=872%2C602&amp;ssl=1" data-orig-size="872,602" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-10" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?fit=300%2C207&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?fit=584%2C403&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?resize=584%2C403&#038;ssl=1" alt="" class="wp-image-2592" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?w=872&amp;ssl=1 872w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?resize=300%2C207&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?resize=768%2C530&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-10.png?resize=435%2C300&amp;ssl=1 435w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  96.  
  97.  
  98.  
  99. <p>The module is missing&#8230;</p>
  100.  
  101.  
  102.  
  103. <p>I registered it by selecting the server level in the tree</p>
  104.  
  105.  
  106.  
  107. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-12.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2594" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-12/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-12.png?fit=406%2C573&amp;ssl=1" data-orig-size="406,573" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-12" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-12.png?fit=213%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-12.png?fit=406%2C573&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-12.png?resize=238%2C346&#038;ssl=1" alt="" class="wp-image-2594" width="238" height="346" data-recalc-dims="1" /></a></figure>
  108.  
  109.  
  110.  
  111. <p>Then&#8230; Open &#8220;Modules&#8221;</p>
  112.  
  113.  
  114.  
  115. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-13.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2595" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-13/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-13.png?fit=163%2C243&amp;ssl=1" data-orig-size="163,243" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-13" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-13.png?fit=163%2C243&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-13.png?fit=163%2C243&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-13.png?resize=106%2C177&#038;ssl=1" alt="" class="wp-image-2595" width="106" height="177" data-recalc-dims="1" /></a></figure>
  116.  
  117.  
  118.  
  119. <p>In the list the &#8220;SPRequestFilterModule&#8221; is missing:</p>
  120.  
  121.  
  122.  
  123. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-16.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2598" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-16/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-16.png?fit=763%2C937&amp;ssl=1" data-orig-size="763,937" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-16" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-16.png?fit=244%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-16.png?fit=584%2C717&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-16.png?resize=425%2C528&#038;ssl=1" alt="" class="wp-image-2598" width="425" height="528" data-recalc-dims="1" /></a></figure>
  124.  
  125.  
  126.  
  127. <p>On the right pane select &#8220;Configure Native Modules&#8221;:</p>
  128.  
  129.  
  130.  
  131. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-14.png?ssl=1"><img loading="lazy" decoding="async" width="245" height="170" data-attachment-id="2596" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-14/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-14.png?fit=245%2C170&amp;ssl=1" data-orig-size="245,170" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-14" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-14.png?fit=245%2C170&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-14.png?fit=245%2C170&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-14.png?resize=245%2C170&#038;ssl=1" alt="" class="wp-image-2596" data-recalc-dims="1"/></a></figure>
  132.  
  133.  
  134.  
  135. <p>Here the module is also missing</p>
  136.  
  137.  
  138.  
  139. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="474" data-attachment-id="2599" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-17/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?fit=588%2C477&amp;ssl=1" data-orig-size="588,477" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-17" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?fit=300%2C243&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?fit=584%2C474&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?resize=584%2C474&#038;ssl=1" alt="" class="wp-image-2599" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?w=588&amp;ssl=1 588w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?resize=300%2C243&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-17.png?resize=370%2C300&amp;ssl=1 370w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  140.  
  141.  
  142.  
  143. <p>Now click &#8220;Register&#8230;&#8221;.</p>
  144.  
  145.  
  146.  
  147. <p>Add the module with name </p>
  148.  
  149.  
  150.  
  151. <p><code>SPRequestFilterModule</code></p>
  152.  
  153.  
  154.  
  155. <p>and Path</p>
  156.  
  157.  
  158.  
  159. <p><code>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\isapi\sprequestfilteringmodule.dll</code></p>
  160.  
  161.  
  162.  
  163. <p>Click on. </p>
  164.  
  165.  
  166.  
  167. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?ssl=1"><img loading="lazy" decoding="async" width="551" height="257" data-attachment-id="2601" data-permalink="https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/grafik-18/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?fit=551%2C257&amp;ssl=1" data-orig-size="551,257" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-18" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?fit=300%2C140&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?fit=551%2C257&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?resize=551%2C257&#038;ssl=1" alt="" class="wp-image-2601" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?w=551&amp;ssl=1 551w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?resize=300%2C140&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2023/09/grafik-18.png?resize=500%2C233&amp;ssl=1 500w" sizes="(max-width: 551px) 100vw, 551px" data-recalc-dims="1" /></a></figure>
  168.  
  169.  
  170.  
  171. <p></p>
  172.  
  173.  
  174.  
  175. <p></p>
  176.  
  177.  
  178.  
  179. <p>Try reloading the SharePoint page in browser. That&#8217;s it <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  180.  
  181.  
  182.  
  183. <p>I created this script to fix the issue:</p>
  184.  
  185.  
  186.  
  187. <pre class="wp-block-code"><code>$fn = "$(&#91;environment]::GetEnvironmentVariable("SystemRoot"))\system32\inetsrv\config\applicationhost.config"
  188. $l = &#91;System.Collections.Generic.List&#91;string]]::new( (&#91;system.io.file]::ReadAllLines($fn)) )
  189.  
  190. if( $null -eq ($l | ? { $_ -like "*SPRequestFilterModule*"} ) ) {
  191.    Write-Host "SPRequestFilterModule not found..."
  192.  
  193.    if( (Test-Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\isapi\sprequestfilteringmodule.dll") ) {
  194.        write-host "missing module found on disk!"
  195.  
  196.        . iisreset /stop
  197.  
  198.        $m = @()
  199.        for( $i = 0; $i -lt $l.Count; $i++ ) {
  200.            if( $l&#91;$i].IndexOf("&lt;/globalModules&gt;", &#91;StringComparison]::OrdinalIgnoreCase) -ge 0) {
  201.                $l.Insert($i, '            &lt;add name="SPRequestFilterModule" image="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\isapi\sprequestfilteringmodule.dll" preCondition="bitness64" /&gt;')
  202.                break
  203.            }
  204.        }
  205.  
  206.        &#91;system.io.file]::WriteAllLines($fn, $l.ToArray())
  207.  
  208.        . iisreset /start
  209.    } else {
  210.        Write-Error "Missing module DLL not found on disk!"
  211.    }
  212. } else {
  213.    Write-Host "SPRequestFilterModule is already registered in IIS!"
  214. }</code></pre>
  215.  
  216.  
  217.  
  218. <p>PS: I found an article on Microsoft Learning. There I will leave a comment on that topic.</p>
  219.  
  220.  
  221.  
  222. <p><a href="https://learn.microsoft.com/en-us/answers/questions/1228993/recent-sp-security-update-causes-iis-to-throw-a-50">https://learn.microsoft.com/en-us/answers/questions/1228993/recent-sp-security-update-causes-iis-to-throw-a-50</a></p>
  223.  
  224.  
  225.  
  226. <p></p>
  227.  
  228.  
  229.  
  230. <p></p>
  231. ]]></content:encoded>
  232. <wfw:commentRss>https://blog.kenaro.com/2023/09/18/internal-server-error-on-sharepoint-server-2019-o-premises-after-update/feed/</wfw:commentRss>
  233. <slash:comments>0</slash:comments>
  234. <post-id xmlns="com-wordpress:feed-additions:1">2581</post-id> </item>
  235. <item>
  236. <title>PowerShell &gt;= 7 : Skip Certificate Check for Win and Linux</title>
  237. <link>https://blog.kenaro.com/2023/05/08/powershell-7-skip-certificate-check-for-win-and-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-7-skip-certificate-check-for-win-and-linux</link>
  238. <comments>https://blog.kenaro.com/2023/05/08/powershell-7-skip-certificate-check-for-win-and-linux/#respond</comments>
  239. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  240. <pubDate>Mon, 08 May 2023 06:37:34 +0000</pubDate>
  241. <category><![CDATA[Uncategorized]]></category>
  242. <guid isPermaLink="false">https://blog.kenaro.com/?p=2578</guid>
  243.  
  244. <description><![CDATA[Here is a snippet of how to disable certificate checks on PowerShell 7 and above on Windows and Linux / Debian 11.]]></description>
  245. <content:encoded><![CDATA[
  246. <p>Here is a snippet of how to disable certificate checks on PowerShell 7 and above on Windows and Linux / Debian 11.</p>
  247.  
  248.  
  249.  
  250. <pre class="wp-block-code"><code>if ($PSVersionTable.PSEdition -eq 'Core') {
  251. $Script:PSDefaultParameterValues = @{
  252.        "invoke-restmethod:SkipCertificateCheck" = $true
  253.        "invoke-webrequest:SkipCertificateCheck" = $true
  254. }
  255. } else {
  256. Add-Type @"
  257. using System.Net;
  258. using System.Security.Cryptography.X509Certificates;
  259. public class TrustAllCertsPolicy : ICertificatePolicy {
  260. public bool CheckValidationResult(
  261. ServicePoint srvPoint, X509Certificate certificate,
  262. WebRequest request, int certificateProblem) {
  263. return true;
  264. }
  265. }
  266. "@
  267.  
  268. &#91;System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
  269. }</code></pre>
  270. ]]></content:encoded>
  271. <wfw:commentRss>https://blog.kenaro.com/2023/05/08/powershell-7-skip-certificate-check-for-win-and-linux/feed/</wfw:commentRss>
  272. <slash:comments>0</slash:comments>
  273. <post-id xmlns="com-wordpress:feed-additions:1">2578</post-id> </item>
  274. <item>
  275. <title>PowerShell on Linux / Debian 11 &#8211; &#8216;exit&#8217; command not working as expected</title>
  276. <link>https://blog.kenaro.com/2023/05/06/powershell-on-linux-debian-11-exit-command-not-working-as-expected/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-on-linux-debian-11-exit-command-not-working-as-expected</link>
  277. <comments>https://blog.kenaro.com/2023/05/06/powershell-on-linux-debian-11-exit-command-not-working-as-expected/#respond</comments>
  278. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  279. <pubDate>Sat, 06 May 2023 09:56:00 +0000</pubDate>
  280. <category><![CDATA[Uncategorized]]></category>
  281. <guid isPermaLink="false">https://blog.kenaro.com/?p=2573</guid>
  282.  
  283. <description><![CDATA[On my Debian 11 VM, the &#8216;exit&#8217; command in a PowerShell script does not work as expected. The script stops working, but the process does not exit either. Now I use this to exit immediately.]]></description>
  284. <content:encoded><![CDATA[
  285. <p>On my Debian 11 VM, the &#8216;exit&#8217; command in a PowerShell script does not work as expected. </p>
  286.  
  287.  
  288.  
  289. <p>The script stops working, but the process does not exit either.</p>
  290.  
  291.  
  292.  
  293. <p>Now I use this to exit immediately.</p>
  294.  
  295.  
  296.  
  297. <pre class="wp-block-code"><code>&#91;System.Environment]::Exit(0)</code></pre>
  298. ]]></content:encoded>
  299. <wfw:commentRss>https://blog.kenaro.com/2023/05/06/powershell-on-linux-debian-11-exit-command-not-working-as-expected/feed/</wfw:commentRss>
  300. <slash:comments>0</slash:comments>
  301. <post-id xmlns="com-wordpress:feed-additions:1">2573</post-id> </item>
  302. <item>
  303. <title>PowerShell on Linux / Debian 11 &#8211; Ctrl+C not working</title>
  304. <link>https://blog.kenaro.com/2023/05/03/powershell-on-linux-debian-11-ctrlc-not-working/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=powershell-on-linux-debian-11-ctrlc-not-working</link>
  305. <comments>https://blog.kenaro.com/2023/05/03/powershell-on-linux-debian-11-ctrlc-not-working/#respond</comments>
  306. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  307. <pubDate>Wed, 03 May 2023 09:56:13 +0000</pubDate>
  308. <category><![CDATA[Uncategorized]]></category>
  309. <guid isPermaLink="false">https://blog.kenaro.com/?p=2571</guid>
  310.  
  311. <description><![CDATA[I just found out that on my Debian 11 VM in PowerShell the key combination Ctrl+C does not work. The script is not terminated by this, unlike expected. I added the following code and now it works.]]></description>
  312. <content:encoded><![CDATA[
  313. <p>I just found out that on my Debian 11 VM in PowerShell the key combination Ctrl+C does not work.</p>
  314.  
  315.  
  316.  
  317. <p>The script is not terminated by this, unlike expected.</p>
  318.  
  319.  
  320.  
  321. <p>I added the following code and now it works.</p>
  322.  
  323.  
  324.  
  325. <pre class="wp-block-code"><code>add-type -typedefinition @"
  326. using System;
  327. using System.IO;
  328.  
  329. public class CtrlCHandler
  330. {
  331. public static void Main()
  332. {
  333. System.Console.CancelKeyPress += (s,e) => System.Diagnostics.Process.GetCurrentProcess().Kill();
  334. }
  335. }
  336. "@
  337.  
  338. &#91;CtrlCHandler]::Main()
  339. </code></pre>
  340. ]]></content:encoded>
  341. <wfw:commentRss>https://blog.kenaro.com/2023/05/03/powershell-on-linux-debian-11-ctrlc-not-working/feed/</wfw:commentRss>
  342. <slash:comments>0</slash:comments>
  343. <post-id xmlns="com-wordpress:feed-additions:1">2571</post-id> </item>
  344. <item>
  345. <title>Blank / Empty pages when Accessing a Modern Experience page of SharePoint Server Subscription Edition</title>
  346. <link>https://blog.kenaro.com/2022/04/20/blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition</link>
  347. <comments>https://blog.kenaro.com/2022/04/20/blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition/#respond</comments>
  348. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  349. <pubDate>Wed, 20 Apr 2022 06:14:23 +0000</pubDate>
  350. <category><![CDATA[Uncategorized]]></category>
  351. <guid isPermaLink="false">https://blog.kenaro.com/?p=2564</guid>
  352.  
  353. <description><![CDATA[Resently I installed a new SharePoint Server Subscription Edition but in this case only with the latest security update (https://support.microsoft.com/en-us/kb/5002191). When I opened the home page of the newly created root site collection everything seems fine. But when navigation to &#8230; <a href="https://blog.kenaro.com/2022/04/20/blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  354. <content:encoded><![CDATA[
  355. <p>Resently I installed a new <strong>SharePoint Server Subscription Edition</strong> but in this case only with the latest security update (<a href="https://support.microsoft.com/en-us/kb/5002191">https://support.microsoft.com/en-us/kb/5002191</a>).</p>
  356.  
  357.  
  358.  
  359. <p>When I opened the home page of the newly created root site collection everything seems fine. But when navigation to some link in the quick launch I only got empty / blank pages. No errors in the Developer tools. Just no content. </p>
  360.  
  361.  
  362.  
  363. <p>(There was almost no content in the HTML DOM. Just the &lt;head> tag with some content and the &lt;body> tag with 1 &lt;script> tag&#8230;)</p>
  364.  
  365.  
  366.  
  367. <p>After searching in the SharePoint logs I found this error:</p>
  368.  
  369.  
  370.  
  371. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?ssl=1"><img loading="lazy" decoding="async" width="471" height="476" data-attachment-id="2565" data-permalink="https://blog.kenaro.com/2022/04/20/blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition/grafik-2-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?fit=471%2C476&amp;ssl=1" data-orig-size="471,476" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-2" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?fit=297%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?fit=471%2C476&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?resize=471%2C476&#038;ssl=1" alt="" class="wp-image-2565" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?w=471&amp;ssl=1 471w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-2.png?resize=297%2C300&amp;ssl=1 297w" sizes="(max-width: 471px) 100vw, 471px" data-recalc-dims="1" /></a></figure>
  372.  
  373.  
  374.  
  375. <p><code>Error encountered when creating uri from baseUrl /_layouts/15/next/odspnext/.</code></p>
  376.  
  377.  
  378.  
  379. <p>It helped me to find this page of Stefan Goßner: <a href="https://blog.stefan-gossner.com/2021/09/29/trending-issue-_layouts-15-viewlsts-aspx-shows-as-blank-page-in-sp2019-after-installing-september-pu/">https://blog.stefan-gossner.com/2021/09/29/trending-issue-_layouts-15-viewlsts-aspx-shows-as-blank-page-in-sp2019-after-installing-september-pu/</a></p>
  380.  
  381.  
  382.  
  383. <p>This information is about ShgarePoint 2019 but the message and even the error code is identical.</p>
  384.  
  385.  
  386.  
  387. <p>So I installed the lastest available &#8220;language dependent&#8221; patch of January 2022: <a href="https://support.microsoft.com/en-us/kb/5002110">https://support.microsoft.com/en-us/kb/5002110</a></p>
  388.  
  389.  
  390.  
  391. <p>After installing it and after running the config wizard all the pages contents are shown!</p>
  392.  
  393.  
  394.  
  395. <p></p>
  396. ]]></content:encoded>
  397. <wfw:commentRss>https://blog.kenaro.com/2022/04/20/blank-empty-pages-when-accessing-a-modern-experience-page-of-sharepoint-server-subscription-edition/feed/</wfw:commentRss>
  398. <slash:comments>0</slash:comments>
  399. <post-id xmlns="com-wordpress:feed-additions:1">2564</post-id> </item>
  400. <item>
  401. <title>SharePoint User Information List URL (REMINDER)</title>
  402. <link>https://blog.kenaro.com/2022/04/05/sharepoint-user-information-list-url-reminder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sharepoint-user-information-list-url-reminder</link>
  403. <comments>https://blog.kenaro.com/2022/04/05/sharepoint-user-information-list-url-reminder/#respond</comments>
  404. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  405. <pubDate>Tue, 05 Apr 2022 16:21:04 +0000</pubDate>
  406. <category><![CDATA[Uncategorized]]></category>
  407. <guid isPermaLink="false">https://blog.kenaro.com/?p=2554</guid>
  408.  
  409. <description><![CDATA[This is the link to the SharePoint User Information List: https://sharepoint.example.com/_catalogs/users/simple.aspx The bold part must be replaced by the SharePoint site collection URL. The interesting part is this: /_catalogs/users/simple.aspx For example: https://intranet.yourcompany.com/sites/finance/_catalogs/users/simple.aspx /sites/finance is the site collection part of the &#8230; <a href="https://blog.kenaro.com/2022/04/05/sharepoint-user-information-list-url-reminder/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  410. <content:encoded><![CDATA[
  411. <p>This is the link to the SharePoint User Information List:</p>
  412.  
  413.  
  414.  
  415. <p><code><strong>https://sharepoint.example.com</strong>/_catalogs/users/simple.aspx</code></p>
  416.  
  417.  
  418.  
  419. <p>The <strong>bold</strong> part must be replaced by the SharePoint site collection URL.</p>
  420.  
  421.  
  422.  
  423. <p>The interesting part is this: <code>/_catalogs/users/simple.aspx</code></p>
  424.  
  425.  
  426.  
  427. <p></p>
  428.  
  429.  
  430.  
  431. <p>For example:</p>
  432.  
  433.  
  434.  
  435. <p><code>https://intranet.yourcompany.com/<strong>sites/finance/</strong>_catalogs/users/simple.aspx</code></p>
  436.  
  437.  
  438.  
  439. <p><code>/sites/finance</code> is the site collection part of the URL in this case.</p>
  440.  
  441.  
  442.  
  443. <p></p>
  444.  
  445.  
  446.  
  447. <p>This list is a special system list but it&#8217;s based on the &#8220;normal&#8221; list mechanism of SharePoint. Therefore it has an ID and by knowing that you can open the settings page of the list.</p>
  448.  
  449.  
  450.  
  451. <p>If you opend the User Information List using the URL above in Firefox, Edge, Chrome,&#8230; you can select the surrounding table and grab the list ID from the HTML DOM:</p>
  452.  
  453.  
  454.  
  455. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="325" data-attachment-id="2558" data-permalink="https://blog.kenaro.com/2022/04/05/sharepoint-user-information-list-url-reminder/grafik-1-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?fit=984%2C548&amp;ssl=1" data-orig-size="984,548" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?fit=300%2C167&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?fit=584%2C325&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?resize=584%2C325&#038;ssl=1" alt="" class="wp-image-2558" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?w=984&amp;ssl=1 984w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?resize=300%2C167&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?resize=768%2C428&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/04/grafik-1.png?resize=500%2C278&amp;ssl=1 500w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  456.  
  457.  
  458.  
  459. <p>With this ID you can open the settings page:</p>
  460.  
  461.  
  462.  
  463. <p><code>https://sharepoint.example.com/_layouts/15/listedit.aspx?List=<strong>{F9780EA0-8B18-47E1-88BF-7C9543561C58}</strong></code></p>
  464. ]]></content:encoded>
  465. <wfw:commentRss>https://blog.kenaro.com/2022/04/05/sharepoint-user-information-list-url-reminder/feed/</wfw:commentRss>
  466. <slash:comments>0</slash:comments>
  467. <post-id xmlns="com-wordpress:feed-additions:1">2554</post-id> </item>
  468. <item>
  469. <title>Microsoft Teams App: Open Developer Tools</title>
  470. <link>https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-teams-app-open-developer-tools</link>
  471. <comments>https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/#respond</comments>
  472. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  473. <pubDate>Wed, 02 Mar 2022 14:17:01 +0000</pubDate>
  474. <category><![CDATA[Uncategorized]]></category>
  475. <guid isPermaLink="false">https://blog.kenaro.com/?p=2545</guid>
  476.  
  477. <description><![CDATA[As widely known, Microsoft Teams runs on desktop computers with Windows OS or Mac OSX or Linux. The &#8220;Teams&#8221; app is based on &#8220;Electron&#8221; (https://www.electronjs.org). &#8220;Electron&#8221; runs a packaged web technology based app inside a Chromium based application. Microsoft Teams &#8230; <a href="https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  478. <content:encoded><![CDATA[
  479. <p>As widely known, Microsoft Teams runs on desktop computers with Windows OS or Mac OSX or Linux. The &#8220;Teams&#8221; app is based on &#8220;Electron&#8221; (https://www.electronjs.org).</p>
  480.  
  481.  
  482.  
  483. <p>&#8220;Electron&#8221; runs a packaged web technology based app inside a Chromium based application. </p>
  484.  
  485.  
  486.  
  487. <p>Microsoft Teams is such a &#8220;web technology based app&#8221; that runs in such a Chromium based application locally on a computer.</p>
  488.  
  489.  
  490.  
  491. <p>Chromium normally offers &#8220;Developer Tools&#8221; to dig into the HTML / CSS / Javascriptg of a w web technology based application.</p>
  492.  
  493.  
  494.  
  495. <p>Normally the &#8220;Developer Tools&#8221; are disabled in &#8220;Microsoft Teams&#8221;.</p>
  496.  
  497.  
  498.  
  499. <p>But there is a trick to enable the &#8220;Developer Tools&#8221; on &#8220;Microsoft Teams&#8221;:</p>
  500.  
  501.  
  502.  
  503. <p>1. Windows</p>
  504.  
  505.  
  506.  
  507. <p>(Left) click 7 or more times on the &#8220;Teams&#8221; icon besides the clock.</p>
  508.  
  509.  
  510.  
  511. <figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-1.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2550" data-permalink="https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/image-1/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-1.png?fit=216%2C50&amp;ssl=1" data-orig-size="216,50" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-1.png?fit=216%2C50&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-1.png?fit=216%2C50&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-1.png?resize=442%2C110&#038;ssl=1" alt="" class="wp-image-2550" width="442" height="110" data-recalc-dims="1" /></a></figure>
  512.  
  513.  
  514.  
  515. <p>Now right-click the icon once. There you see the Developer Tools:</p>
  516.  
  517.  
  518.  
  519. <figure class="wp-block-image size-full"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-2.png?ssl=1"><img loading="lazy" decoding="async" width="211" height="272" data-attachment-id="2551" data-permalink="https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/image-2/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-2.png?fit=211%2C272&amp;ssl=1" data-orig-size="211,272" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-2" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-2.png?fit=211%2C272&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-2.png?fit=211%2C272&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/03/image-2.png?resize=211%2C272&#038;ssl=1" alt="" class="wp-image-2551" data-recalc-dims="1"/></a></figure>
  520.  
  521.  
  522.  
  523. <p></p>
  524.  
  525.  
  526.  
  527. <p>2. Mac OSX</p>
  528.  
  529.  
  530.  
  531. <p>It&#8217;s almost the same with Mac OSX: There you click the &#8220;Teams&#8221; icon in the tray 7 times. </p>
  532.  
  533.  
  534.  
  535. <p>(I&#8217;ll add a screenshot later.)</p>
  536.  
  537.  
  538.  
  539. <p></p>
  540.  
  541.  
  542.  
  543. <p>3. Linux </p>
  544.  
  545.  
  546.  
  547. <p>Not tested.</p>
  548. ]]></content:encoded>
  549. <wfw:commentRss>https://blog.kenaro.com/2022/03/02/microsoft-teams-app-open-developer-tools/feed/</wfw:commentRss>
  550. <slash:comments>0</slash:comments>
  551. <post-id xmlns="com-wordpress:feed-additions:1">2545</post-id> </item>
  552. <item>
  553. <title>ASP.Net Core .net 6 Demo Authentication Project using local Casdoor Docker Container on Windows Subsystem for Linux</title>
  554. <link>https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux</link>
  555. <comments>https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/#respond</comments>
  556. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  557. <pubDate>Thu, 17 Feb 2022 22:19:18 +0000</pubDate>
  558. <category><![CDATA[Uncategorized]]></category>
  559. <guid isPermaLink="false">https://blog.kenaro.com/?p=2533</guid>
  560.  
  561. <description><![CDATA[I wanted to create a demo application with kind of real world authentication that I can easily adopt in projects. This was not so easy as I thought. 1st: I wanted an identity provider that offers OAuth2. 2nd: I wanted &#8230; <a href="https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  562. <content:encoded><![CDATA[
  563. <p>I wanted to create a demo application with kind of real world authentication that I can easily adopt in projects.</p>
  564.  
  565.  
  566.  
  567. <p>This was not so easy as I thought.</p>
  568.  
  569.  
  570.  
  571. <p>1st: I wanted an identity provider that offers OAuth2. </p>
  572.  
  573.  
  574.  
  575. <p>2nd: I wanted the identity provider on my own machine or at least within my infrastructure. </p>
  576.  
  577.  
  578.  
  579. <p>3rd: I wanted a setup that I can describe to reproduce it.</p>
  580.  
  581.  
  582.  
  583. <p>Here is the result. &#8211; I work on Windows 11. It should work with Windows 10 too. &#8211; I use Visual Studio 2022.</p>
  584.  
  585.  
  586.  
  587. <h1 class="wp-block-heading" id="part-1-preparation">Part 1: Preparation</h1>
  588.  
  589.  
  590.  
  591. <p>Install Windows Subsystem for Linux version 2: </p>
  592.  
  593.  
  594.  
  595. <p><a href="https://docs.microsoft.com/en-us/windows/wsl/install">https://docs.microsoft.com/en-us/windows/wsl/install</a></p>
  596.  
  597.  
  598.  
  599. <p>Install Docker Desktop for Windows </p>
  600.  
  601.  
  602.  
  603. <p><a href="https://docs.docker.com/desktop/windows/install/">https://docs.docker.com/desktop/windows/install/</a></p>
  604.  
  605.  
  606.  
  607. <p>Ensure you enabled WSL2 support in Docker!</p>
  608.  
  609.  
  610.  
  611. <h1 class="wp-block-heading" id="part-2-setup">Part 2: Setup</h1>
  612.  
  613.  
  614.  
  615. <p>I need Casdoor as identity provider. It&#8217;s open source: </p>
  616.  
  617.  
  618.  
  619. <p><a href="https://casdoor.org/">https://casdoor.org/</a></p>
  620.  
  621.  
  622.  
  623. <p>Pull the latest &#8220;all-in-one&#8221; Docker image of Casdoor.</p>
  624.  
  625.  
  626.  
  627. <pre class="wp-block-code"><code>docker pull casbin/casdoor-all-in-one</code></pre>
  628.  
  629.  
  630.  
  631. <p>Now you create the container&#8230; </p>
  632.  
  633.  
  634.  
  635. <pre class="wp-block-code"><code>docker run -d -p  8000:8000 --name casdoor -v ./casdoor-data:/var/lib/mysql casbin/casdoor-all-in-one</code></pre>
  636.  
  637.  
  638.  
  639. <p>Three comments on that:</p>
  640.  
  641.  
  642.  
  643. <ol><li>The Casdoor portal on your machine can be accessed using http://localhost:8000. If you need another port that change &#8220;8000:8000&#8221; to something else like &#8220;9000:8000&#8221;. The second port is internally used inside the Docker container. Do not change that. The first port is the published one on your machine.</li><li>Casdoor is an identity provider. You will need to create identities in it. Of course you do not want to do that again and again. Therefore it&#8217;s a good idea to put the data of the Casdoor container into Docker volume. If you later recreate the container the volume will remain on disk.</li><li>You ask: &#8220;Where is the Docker volume located on disk on WSL 2&#8221;? Good question! WSL creates a hidden mount point (?) that you can access on Windows by accessing <code>\\wsl$</code> in the Explorer. Then you can navigate to the correct folder that contains the volume of Casdor: <code>\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\casdoor-data</code></li></ol>
  644.  
  645.  
  646.  
  647. <p>Now you can open Casdoor:</p>
  648.  
  649.  
  650.  
  651. <p><a href="http://localhost:8000">http://localhost:8000</a></p>
  652.  
  653.  
  654.  
  655. <p>The default login is: username &#8220;admin&#8221; with password &#8220;123&#8221; (without &#8220;&#8221;)</p>
  656.  
  657.  
  658.  
  659. <p>Now &#8230; create some users. </p>
  660.  
  661.  
  662.  
  663. <p>Then&#8230; create an application:</p>
  664.  
  665.  
  666.  
  667. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?ssl=1"><img loading="lazy" decoding="async" width="551" height="1024" data-attachment-id="2536" data-permalink="https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/grafik/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?fit=748%2C1391&amp;ssl=1" data-orig-size="748,1391" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?fit=161%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?fit=551%2C1024&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?resize=551%2C1024&#038;ssl=1" alt="" class="wp-image-2536" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?resize=551%2C1024&amp;ssl=1 551w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?resize=161%2C300&amp;ssl=1 161w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik.png?w=748&amp;ssl=1 748w" sizes="(max-width: 551px) 100vw, 551px" data-recalc-dims="1" /></a></figure>
  668.  
  669.  
  670.  
  671. <p></p>
  672.  
  673.  
  674.  
  675. <h1 class="wp-block-heading" id="part-3-the-code">Part 3: The code</h1>
  676.  
  677.  
  678.  
  679. <p>Now clone my github project:</p>
  680.  
  681.  
  682.  
  683. <p><a href="https://github.com/ikarstein/com.kenaro.public.OAuth2Demo.Casdoor" target="_blank" rel="noreferrer noopener">https://github.com/ikarstein/com.kenaro.public.OAuth2Demo.Casdoor</a></p>
  684.  
  685.  
  686.  
  687. <p>Open the solution in Visual Studio 2022. Run it.</p>
  688.  
  689.  
  690.  
  691. <p>It will open a browser and looks like this:</p>
  692.  
  693.  
  694.  
  695. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="277" data-attachment-id="2538" data-permalink="https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/grafik-1/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?fit=1250%2C592&amp;ssl=1" data-orig-size="1250,592" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?fit=300%2C142&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?fit=584%2C277&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?resize=584%2C277&#038;ssl=1" alt="" class="wp-image-2538" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?resize=1024%2C485&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?resize=768%2C364&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?resize=500%2C237&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?w=1250&amp;ssl=1 1250w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-1.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  696.  
  697.  
  698.  
  699. <p>Click &#8220;Authenticate using Casdoor&#8221;</p>
  700.  
  701.  
  702.  
  703. <figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?ssl=1"><img loading="lazy" decoding="async" data-attachment-id="2540" data-permalink="https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/grafik-3/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?fit=1250%2C562&amp;ssl=1" data-orig-size="1250,562" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-3" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?fit=300%2C135&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?fit=584%2C262&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?resize=584%2C262&#038;ssl=1" alt="" class="wp-image-2540" width="584" height="262" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?resize=1024%2C460&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?resize=300%2C135&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?resize=768%2C345&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?resize=500%2C225&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?w=1250&amp;ssl=1 1250w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-3.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  704.  
  705.  
  706.  
  707. <p>Authenticate&#8230;</p>
  708.  
  709.  
  710.  
  711. <figure class="wp-block-image size-large"><a href="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?ssl=1"><img loading="lazy" decoding="async" width="584" height="262" data-attachment-id="2541" data-permalink="https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/grafik-4/" data-orig-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?fit=1250%2C562&amp;ssl=1" data-orig-size="1250,562" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-4" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?fit=300%2C135&amp;ssl=1" data-large-file="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?fit=584%2C262&amp;ssl=1" src="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?resize=584%2C262&#038;ssl=1" alt="" class="wp-image-2541" srcset="https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?resize=1024%2C460&amp;ssl=1 1024w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?resize=300%2C135&amp;ssl=1 300w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?resize=768%2C345&amp;ssl=1 768w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?resize=500%2C225&amp;ssl=1 500w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?w=1250&amp;ssl=1 1250w, https://i0.wp.com/blog.kenaro.com/wp-content/uploads/2022/02/grafik-4.png?w=1168&amp;ssl=1 1168w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></a></figure>
  712.  
  713.  
  714.  
  715. <p>Thats it.</p>
  716.  
  717.  
  718.  
  719. <p></p>
  720.  
  721.  
  722.  
  723. <p>The magic happens in &#8220;Startup.cs&#8221;</p>
  724.  
  725.  
  726.  
  727. <pre class="wp-block-code"><code>.AddOAuth("casdoor", "Casdoor", options =>
  728.        {
  729.            options.AuthorizationEndpoint = "http://localhost:8000/login/oauth/authorize";
  730.            options.TokenEndpoint = "http://localhost:8000/api/login/oauth/access_token";
  731.            options.UserInformationEndpoint = "http://localhost:8000/api/userinfo";
  732.            options.ClientId = "dc6556419364997a4032";
  733.            options.ClientSecret = "2a4dbd07bbb655777a928ef99039a11d1e81d9d4";
  734.            options.CallbackPath = "/signin-casdoor";
  735.            options.ClaimsIssuer = "iss";
  736.            options.SaveTokens = true;
  737.            options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "name");
  738.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Gender, "data", "gender");
  739.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Name, "data", "displayName");
  740.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Email, "data", "email");
  741.            options.ClaimActions.MapJsonSubKey(ClaimTypes.HomePhone, "data", "phone");
  742.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Locality, "data", "location");
  743.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Webpage, "data", "homepage");
  744.            options.ClaimActions.MapJsonSubKey(ClaimTypes.Role, "data", "type");
  745.  
  746.            options.Events.OnCreatingTicket = async creatingTicketContext =>
  747.            {
  748.                var token = creatingTicketContext.Properties?.GetString(".Token.access_token");
  749.  
  750.                using var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:8000/api/get-account");
  751.                request.Headers.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));
  752.                request.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", token);
  753.  
  754.                using var response = await creatingTicketContext.Backchannel.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, creatingTicketContext.HttpContext.RequestAborted);
  755.                if (!response.IsSuccessStatusCode)
  756.                {
  757.                    throw new HttpRequestException("An error occurred while retrieving the user profile from Authentik.");
  758.                }
  759.  
  760.                var userInfo = await response.Content.ReadAsStringAsync(creatingTicketContext.HttpContext.RequestAborted);
  761.                using var jsonDoc = JsonDocument.Parse(userInfo);
  762.              
  763.                creatingTicketContext.RunClaimActions(jsonDoc.RootElement);
  764.            };
  765.        });</code></pre>
  766.  
  767.  
  768.  
  769. <p>I took a while to figure out how to configure the OAuth2 provider. </p>
  770. ]]></content:encoded>
  771. <wfw:commentRss>https://blog.kenaro.com/2022/02/18/asp-net-core-net-6-demo-authentication-project-using-local-casdoor-docker-container-on-windows-subsystem-for-linux/feed/</wfw:commentRss>
  772. <slash:comments>0</slash:comments>
  773. <post-id xmlns="com-wordpress:feed-additions:1">2533</post-id> </item>
  774. <item>
  775. <title>Manager Attribute not Updated in AD Import for Profiles on SharePoint Server On-Premises</title>
  776. <link>https://blog.kenaro.com/2022/01/26/manager-attribute-not-updated-in-ad-import-for-profiles-on-sharepoint-server-on-premises/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=manager-attribute-not-updated-in-ad-import-for-profiles-on-sharepoint-server-on-premises</link>
  777. <comments>https://blog.kenaro.com/2022/01/26/manager-attribute-not-updated-in-ad-import-for-profiles-on-sharepoint-server-on-premises/#respond</comments>
  778. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  779. <pubDate>Wed, 26 Jan 2022 12:45:00 +0000</pubDate>
  780. <category><![CDATA[Uncategorized]]></category>
  781. <guid isPermaLink="false">https://blog.kenaro.com/?p=2527</guid>
  782.  
  783. <description><![CDATA[Today I could solve a wired problem. It belongs to User Profile &#8220;AD Import&#8221; on SharePoint Server 2019. The profile overview of a person stated two different information: At the top there was the correct department but in the organizational &#8230; <a href="https://blog.kenaro.com/2022/01/26/manager-attribute-not-updated-in-ad-import-for-profiles-on-sharepoint-server-on-premises/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
  784. <content:encoded><![CDATA[
  785. <p>Today I could solve a wired problem. It belongs to User Profile &#8220;AD Import&#8221; on SharePoint Server 2019.</p>
  786.  
  787.  
  788.  
  789. <p>The profile overview of a person stated two different information: At the top there was the correct department but in the organizational chart the person had the wrong manager and so a wrong department information.</p>
  790.  
  791.  
  792.  
  793. <p>The organizational chart is generated from the &#8220;Manager&#8221; attribute of the SharePoint user profile.</p>
  794.  
  795.  
  796.  
  797. <p>In the profile I saw a correct &#8220;department&#8221; attribute value but a wrong &#8220;manager&#8221; attribute value.</p>
  798.  
  799.  
  800.  
  801. <p>I started a &#8220;Full AD Import&#8221;.</p>
  802.  
  803.  
  804.  
  805. <p>In the SharePoint log I saw an exception with the message, that a XML file in the SharePoint timer cache on one server could not be changed.</p>
  806.  
  807.  
  808.  
  809. <p>So first I refreshed all timer cache folders on all servers: Stop Windows service &#8220;sptimerv4&#8221; on every server. Find the subfolder with file &#8220;cache.ini&#8221; below c:\programdata\microsoft\sharepoint\config. The folder has a GUID as name. Than delete all file but cache.ini. Than set the content of cache.ini to &#8220;1&#8221; (without &#8220;&#8221;) and restart the service  &#8220;sptimerv4&#8221;. The cache folder gets filled again. The content of &#8220;cache.ini&#8221; will be set to a valid value&#8230;</p>
  810.  
  811.  
  812.  
  813. <p>Next I restarted AD Import using PowerShell: </p>
  814.  
  815.  
  816.  
  817. <pre class="wp-block-preformatted">$s = get-spserviceapplication &lt;guid><br>$s.StartImport($true)</pre>
  818.  
  819.  
  820.  
  821. <p>Now I saw the sync working in the SharePoint log but the manager attribte was not updated still.</p>
  822.  
  823.  
  824.  
  825. <p>My next idea was that maybe the property mapping had a problem. I looked at the mapping config but it looked OK in the editor. </p>
  826.  
  827.  
  828.  
  829. <p>Out of curiosity I have removed the assignment for &#8220;manager&#8221;. Than I ran the import and checked the user profile afterwards.</p>
  830.  
  831.  
  832.  
  833. <p>As a big suprise for me the manager attribte now got updated. WITHOUT MAPPING. </p>
  834.  
  835.  
  836.  
  837. <p>It seems that the manager attribute is mapped internally.</p>
  838. ]]></content:encoded>
  839. <wfw:commentRss>https://blog.kenaro.com/2022/01/26/manager-attribute-not-updated-in-ad-import-for-profiles-on-sharepoint-server-on-premises/feed/</wfw:commentRss>
  840. <slash:comments>0</slash:comments>
  841. <post-id xmlns="com-wordpress:feed-additions:1">2527</post-id> </item>
  842. <item>
  843. <title>Upgrade all DOTNET TOOLs at once with PowerShell</title>
  844. <link>https://blog.kenaro.com/2021/12/15/upgrade-all-dotnet-tools-at-once-with-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgrade-all-dotnet-tools-at-once-with-powershell</link>
  845. <comments>https://blog.kenaro.com/2021/12/15/upgrade-all-dotnet-tools-at-once-with-powershell/#respond</comments>
  846. <dc:creator><![CDATA[ikarstein]]></dc:creator>
  847. <pubDate>Wed, 15 Dec 2021 16:09:39 +0000</pubDate>
  848. <category><![CDATA[Uncategorized]]></category>
  849. <guid isPermaLink="false">https://blog.kenaro.com/?p=2523</guid>
  850.  
  851. <description><![CDATA[]]></description>
  852. <content:encoded><![CDATA[
  853. <pre class="wp-block-code"><code>(. dotnet tool list -g) | select -skip 2 | select-string -pattern "^(&#91;^\s]+)" | % { $_.matches.groups&#91;1].value} | % { . dotnet tool update $_ -g}</code></pre>
  854.  
  855.  
  856.  
  857. <p></p>
  858. ]]></content:encoded>
  859. <wfw:commentRss>https://blog.kenaro.com/2021/12/15/upgrade-all-dotnet-tools-at-once-with-powershell/feed/</wfw:commentRss>
  860. <slash:comments>0</slash:comments>
  861. <post-id xmlns="com-wordpress:feed-additions:1">2523</post-id> </item>
  862. </channel>
  863. </rss>
  864.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//blog.karstein-consulting.com/feed/

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda