Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCookie error in log?Cookie error in log?
Previous
 
Next
New Post
6/8/2006 11:11 AM
 
Hello everyone,

I was wondering if anyone else gets this Repository error in their log files? I'm using DNN 3.2.2 with Repository 3.01.09.

Can anyone tell me whether this is fixable or not? Also, how severe is it?

Thanks in advance,
Rose

AssemblyVersion: 03.02.02
Method: System.Web.HttpCookieCollection.Remove
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 1
PortalName: ********
UserID: 4
UserName: jcallaghan
ActiveTabID: 91
ActiveTabName: Letters & Memos
AbsoluteURL: /DesktopModules/Repository/Downloader.aspx
AbsoluteURLReferrer: **********Bulletins/LettersMemos/tabid/91/Default.aspx
ExceptionGUID: cc9bf4fb-d5e5-4c39-94ae-f97fd88299a8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Server cannot modify cookies after HTTP headers have been sent. at System.Web.HttpCookieCollection.Remove(String name) at Microsoft.ScalableHosting.Security.Roles.DeleteCookie() at Microsoft.ScalableHosting.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
StackTrace:
Source:

 
New Post
6/8/2006 7:54 PM
 

Yes, I get this error for every download of a file as well. I've looking into this. It seems to have to do with calling:

HttpContext.Current.Response.Clear()
HttpContext.Current.Response.ClearHeaders()
HttpContext.Current.Response.ClearContent()

which occurs in Download.aspx.vb DownloadFile() method.  However, looking at the source code, that seems to have been replaced by a call to StreamFile(). So, the released DLL in 3.01.09 is behaving like the older code was compiled, then the newer version was included in source code package.

I recompiled the source so it would now use the StreamFile() method and now I get other types of errors. I think due to use of  System.IO.Stream in a medium trust environment.

So, its my belief that the released DLL of Repository 3.01.09 is called DownloadFile() which triggers the cookie error and that the new version of the source code has different flaws.

I'm going back to the 3.01.09 DLL for now and just living with the errors in the error log.

 
New Post
6/9/2006 12:07 AM
 
The biggest problem with that error is that it's hit and miss. I've got two production installs of DNN using seperate databases. On install hosts around 4 small sites while the other one only hosts one big one and only saw the error on one of the installs. That said, it's fixed in the next release of the Repository.
 
New Post
6/9/2006 10:04 AM
 
Thanks for the replies!

I'm looking forward to the next release...

cheers,
Rose
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCookie error in log?Cookie error in log?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out