Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Trying to switch to Active Directory fails

    Scheduled Pinned Locked Moved Support
    ldapproget
    5 Posts 3 Posters 25 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,
      When switching to Active Directory we get the following error after haveing entered information for the user to lookup AD.
      We have followed the guide but...

      Server Error in '/' Application.
      Type 'System.Web.HttpContext' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

      Exception Details: System.Runtime.Serialization.SerializationException: Type 'System.Web.HttpContext' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.

      Source Error:

      An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

      Stack Trace:

      [SerializationException: Type 'System.Web.HttpContext' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.]
      System.Web.Hosting.ApplicationManager.HostingEnvironmentShutdownInitiated(String appId, HostingEnvironment env) +0
      System.Web.Hosting.HostingEnvironment.RemoveThisAppDomainFromAppManagerTableOnce() +162
      System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() +270
      System.Web.Hosting.HostingEnvironment.InitiateShutdown() +64
      Inedo.ProGet.WebApplication.Pages.Administration.Security.UserDirectories.<>c__DisplayClass8_0.<CreateChildControls>b__2() +625
      Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimplePostControl.ProcessValidPost() +41
      Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName) +241
      Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName) +316
      Inedo.Web.PageFree.SimplePageBase.ProcessPostBack() +291
      Inedo.Web.PageFree.<ProcessRequestAsync>d__48.MoveNext() +397
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
      System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
      Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
      System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +607
      System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134

      Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0

      Product: ProGet
      Version: 4.8.7

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        I've never seen this error before, and it doesn't make a lot of sense :(

        It seems as if the web pool (hosted in IIS) is shutting down during the middle of the request. I wonder if, retrying it will help? Restarting ProGet, etc?

        1 Reply Last reply Reply Quote 0
        • D Offline
          davidroberts63
          last edited by

          Gordon,

          Have you made any changes to the web.config in the Proget website? Also, can you go through some of the IIS settings as well? Version of IIS, authentication modes that are enabled. Also, take a look at the providers for 'Windows Authentication' and what does that list look like?

          I did a little digging and found a somewhat similar situation on a completely different product (SiteFinity). In that forum discussion there is talk about changes in the web.config causing the issue. Thus why I'm asking about what your proget installation web.config looks like.

          https://www.sitefinity.com/developer-network/forums/bugs-issues-/error-throw-then-pool-web-app-restart

          Please note, I do not work for ProGet, I'm a fellow customer offering assistance.

          github/davidroberts63 ; idoforums@teapotcoder.com

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Hi David,

            Did a reinstallation of the IIS and that fixed the problem.
            I did not change anything in the the web.config.
            Thanx for taking the time to help.

            • Gordon
            1 Reply Last reply Reply Quote 0
            • M Offline
              marc.woolfson_6961
              last edited by

              I'm also getting the same error from ProGet 5.0.10 but reinstalling IIS is not an option. Restarting the service does not make a difference. No web.config customisations have taken place.

              Server: Windows Server 2016 (14393.1794)

              IIS: 10.0.14393.0

              Authentication: Windows Authentication

              Windows Authentication Providers: Negotiate, NTLM


              [SerializationException: Type 'System.Web.HttpContext' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.]
                 System.Web.Hosting.ApplicationManager.HostingEnvironmentShutdownInitiated(String appId, HostingEnvironment env) +0
                 System.Web.Hosting.HostingEnvironment.RemoveThisAppDomainFromAppManagerTableOnce() +156
                 System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() +266
                 System.Web.Hosting.HostingEnvironment.InitiateShutdown() +64
                 Inedo.ProGet.WebApplication.Pages.Administration.Security.UserDirectories.<>c__DisplayClass8_0.<CreateChildControls>b__2() +597
                 Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimpleAsyncPostControl.ProcessValidPostAsync() +66
                 Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +400
                 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
                 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
                 Inedo.Web.PageFree.<ProcessPostAsync>d__61.MoveNext() +839
                 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
                 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
                 Inedo.Web.PageFree.<ProcessRequestAsync>d__46.MoveNext() +574
                 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
                 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
                 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
                 Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
                 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +393
                 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
                 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128
              
              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation