Risorse per professionisti IT > Home page del forum > SharePoint - Collaboration > I finally got everything working, Except user manager gives this error.
Formula una domandaFormula una domanda
 

Con rispostaI finally got everything working, Except user manager gives this error.

Risposte

  • venerdì 25 luglio 2008 20.42HIrvine Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
     

    After some research, here is what specifically causes the problem.  The post from KnightOfNi  at this thread:  http://forums.msdn.microsoft.com/en-US/sharepointcollaboration/thread/e1f30852-8d60-4530-98b1-1151e3e30add/ is fundamentally correct, however, as in my client’s case, even after setting ADAM back  on to the domain password policy, the same error still happens.  The cause is that either no password expiration policy has been set or the policy is that the password does not expire.  In Active Directory, this means setting the Password Expiration to 0 days.  Definitely not a Microsoft best practice, but something mandated by my client’s senior management.  The web part will work once the password expiration has been set.  AD Password policy can only set at the domain level.  You can set it elsewhere but it’s not going to have any (or in the case of computers...machine settings, little) effect.  The ECTS looks for the first domain policy and checks its settings.  That’s why if no Domain password expiration policy has been set or set to 0 days it will fail with the error message shown in the previous postings.

    I hope this helps,
    HIrvine

Tutte le risposte

  • domenica 1 giugno 2008 19.57Andrew WoodwardMVP, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Please provide more details,  as it is unclear what the actual problem is?

     

  • lunedì 9 giugno 2008 13.07HIrvine Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    I have been recieving this error as well. It happens when I put the Manage External Users web part (from the External Collaberation Toolkit) on a page. It works fine until you add the first user. That's when this error occurs.  Here is the full error message (with debugging set to true):

     

    Server Error in '/' Application.

    Negating the minimum value of a twos complement number is invalid.

    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.OverflowException: Negating the minimum value of a twos complement number is invalid.

    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:

    [OverflowException: Negating the minimum value of a twos complement number is invalid.]
       System.Math.AbsHelper(Int64 value) +4674462
       EAT.Common.cUserManager.PasswordLifetime() +478
       EAT.Common.cUserManager.DaysUntilPasswordExpires(MembershipUser u) +112
       EAT.Common.cUserManager.PasswordExpired(MembershipUser U) +9
       EAT.UserManager.UserManager.Render(HtmlTextWriter writer) +1850
       Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) +80
    
    [WebPartException: Negating the minimum value of a twos complement number is invalid.]
       Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) +241
       Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) +100
       Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) +254
       Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) +771
       Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) +1466
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +81
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +60
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
       System.Web.UI.Page.Render(HtmlTextWriter writer) +38
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4592
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

     

  • martedì 17 giugno 2008 17.01TheSharePointDude Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Try looking at the proposed solution in the thread below:

     

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2970457&SiteID=1

     

     

    Basically Group Policy permission options fixed this instance.
  • martedì 17 giugno 2008 18.26HIrvine Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    I had found the post and did what KnightOfNi did in the end which was to turn the Password policy back on.  I had turned it off.  I still came up with the same exception.  I went ahead and uninstalled ADAM and then re-installed it with the ECTS script (twice).  The same error is still happening.  I've even undeploysolution (undeploysolution.cmd) the ECTS and uninstalled ADAM then reinstalled, but still have the same issue.  All the ADAM reinstallations left the instance out of the box with the exception of setting the Administrator role as outlined in the directions for ECTS.  So I'm still hunting down what in my configuration is not allowing the Manage External User web part from working.

     

    Thanks,

    HIrvine

     

  • domenica 20 luglio 2008 0.59a120degreeinAZ Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Thanks for your replies to this, all the discussion is very helpful to me. I Hope this wiil be helpful to others.

    When I received this error I had set up sharepoint services and ETCS on a server on the inside of my firewall and joined to the domain. The server had two network cards and two I.P's, one internal and one external. I then used a static from a global address directing ssl traffic to the external address. added the external name to my host file. It seemed that ETCS or windows did not like this scheme as DNS showed two host names on the same address. I then set up a linux box with IPCop as a firewall, put Sharepoint/ETCS with SQLServer and Adam in the DMZ. Opened a number of ports so I could join the domain and access active directory. Everything works like it should in this setup. Just to verify I had not made a mistake in my first 50 attemts I  tested my static redirection scheme again matching everything in ETCS and IIS from the working setup . Again I got an error with the UserManager. The ETCS instructions recommend placing setup on the DMZ and this is how it all worked for me. Now if I can apply this to my PIX rather than IPCop life will be good..Dennis

  • venerdì 25 luglio 2008 20.42HIrvine Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
     

    After some research, here is what specifically causes the problem.  The post from KnightOfNi  at this thread:  http://forums.msdn.microsoft.com/en-US/sharepointcollaboration/thread/e1f30852-8d60-4530-98b1-1151e3e30add/ is fundamentally correct, however, as in my client’s case, even after setting ADAM back  on to the domain password policy, the same error still happens.  The cause is that either no password expiration policy has been set or the policy is that the password does not expire.  In Active Directory, this means setting the Password Expiration to 0 days.  Definitely not a Microsoft best practice, but something mandated by my client’s senior management.  The web part will work once the password expiration has been set.  AD Password policy can only set at the domain level.  You can set it elsewhere but it’s not going to have any (or in the case of computers...machine settings, little) effect.  The ECTS looks for the first domain policy and checks its settings.  That’s why if no Domain password expiration policy has been set or set to 0 days it will fail with the error message shown in the previous postings.

    I hope this helps,
    HIrvine

  • mercoledì 8 aprile 2009 9.46J Siegmund [MCTS] Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Hi,

    sorry for kicking this one up. Is there a way to set a correct password policy if you aren't able to change the domains policy? I only have admin access to the ADAM server, not to the entire domain, so there's no way I can alter the domain policy. Can I force ADAM to use another policy somehow, or stop the server from inheriting the default domain policy?

    Thanks,

    Jasper
    MCTS in Web Application Development in .NET 2.0
  • mercoledì 15 aprile 2009 7.16J Siegmund [MCTS] Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    No one? It's the only little thing I still have to fix. Please help me out guys :)
    MCTS in Web Application Development in .NET 2.0
  • lunedì 15 giugno 2009 20.18J Siegmund [MCTS] Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    The solution for this problem (in code) is posted here: http://cks.codeplex.com/Thread/View.aspx?ThreadId=53465&ANCHOR#Post179970. Unfortunately I've been unable to get the webpart working with the code issue resolved. For some reason I can't get the public key token to match the one used by the installation. Has anyone got a clue on how to fix such an issue?


    MCTS in Web Application Development in .NET 2.0