DNN Site Sends Blank Email

This nuke version was an older one, however this kind of error may pop up in different versions.  Had to go back and forth with Nuke Support on this one.

First symptom was that I was getting an error in Nuke when trying to reset password with the following:

"
Admin\Languages\LanguageEditor.ascx.vb(562): error BC30389: 'di' is not accessible in this context because it is 'Friend'.
"


So with on line 562 added "dim di as object" right before "For Each di In resourcesGrid.Items".  And that got rid of the error above.  But the emails were still blank. 

Then he looked at the Admin->Languages _>Site page, at the Site section to try and find the entry for the email language.  However, I got the following error.




Getting an error when trying to view that GlobalResources file. "No records to display." Attached image of that.
Also when I ran the "Verify Language Resource Files" There were some messages that popped up which I copied and pasted below.
"
English (United States) English (United States)
Malformed Resource Files: 2
App_GlobalResources\GlobalResources.resx
App_GlobalResources\GlobalResources.resx
"


So, the GlobalResources.resx file was corrupted.  He sent me a default GlobalResources file, when I overwrote the incorrect one then the emails worked.

Comments

Popular posts from this blog

Asp.net Publishing Broke Site - "App_WebReferences is not allowed because the application is precompiled"

Telerik - Custom Group Footers In RadGrid