Hi Peter,
We have noted in some cases when users try to download files
we get the following error in the event log:
Server cannot set content type after HTTP headers have been sent.
Please advice.
Full details:
Event message: An unhandled exception has occurred.
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-129519547859936677
Trust level: Full
Application Virtual Path: /
Application Path: C:\Sites\ABC\wwwroot\
Process information:
Process ID: 8900
Process name: w3wp.exe
Account name: IIS APPPOOL\ABC
Exception information:
Exception type: HttpException
Exception message: Server cannot set content type after HTTP headers have been sent.
Request information:
Request URL:
http://ABC.com/DesktopMod...PortalId=0&TabId=805 Request path: /DesktopModules/Bring2mind/DMX/Download.aspx
User host address: XXX
User: XXX
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\ABC
Thread information:
Thread ID: 11
Thread account name: IIS APPPOOL\ABC
Is impersonating: False
Stack trace: at System.Web.HttpResponse.set_ContentType(String value)
at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync)
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.errorpage_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)