<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SCA page throws an exception for anonymous users]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">i'm getting a 500 error page when calling the SCA page as anonymous user.</p>
<p dir="auto">Configuration:</p>
<ul>
<li>Web.HideHomePageFromAnonymousUser = true</li>
<li>Some feeds are intentionally accessible to anonymous users</li>
</ul>
<p dir="auto">The home page behaves as expected and redirects anonymous users to the login page.</p>
<p dir="auto">However, some URLs are still directly accessible anonymously (as expected), for example:</p>
<ul>
<li><a href="http://proget-test.some-corp-com/feeds" rel="nofollow">http://proget-test.some-corp-com/feeds</a></li>
</ul>
<p dir="auto">Accessing the SCA page from there anonymously causes an application error:</p>
<ul>
<li><a href="http://proget-test.some-corp-com/sca" rel="nofollow">http://proget-test.some-corp-com/sca</a></li>
</ul>
<pre><code>An error occurred in the web application: Object reference not set to an instance of an object.

URL: http://proget-test.some-corp-com/sca
Referrer: (not set)
User: (unknown)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0
IP Address: XX.XXX.XX.XX
Stack trace:    at Inedo.ProGet.WebApplication.Pages.Sca.ScaOverviewPage.Inedo.ProGet.WebApplication.IPrivilegesValidator.ValidatePrivileges() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\Pages\Sca\ScaOverviewPage.cs:line 185
   at Inedo.ProGet.WebApplication.ProGetHttpModule.ValidatePrivileges(AhHttpApplication app, IHttpAsyncHandler handler) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 434
   at Inedo.ProGet.WebApplication.ProGetHttpModule.PostMapRequestHandlerAsync(AhHttpApplication app) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 406
   at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)

::Web Error on 06/01/2026 15:51:49::
</code></pre>
<p dir="auto">Version info:</p>
<pre><code>Connection String: 
Web UI Version: 2026.2 (Build 16)
Database Schema Version: 26.0.2.16
SQL Server Version: PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
db_owner: True
Database Name: proget
Database Collation: C (UTF8)
Database Recovery Model: Default (1)
Database Read Committed Snapshot: True
Database Auto Update Stats: True
</code></pre>
]]></description><link>https://forums.inedo.com/topic/5767/sca-page-throws-an-exception-for-anonymous-users</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 18:04:01 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5767.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Jun 2026 14:01:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SCA page throws an exception for anonymous users on Mon, 01 Jun 2026 14:37:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">i'm getting a 500 error page when calling the SCA page as anonymous user.</p>
<p dir="auto">Configuration:</p>
<ul>
<li>Web.HideHomePageFromAnonymousUser = true</li>
<li>Some feeds are intentionally accessible to anonymous users</li>
</ul>
<p dir="auto">The home page behaves as expected and redirects anonymous users to the login page.</p>
<p dir="auto">However, some URLs are still directly accessible anonymously (as expected), for example:</p>
<ul>
<li><a href="http://proget-test.some-corp-com/feeds" rel="nofollow">http://proget-test.some-corp-com/feeds</a></li>
</ul>
<p dir="auto">Accessing the SCA page from there anonymously causes an application error:</p>
<ul>
<li><a href="http://proget-test.some-corp-com/sca" rel="nofollow">http://proget-test.some-corp-com/sca</a></li>
</ul>
<pre><code>An error occurred in the web application: Object reference not set to an instance of an object.

URL: http://proget-test.some-corp-com/sca
Referrer: (not set)
User: (unknown)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0
IP Address: XX.XXX.XX.XX
Stack trace:    at Inedo.ProGet.WebApplication.Pages.Sca.ScaOverviewPage.Inedo.ProGet.WebApplication.IPrivilegesValidator.ValidatePrivileges() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\Pages\Sca\ScaOverviewPage.cs:line 185
   at Inedo.ProGet.WebApplication.ProGetHttpModule.ValidatePrivileges(AhHttpApplication app, IHttpAsyncHandler handler) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 434
   at Inedo.ProGet.WebApplication.ProGetHttpModule.PostMapRequestHandlerAsync(AhHttpApplication app) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 406
   at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)

::Web Error on 06/01/2026 15:51:49::
</code></pre>
<p dir="auto">Version info:</p>
<pre><code>Connection String: 
Web UI Version: 2026.2 (Build 16)
Database Schema Version: 26.0.2.16
SQL Server Version: PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
db_owner: True
Database Name: proget
Database Collation: C (UTF8)
Database Recovery Model: Default (1)
Database Read Committed Snapshot: True
Database Auto Update Stats: True
</code></pre>
]]></description><link>https://forums.inedo.com/post/19744</link><guid isPermaLink="true">https://forums.inedo.com/post/19744</guid><dc:creator><![CDATA[pg_user_8607]]></dc:creator><pubDate>Mon, 01 Jun 2026 14:37:02 GMT</pubDate></item></channel></rss>