Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

500 Error after upgrading to 6.0.8



  • We just ran the 6.0.8 upgrade against our qa server and get this error. It was previously on 6.0.7. We are running IIS on a Windows 2019 Server. Restarting IIS after the deployment resolves the issue. We've reset and rerun the upgrade several times with the same behavior.

    Any thoughts?

    An error occurred in the web application: Illegal operation attempted on a registry key that has been marked for deletion.
    
    
    URL: https://xxxxxxxxxxxxxxx/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.Layout.NotificationBar/GetNotifications
    Referrer: https://xxxxxxxxxxxxxx/administration/logs
    User: xxxxxxxxxxxx
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55
    Stack trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
    at System.DirectoryServices.DirectoryEntry.Bind()
    at System.DirectoryServices.DirectoryEntry.get_AdsObject()
    at System.DirectoryServices.PropertyValueCollection.PopulateList()
    at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
    at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
    at System.DirectoryServices.DirectorySearcher.get_SearchRoot()
    at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
    at System.DirectoryServices.DirectorySearcher.FindOne()
    at Inedo.ProGet.Extensions.UserDirectories.LdapDirectory.TryGetUser(String userName)
    at Inedo.ProGet.WebApplication.ProGetHttpModule.<>c.<GetIntegratedAuthenticationUserName>b__7_0(String u)
    at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
    at Inedo.Web.InedoHttpModule.AuthenticateRequestAsync(HttpApplication app)
    at Inedo.Web.InedoHttpModule.ProcessBegin(Object sender, EventArgs e, AsyncCallback cb, Object extraData)
    at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

  • inedo-engineer

    Hi @albert-pender_6390 ,

    This is an internal Windows Error, and happens when another process (usually a UI window) has an open session to hive within the Windows Registry. It's a long-standing bug/issue with COM+ services (which Active Directory uses), and is not really ProGet specific.

    It's a side-effect of the ProGet upgrade process, which often stops/starts Windows Services and IIS Application pools. Ultimately restarting will fix it (as you've notcied), but changing the "Load User Profile" to "true" on the application pool is also known to fix it as well.

    Best,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation