Link to home
Create AccountLog in
Avatar of TUS11
TUS11

asked on

Datetime Issue while deploying Sitefinity 3.7 sp2 website on local system.

Hi,

I am trying to deploy a website (developed in Sitefinity 3.7 sp2) to IIS7 in my local system.
But first, it takes too much time to send any response back.
And the Response returned is:

String was not recognized as a valid DateTime.
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.FormatException: String was not recognized as a valid DateTime.
 
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:
 
 
[FormatException: String was not recognized as a valid DateTime.]
   System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +4579906
   Telerik.Cms.Web.UI.DateTimeLiteral.set_Text(String value) +90
   Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService.ApplySettings(ContentView sender, BaseSettingValue settingValue, Control container) +654
   Telerik.Cms.Engine.WebControls.ContentView.ApplyModeSettings(List`1 settings, Control container) +214
   Telerik.Cms.Engine.WebControls.ContentView.repeater_ItemDataBound(Object sender, RepeaterItemEventArgs e) +621
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +693
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +68
   Telerik.Cms.Engine.WebControls.ContentView.CreateChildControls() +4520
   Telerik.News.WebControls.NewsView.CreateChildControls() +24
   System.Web.UI.Control.EnsureChildControls() +146
   System.Web.UI.Control.PreRenderRecursiveInternal() +61
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

Open in new window



Following is the data in sitefinity.log (in App_data folder):


17-11-2012 14:28:54 [UNKNOWN]
************************************************************************************
ID: 615ff158-b61b-4e24-ab14-61867a66e5de; Code: 3001; Occurrence: 1; Sequence: 6
------------------------------------------------------------------------------------
 
Application information:
    Machine name: ASSET71-PC
    OS Version: Microsoft Windows NT 6.1.7600.0
    Product Version: 3.7.2057.220
    Application Path: D:\Demo\testparking\
    Debug: False
 
Process information:
    Process ID: 4852
    Process Name: w3wp
 
Request information:
    Request URL: /testPark/en/home.aspx
    Rewrite URL: http://192.168.1.63/testpark/sitefinity/cmsentrypoint.aspx
    Url Referrer:   Is Authenticated: False
    Authentication Type:
    User:
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
    User Address: 192.168.1.150
 
Variables:
    Sitefinity.UrlChahged: True
    Sitefinity.RewritePathAnyway: True
    CmsHttpRequest: /testPark/home.aspx
    AspSessionIDManagerInitializeRequestCalled: True
    SF_Crawler: False
    cmscurrcult: en
    cmsurlcontext: home
    cmspageid: a8dff4ba-e5ed-4459-99a9-db2cebd7c2ba
    RadControlRandomNumber: 0
 
- L0 -------------------------------------------------------------------------------
 
Exception Type: System.Web.HttpException
 
Message: Request timed out.
 
Source:
 
Stack Trace:
 
------------------------------------------------------------------------------------
 
 
 
17-11-2012 14:31:53 [UNKNOWN]
************************************************************************************
ID: 07ced6e3-97f0-4621-a462-11cbe64b7a4d; Code: 3005; Occurrence: 1; Sequence: 7
------------------------------------------------------------------------------------
 
Application information:
    Machine name: ASSET71-PC
    OS Version: Microsoft Windows NT 6.1.7600.0
    Product Version: 3.7.2057.220
    Application Path: D:\Demo\testparking\
    Debug: False
 
Process information:
    Process ID: 4852
    Process Name: w3wp
 
Request information:
    Request URL: /testPark/en/about/contact-us.aspx
    Rewrite URL: http://192.168.1.63/testpark/sitefinity/cmsentrypoint.aspx
    Url Referrer:   Is Authenticated: False
    Authentication Type:
    User:
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
    User Address: 192.168.1.150
 
Variables:
    Sitefinity.UrlChahged: True
    Sitefinity.RewritePathAnyway: True
    CmsHttpRequest: /testPark/about/contact-us.aspx
    AspSessionIDManagerInitializeRequestCalled: True
    SF_Crawler: False
    cmscurrcult: en
    cmsurlcontext: Contact Us
    cmspageid: ef3c452e-790b-4d74-978c-5bf574eb77df
    RadControlRandomNumber: 0
 
- L0 -------------------------------------------------------------------------------
 
Exception Type: System.FormatException
 
Message: String was not recognized as a valid DateTime.
 
Source: mscorlib
 
Stack Trace:
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at Telerik.Cms.Web.UI.DateTimeLiteral.set_Text(String value)
   at Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService.ApplySettings(ContentView sender, BaseSettingValue settingValue, Control container)
   at Telerik.Cms.Engine.WebControls.ContentView.ApplyModeSettings(List`1 settings, Control container)
   at Telerik.Cms.Engine.WebControls.ContentView.repeater_ItemDataBound(Object sender, RepeaterItemEventArgs e)
   at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
   at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
   at Telerik.Cms.Engine.WebControls.ContentView.CreateChildControls()
   at Telerik.News.WebControls.NewsView.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
------------------------------------------------------------------------------------

Open in new window

Avatar of Anastasia D. Gavanas
Anastasia D. Gavanas
Flag of Greece image

check and/or set the ParseExact() format to match the format of the date (for example have both be dd/MM/yyyy HH:MM)
ASKER CERTIFIED SOLUTION
Avatar of Anastasia D. Gavanas
Anastasia D. Gavanas
Flag of Greece image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account