IE6 *.htm Download List Crash

Posted by Community Admin on 04-Aug-2018 02:29

IE6 *.htm Download List Crash

All Replies

Posted by Community Admin on 06-Jan-2011 00:00

Issue: Download List causes server crash when accessing *.htm in IE6.

Version: Sitefinity_4.0.1030.0

Steps:
1. Content -> Documents & Files -> Create Library "test lib"
2. Create file "test.htm"

Contents:

<html>
  <body>
    <p>Hello World</p>
  </body>
</html>

3. Upload file "test.htm" to "test lib" library
4. Create page "test page"
5. Add Download List and configure "test lib" as source and Publish page.
6. Access "test page" from an IE6 browser
7. Click on the "test.htm" file and it will open in another window.
8. It will open properly the initial load, however after pressing the refresh key (F5).
9. The page will display an ASP.Net Server Error:

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

Posted by Community Admin on 06-Jan-2011 00:00

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 10-May-2011 00:00

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: 




Posted by Community Admin on 13-May-2011 00:00

Hi waqar,

Can you please show us a piece of the code used to retrieve the images.

Kind regards,
Radoslav Georgiev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 17-May-2011 00:00

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.

Posted by Community Admin on 17-May-2011 00:00

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

This thread is closed