Glimpse/Glimpse — Issue #168: Ajax not working in ASP.Net MVC 4
Author: ShaneCourtrille
Created: 2012-03-07 17:35:22+00:00
State: open

We have a web app written in ASP.Net MVC 4 and we are making an ajax call against our Web Api. I have verified the call is occurring but we still don't see anything in the ajax tab. I enabled logging and there were a ton of messages about things being invalided and the following error:

2012-03-07 10:31:39.2862|ERROR|Glimpse.Core.Module|Exception during EndRequest|System.Web.HttpException--Server cannot modify cookies after HTTP headers have been sent.-- at System.Web.HttpResponse.BeforeCookieCollectionChange()
at System.Web.HttpCookieCollection.Remove(String name)
at Glimpse.Core.Module.CheckForPRG(HttpContextBase context)
at Glimpse.Core.Module.EndRequest(HttpContextBase context)
at Glimpse.Core.Module.OnEndRequest(Object sender, EventArgs e)