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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogExport and Import using blog v 3.5.1 not workingExport and Import using blog v 3.5.1 not working
Previous
 
Next
New Post
1/22/2009 7:22 AM
 

I want to export my blog from one dnn site to another. I have blog 3.5.1 running on both sites. On the source site i use module export and create an xml file with all my blog data. When i import this into the destination site, it appears to work as no message is thrown, however no data is imported. Is this functionality designed to work?

 
New Post
1/22/2009 8:08 AM
 

Hi Paul,

is there any Blog-related exception logged into the Event Viewer?

Best regards,
Dario Rossa

 
New Post
1/23/2009 12:07 PM
 

Hi Dario

 

Yes , here it is :-

AssemblyVersion: 04.09.00
PortalID: 3
PortalName: Homefarm Livery, Padworth, Bekrshire
UserID: 1
UserName: host
ActiveTabID: 130
ActiveTabName: Blog
RawURL: /Blog/tabid/130/ctl/ImportModule/moduleid/473/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite/Blog/tabid/130/ctl/ImportModule/moduleid/473/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.43 Safari/525.19
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a0d223a2-aa3e-4faf-b0a2-18838f33f52b
InnerException: String was not recognized as a valid DateTime.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DateTimeParse.Parse
StackTrace:
Message: System.formatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeformatInfo dtfi, DateTimeStyles styles) at System.DateTime.Parse(String s) at DotNetNuke.Modules.Blog.Business.InterfaceController.ImportModule(Int32 ModuleID, String Content, String Version, Int32 UserID)
Source:
Server Name: IHOSTLLC19

 
New Post
1/24/2009 9:21 AM
 

 Dario

I found the problem. The clue was in the date parse error. Although both my sites are in UK English, and the source exported using uk english format dates, it looks like the import is ignoring the locale and always using us date format. I manually edited the xml file to change all the dates to us english format, and the import now works. Unfortuantley i have deleted US locale from my source portal, otherwise i would have temporarily change dit to us locale and hopefully it would have exported in us date format. So it looks like export takes note of the portal locale, whilst import does not. 

 
New Post
1/24/2009 11:34 AM
 

Hi Paul,

thank you for posting the fix. I didn't realize it since I thought that entries were exported using the culture-dependant format and not the database format.

Best regards,
Dario Rossa

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogExport and Import using blog v 3.5.1 not workingExport and Import using blog v 3.5.1 not working


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