DNN: 5.6.3
Cart: 4.52
Goal: Translating default email templetes to French. After translating text and saving the files following error is logged on Event Viewer:
Invalid character in the given encoding. Line 127
AssemblyVersion: 5.6.3
PortalID: 0
PortalName: *
UserID: 3
UserName: *
ActiveTabID: 76
ActiveTabName: *
RawURL: /*/tabid/76/ctl/EmailTemplate/mid/439/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.*.com/*/tabid/76/ctl/EmailTemplate/mid/439/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 37f0f81b-7d6b-4ae5-bca6-a7f0fe81c219
InnerException: Invalid character in the given encoding. Line 127, position 30.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReaderImpl.Throw
StackTrace:
Message: System.Xml.XmlException: Invalid character in the given encoding. Line 127, position 30. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount) at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount) at System.Xml.XmlTextReaderImpl.ReadData() at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space) at DotNetNuke.Services.Localization.Localization.GetResourceFileCallBack(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromDictionary(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
Source:
[L]Nom du serveur: WIN-*
To reproduce: Install DotNetNuke 5.6.3 enable fr-CA or en-CA
Install Cart 4.52 or latest release.
Go to Email templates and try to translate email templates text to French. (You can use Google Translate).
Save file (No error is displayed)
Submit a test order. Order is not completed in fr-CA (because of another bug i reported earlier) but if you prefer en-Ca order will completed.
Then observe your inbox for email from site.
You will notice that Email is sent using English instead of your modified template. The reason behind it is hid at the logged issue.
Please investigate and let us know.
We paid for the product for our client and want to see our reports handled.
Thank you.