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