Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Kaplan 86 posts 139 karma points
    May 15, 2012 @ 17:29
    Paul Kaplan
    0

    Compare and Install - String was not recognized as a valid DateTime

    I package a document and all of its dependencies with no errors on the source instance, do the transfer, and when I try to compare and install on the recipient instance, I get this exception.

    Umbraco 4.7.2 and Courier 2.6.17.

    Unfortunately Codeplex is not letting me create an account to officially report the bug.

    -- Paul

  • Frank Lucas 2 posts 22 karma points
    May 16, 2012 @ 16:36
    Frank Lucas
    0

    hi all, I have same problem since yesterday


    I have an umbraco 4.7.1 instalation with courier 2.6.17 it was working fine i could make revisions do compare and install.
    But since yesterday when i make a new revision and try to do a compare it returns following error

    String was not recognized as a valid DateTime.

    Error details


    System.FormatException: String was not recognized as a valid DateTime.
    at System.DateTime.Parse(String s)
    at Umbraco.Courier.Core.Collections.Compare.FromXml(XmlNode n)
    at Umbraco.Courier.UI.Pages.CompareRevision.„(ItemProvider provider)
    at Umbraco.Courier.UI.Pages.CompareRevision.ƒ(Object sender, RepeaterItemEventArgs e)
     at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
     at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
     at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
     at System.EventHandler.Invoke(Object sender, EventArgs e)
    at umbraco.BasePages.BasePage.OnLoad(EventArgs e)
    at Umbraco.Courier.UI.Pages.CourierBasePage.OnLoad(EventArgs e)
    at Umbraco.Courier.UI.Pages.CourierBaseLicensedPage.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have set debug to true en courier.config and i get the following in the log

    5/16/2012 9:58:31 AM: 3.9181853 MS: Loading factory

    16/05/2012 09:59:43: 0 MS: Loading factory

    5/16/2012 10:00:00 AM: 0 MS: Start Packaging fra

    5/16/2012 10:00:00 AM: 0 MS: Stack:    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at Umbraco.Courier.Core.Helpers.Bench.(String func, Boolean showStack, Boolean showStart)
       at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package()
       at Umbraco.Courier.Core.TaskManager.(IRevisionTask value)
       at Umbraco.Courier.Core.TaskManager.()
       at System.Threading.Tasks.Task.Execute()
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
       at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart(Object obj)

    5/16/2012 10:00:00 AM: 0.5143251 MS: Packing: Crucero(2f820c6e-4778-43e9-8951-d2099387d728) from Documents

    5/16/2012 10:00:00 AM: 0.0623428 MS: Packing: Alquiler de Carros(59a4c601-4766-49d0-8c86-fa2577bd527e) from Documents

    5/16/2012 10:00:00 AM: 0 MS: Resolver Images on: Document Alquiler de Carros Property Data for provider: PropertyData

    5/16/2012 10:00:00 AM: 0 MS: Resolver Images on: Document Alquiler de Carros Property Data for provider: PropertyData

    5/16/2012 10:00:00 AM: 0.2181998 MS: Packing: Document Alquiler de Carros Property Data(59a4c601-4766-49d0-8c86-fa2577bd527e) from PropertyData

    5/16/2012 10:00:00 AM: 0.0155857 MS: Packing: Document Crucero Property Data(2f820c6e-4778-43e9-8951-d2099387d728) from PropertyData

    5/16/2012 10:00:00 AM: 0.8104534 MS: Packaging a batch of: 4

    5/16/2012 10:00:01 AM: 0.0155857 MS: Resolver TemplateResources on: Cruise for provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver MacroParameters on /masterpages/Cruise.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver TemplateResources on /masterpages/Cruise.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.0311714 MS: Resolver MacroParameters on /masterpages/Cruise.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.0155857 MS: Resolver TemplateResources on /masterpages/Cruise.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.155857 MS: Packing: Cruise(Cruise) from Templates

    5/16/2012 10:00:01 AM: 0.0311714 MS: Resolver TemplateResources on: RentACar for provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver MacroParameters on /masterpages/RentACar.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver TemplateResources on /masterpages/RentACar.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver MacroParameters on /masterpages/RentACar.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver TemplateResources on /masterpages/RentACar.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: RentACar(RentACar) from Templates

    5/16/2012 10:00:01 AM: 0.155857 MS: Packing: Cruise(Cruise) from Document types

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: RentACar(RentACar) from Document types

    5/16/2012 10:00:01 AM: 0.4363996 MS: Packaging a batch of: 4

    5/16/2012 10:00:01 AM: 0.0155857 MS: Resolver TemplateResources on: Master for provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver MacroParameters on /masterpages/Master.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver TemplateResources on /masterpages/Master.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.0779285 MS: Resolver MacroParameters on /masterpages/Master.master For provider: Templates

    5/16/2012 10:00:01 AM: 0 MS: Resolver TemplateResources on /masterpages/Master.master For provider: Templates

    5/16/2012 10:00:01 AM: 0.2337855 MS: Packing: Master(Master) from Templates

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: Page Master(PageMaster) from Document types

    5/16/2012 10:00:01 AM: 0.2961283 MS: Packaging a batch of: 2

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: reset for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: reset for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: reset(reset) from Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: columnas for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: columnas for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0155857 MS: Packing: columnas(columnas) from Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: text for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: text for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: text(text) from Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: nivo-slider for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: nivo-slider for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0155857 MS: Packing: nivo-slider(nivo-slider) from Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: jquery.lightbox-0.5 for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: jquery.lightbox-0.5 for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0311714 MS: Packing: jquery.lightbox-0.5(jquery.lightbox-0.5) from Stylesheets

    5/16/2012 10:00:01 AM: 0.0155857 MS: Resolver CssResources on: fotorama for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: fotorama for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0.0623428 MS: Packing: fotorama(fotorama) from Stylesheets

    5/16/2012 10:00:01 AM: 0.0155857 MS: Resolver CssResources on: style for provider: Stylesheets

    5/16/2012 10:00:01 AM: 0 MS: Resolver CssResources on: style for provider: Stylesheets

    5/16/2012 10:00:02 AM: 0.1090999 MS: Packing: style(style) from Stylesheets

    5/16/2012 10:00:02 AM: 0.1246856 MS: Packing: BreadCrumbs(BreadCrumbs) from Macros

    5/16/2012 10:00:02 AM: 0.0155857 MS: Packing: TopNav(TopNav) from Macros

    5/16/2012 10:00:02 AM: 0.2026141 MS: Packing: MainNav(MainNav) from Macros

    5/16/2012 10:00:02 AM: 0.0155857 MS: Packing: MetaTags(MetaTags) from Macros

    5/16/2012 10:00:02 AM: 0.0155857 MS: Packing: text(text) from Macro property types

    5/16/2012 10:00:02 AM: 0.7325279 MS: Packaging a batch of: 12

    5/16/2012 10:00:02 AM: 2.4157799 MS: Packaging fra

    Frank

  • Andrew Munro 78 posts 161 karma points
    Aug 17, 2012 @ 22:29
    Andrew Munro
    0

    Hey did you guys come up with a solution? I'm having the exact same issue randomly with one site but not another.

Please Sign in or register to post replies

Write your reply to:

Draft