In latest release of Ajax .NET (1.0), after any post back event (e.g. LinkButton On Click, DropDownList change with AutoPostBack enabled, etc.) an error throw and caught in the Application_Error() method of Global.asax.
This did not occur in ANY of the previous CTP or RC releases of Atlas/Ajax .NET libraries. Does anyone what is going on and why the new release would throw this error ?
Error message below:
Inner Exception
---------------
Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Server cannot modify cookies after HTTP headers have been sent.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void BeforeCookieCollectionChange()
Stack Trace : at System.Web.HttpResponse.BeforeCookieCollectionChange()
at System.Web.HttpCookieCollection.Add(HttpCookie cookie)
at System.Web.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)