Question : Event code: 3005 - An unhandled exception has occurred with custom ASP.Net app

Hi all!

I am not sure what's goin on.  I am getting some strange behavior in my asp.net application.  I have created a web app in vb.net where admins can reset user passwords via system.directoryservices. I am using - Invoke set password method with impersonation. It seems to work fine.  But every so often I get them calling me where the application stops resposnding to the reset or submit.  No errors are being generated, just does not do anything it  hangs.  So what I do is restart IIS and then it begins to work again.  I have done this a dozen times.  I need to know what it could be, recycler service? authentication?
I do see in the event log the following:
Event ID: 1309 and 1315
Event code: 3005 - An unhandled exception has occurred
Exception information:
    Exception type: DirectoryServicesCOMException
    Exception message: The server is unwilling to process the request. (Exception from HRESULT: 0x80072035)

ystem.DirectoryServices.DirectoryEntry.CommitChanges()
   at System.Web.Security.ActiveDirectoryMembershipProvider.ResetBadPasswordAnswerAttributes(DirectoryEntry userEntry)
   at System.Web.Security.ActiveDirectoryMembershipProvider.ValidateUserCore(String username, String password)
   at System.Web.Security.ActiveDirectoryMembershipProvider.ValidateUser(String username, String password)
   at System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e)
   at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e)
   at System.Web.UI.WebControls.Login.AttemptLogin()
   at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
-------------------------------------------------------------------
Event code: 4005 - Forms authentication failed for the request. Reason: The ticket supplied has expired.

has anyone seen this before?  Any ideas would be appreciated.

Thanks,
Kouts1

Answer : Event code: 3005 - An unhandled exception has occurred with custom ASP.Net app

This indicates that enabling inbound and outbound replication will fix it: http://directoryprogramming.net/forums/thread/3082.aspx

They say here: http://directoryprogramming.net/forums/thread/3082.aspx "There is a bug in ActiveDs.dll and you need to get hotfix from microsoft to Windows XP to solve this"

MS links here: http://support.microsoft.com/kb/325291

You may also be interested in this: (different issue but somewhat similar) http://support.microsoft.com/kb/896354
Random Solutions  
 
programming4us programming4us