IE6 *.htm Download List Crash
<
html
>
<
body
>
<
p
>Hello World</
p
>
</
body
>
</
html
>
Server Error in '/' Application.
--------------------------------------------------------------------------------
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) +5497186
Telerik.Sitefinity.Modules.Libraries.Web.LibraryHttpHandler.ProcessRequest(HttpContext context) +198
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +597
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266
Hello Michael H.,
I couldn't reproduce your problem with the latest version. Can you give me some more information about the environment you are using - OS, language settings, exact browser version, regional settings, time zone. Can you also try this scenario in IE7 or IE8
Please make sure that you are using Sitefinity RC2. We had similar issue with the older version.
Greetings,
Petya
the Telerik team
Hello Am getting same error.
I am retrieving images using Fluent API after filtering them by category and by album.
Server is in Germany and the language used by the website is arabic.
Please let me know how can I fix it.
Thanks in advance!
here it is event log of the error .
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 07/06/32 03:21:08 ص
Event time (UTC): 07/06/32 07:21:08 ص
Event ID: b167ee6396e040d6b45a4da7640647e7
Event sequence: 4203
Event occurrence: 42
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-3-129494842158536000
Trust level: Full
Application Virtual Path: /
Application Path: D:\HTTP\Mideast\Dodge\
Machine name: P2388277
Process information:
Process ID: 12208
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: FormatException
Exception message: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Telerik.Sitefinity.Modules.Libraries.Web.LibraryHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: arabic-mideast.dodge.com/.../entertainment.jpg
Request path: /images/charger/2011/04/20/entertainment.jpg
User host address: 94.128.26.174
User: Anonymous
Is authenticated: False
Authentication Type: Sitefinity
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 21
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Telerik.Sitefinity.Modules.Libraries.Web.LibraryHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
Hi waqar,
Can you please show us a piece of the code used to retrieve the images.
Kind regards,
Radoslav Georgiev
the Telerik team
HI!
The code is below
private TaxonomyPropertyDescriptor GetPropertyDescriptor(Type itemType, ITaxon taxon)
return TaxonomyManager.GetPropertyDescriptor(itemType, taxon);
private IEnumerable GetItems(ITaxon taxon, ContentDataProviderBase contentProvider, Type itemType)
TaxonomyPropertyDescriptor prop = GetPropertyDescriptor(itemType, taxon);
int? totalCount = 0;
var items = contentProvider.GetItemsByTaxon(taxon.Id, prop.MetaField.IsSingleTaxon, prop.Name, itemType, "Album.Title=\"" + VehicalName + "\" and Status=\"Live\"", string.Empty, 0, 100, ref totalCount);
return items;
void GetImagesFromTaxon(Taxon objTaxon)
var taxonomyManager = TaxonomyManager.GetManager();
ITaxon taxon = taxonomyManager.GetTaxon(objTaxon.Id);
string itemTypeName = "Telerik.Sitefinity.Libraries.Model.Image";
Type itemType = Telerik.Sitefinity.Utilities.TypeConverters.TypeResolutionService.ResolveType(itemTypeName);
var manager = Telerik.Sitefinity.Data.ManagerBase.GetMappedManager(itemType, "");
ContentDataProviderBase contentProvider = manager.Provider as ContentDataProviderBase;
IEnumerable IE = GetItems(taxon, contentProvider, itemType);
foreach (Telerik.Sitefinity.Libraries.Model.Image CI in IE)
Plz let know If there is something wrong.
Dear Michael
I know this is not helping but IE is currently on version 9 and version 8 on XP.
IE 7 was introduced Oktober 2006. Isn't it a lot to ask for support for an 4 year old browser?
Again I know this is not helping but - just wonderin why you had to support IE 6.
Markus