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...Upgrading DNN P...Upgrading DNN P...6.0.0 - Login is successful, but login popup remains opened6.0.0 - Login is successful, but login popup remains opened
Previous
 
Next
New Post
8/6/2011 9:01 AM
 
Hi all,
after upgrading my localhost site to 6.0.0, there is this strange behaviour in the login page, which affects only the production site, and I was not able reproduce it on localhost.

On localhost (IIS 7.5) login is fine, but on production site (IIS 6.0) after clicking the login button, the "wait" animated gif appears for a few seconds, then disappear, and the popup is still opened, with this javascript/ajax error:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '<!DOCTYPE html PUBLI'.


The string being parsed is the full html source of the home page.

Server log shows this:

2011-08-06 14:21:02,502 [webs76][Thread:20][ERROR] DotNetNuke.HttpModules.Exceptions.ExceptionModule - Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.HttpModules.Exceptions.ExceptionModule. Request(Object s, EventArgs e)


Login is successful, I just have to manually close the popup.
If I set the wrong password, or wrong username, the correct messages appears. Only if the login is successful, there is the above javascript error (which is almost always invisible to the user), and the pop up stays opened.

Localhost and production have same files and database.
web.config only differs on connection string, and impersonation tag.

Localhost :
IIS 7.5 - administrative account
CAS Permissions: ReflectionPermission, WebPermission, AspNetHostingPermission

Production:
IIS 6.0 - impersonation (<identity impersonate="true" userName="xxx" password="yyy" />)
CAS Permissions: ReflectionPermission, WebPermission

If you want to see the problem, register on http://www.tinytrader.it and try to log in
Thank you
 
New Post
8/6/2011 10:56 AM
 

Using Fiddler I found that every POST made from login popup, receive an HTTP 302 Redirect
Why the server is redirecting to Home.aspx?


POST /login.aspx?ReturnUrl=%2fhome.aspx&popUp=true HTTP/1.1

HTTP/1.1 302 Found
Date: Sat, 06 Aug 2011 14:51:54 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: http://www.tinytrader.it/home.aspx
Set-Cookie
: language=en-US; path=/; HttpOnly
Set-Cookie: authentication=DNN; path=/; HttpOnly
Set-Cookie: .DOTNETNUKE=A9060CA88AFBB923B318A3AC0FBBD757ACE0C4DC816CCD0A2F4F3A015F0E584980C8286B6C369ED28125EE247B2FEAA675D9D09F44653D22876942DEBC47AFD3F64BC45111E1A84136F0629F5998750CCE6C31D4070B45AB9490ED57462B950B74E315CAF9C975FAB39FB481; path=/; HttpOnly

Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 151

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.tinytrader.it/home.aspx">here</a>.</h2>
</body></html>

 
New Post
8/6/2011 12:46 PM
 
So it appears to be an IIS 6 related problem.
The image shows logging from Fiddler, first on localhost, then on production site, right after clicking the "Login" button.



In Production, the response is an HTTP 302 Redirect to Home.aspx, which messes up all the Ajax work
On localhost, there is no Http Redirect, and everything works fine.

Is there anyone with the same problem?
Thanks
 
New Post
8/8/2011 4:00 AM
 
which is the setting for Page after login in Admin :: User Accounts, > User Settings?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/8/2011 8:53 AM
 

In this moment "Redirect after login" is not specified.
I have also tried setting "Home", with same results.

I also tried some "online" modifications to Login.ascx.cs, just to make some quick test, then revert to original (I only have the problem in the production site, I cannot reproduce it on localhost)
My impression is that the page does not recognize the POST as an Ajax POST Request, and behave like a normal POST, redirecting to Home after successful login.

Any suggestion?
Thank you
Antonello Aringhieri
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...6.0.0 - Login is successful, but login popup remains opened6.0.0 - Login is successful, but login popup remains opened


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