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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...desperate... my portal is down...desperate... my portal is down...
Previous
 
Next
New Post
3/23/2007 7:51 PM
 

Hi

Again, just like that, I didn;t do ANYTHING, and now all the portal is suddenly down.

When a user tries to login he ge

Server Error in '/' Application.

Server cannot modify cookies after HTTP headers have been sent.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Server cannot modify cookies after HTTP headers have been sent.

Source Error:

Line 292:            Else
Line 293:                'Complete Login
Line 294:                UserController.UserLogin(PortalId, objUser, PortalSettings.PortalName, ipAddress, chkCookie.Checked)
Line 295:
Line 296:                ' redirect browser

Source File: d:\hshome\namaste\namaste.co.il\Admin\Security\Signin.ascx.vb    Line: 294

Stack Trace:

[HttpException (0x80004005): Server cannot modify cookies after HTTP headers have been sent.]
   System.Web.HttpCookieCollection.Add(HttpCookie cookie) +103
   System.Web.Security.FormsAuthentication.SetAuthCookie(String userName, Boolean createPersistentCookie, String strCookiePath) +256
   System.Web.Security.FormsAuthentication.SetAuthCookie(String userName, Boolean createPersistentCookie) +53
   DotNetNuke.Entities.Users.UserController.UserLogin(Int32 portalId, UserInfo user, String PortalName, String IP, Boolean CreatePersistentCookie) +84
   DotNetNuke.Modules.Admin.Security.Signin.UserAuthorized(UserInfo objUser, Boolean canProceed) in d:\hshome\namaste\namaste.co.il\Admin\Security\Signin.ascx.vb:294
   DotNetNuke.Modules.Admin.Security.Signin.cmdLogin_Click(Object sender, EventArgs e) in d:\hshome\namaste\namaste.co.il\Admin\Security\Signin.ascx.vb:509
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

[PageLoadException: Server cannot modify cookies after HTTP headers have been sent.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +352
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +377
   System.Web.UI.TemplateControl.OnError(EventArgs e) +105
   System.Web.UI.Page.HandleError(Exception e) +73
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6944
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +29
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

PLEASE - Help... I have 2000 users that can't log in to the site.

 
New Post
3/24/2007 1:10 AM
 
If you have access to bin and havnt made any core mods you could download the install files of the same version and overwrite your dll's.
 
New Post
3/24/2007 8:42 PM
 

Hi

I did so... Nothing happens... But what is the connection between the dlls and my problem?

I am so frustrated...

This error has shut down my portal completely.

 
New Post
3/24/2007 9:55 PM
 

Hi shaieden, my guess is that you must have made some changes to make the error appear, so undo your last changes (from the newest to the oldest, one by one) all the way untill the error disappears.

Another option is to start with a fresh installation. When I was a DNN beginner I have done so several times because it saved me time, headaches, and frustration.

HTH!

 
New Post
3/24/2007 10:00 PM
 

No...

I can't do a fresh install, this install has over 2000 users with 20,000 messages in forum...

There is no way to start again... It's an old install, more than 1 year already.

Just resently we have upgraded to dnn441, and all the mess started up...

I really must fix this on this install.

We didn't do any changes that made this error pop up suddenly.

What can it be? Does any1 knows? any idea about the source of this error?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...desperate... my portal is down...desperate... my portal is down...


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