Recover forgotten password - Error

rated by 0 users
This post has 3 Replies | 1 Follower

Not Ranked
Posts 2
Points 40
MichaelvdH Posted: Thu, May 18 2006 1:31 PM
I get this error on my forum when a user attempts to recover his/her password:



 

Server Error in '/' Application.

The 'br' start tag on line '440' does not match the end tag of 'body'. Line 441, position 3.

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.Xml.XmlException: The 'br' start tag on line '440' does not match the end tag of 'body'. Line 441, position 3.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[XmlException: The 'br' start tag on line '440' does not match the end tag of 'body'. Line 441, position 3.]
   System.Xml.XmlTextReader.ParseTag() +2328
   System.Xml.XmlTextReader.ParseBeginTagExpandCharEntities() +1478
   System.Xml.XmlTextReader.Read() +216
   System.Xml.XmlValidatingReader.ReadNoCollectTextToken() +38
   System.Xml.XmlValidatingReader.Read() +14
   System.Xml.XmlLoader.LoadCurrentNode() +611
   System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +49
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +102
   System.Xml.XmlDocument.Load(XmlReader reader) +72
   System.Xml.XmlDocument.Load(Stream inStream) +95
   CommunityServer.Components.XmlEmailTemplateProvider.LoadEmailTemplates(String language) +437
   CommunityServer.Components.XmlEmailTemplateProvider.GetTemplate(String emailType, User userEmailTo) +146
   CommunityServer.Components.Emails.GenericEmail(String emailType, User user, String[] cc, String[] bcc, Boolean sendToUser, Boolean html) +24
   CommunityServer.Components.Emails.UserPasswordForgottenUID(User user) +647
   CommunityServer.Components.User.SendChangePasswordUID() +25
   CommunityServer.Controls.ForgottenPassword.SendPassword_Click(Object sender, EventArgs e) +96
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300




I re-installed the CS with a different database - so all files have been renewed.
The 'Recover forgotten password' worked just fine in the new installation.

However, the problem reoccurs when I change the database connection string back to my active (and populated) database.

I don't know what to try next... I need the old (error-causing) database for its content.
Please advise...
 
Top 25 Contributor
Posts 1,878
Points 37,895
CS Developers
Jose Lema replied on Thu, May 18 2006 1:38 PM

Looks like you've tweaked an email template, located in Web\Languages\[en-US]\emails\emails.xml, and have some bad markup.

You should be able to double-click that file and it'll open in IE with an error message. Once that's cleaned up, it should work.

Thanks.

One is glad to be of service...

Jose Lema

  • | Post Points: 20
Top 25 Contributor
Posts 1,592
Points 25,105
MVPs
Have you changed Languages\en-US\emails\emails.xml ?

Dave Stokes On Graffiti
Dave Stokes

  • | Post Points: 5
Not Ranked
Posts 2
Points 40
Sure did - suppressed it quite effectively too...
Thanks!
  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com