Skip to content
February 22, 2012 / kiranpatils

20,000 blog hits… and still counting

I still remember my 11,000+ hits blog which I wrote on October 4, 2011. And today Just saw that we crossed 20,000 blog hits.  Would like to say thanks to you!

Total Hits

Summary Tables

Top Posts for all days ending 2012-02-22 (Summarized)

 

Here’s the Stats Summary which I would like to share with you:

Quick Facts

* Total Posts : 73
* Total Comments : 73
* Total Categories : 25
* Total Tags : 32
* Average Visits per Day : 54

Thanks to all who inspired and appreciated my work – Yes I am saying thanks to you – My friends,readers and daily visitors!

Happy Reading! :-) and Happy Sitecoring! :-)

February 17, 2012 / kiranpatils

Error while loading installation wizard or package designer

Challenge:

Since so long back, we faced one problem in which when we open Sitecore installation wizard/Package Designer it was showing following error:

Server Error in ‘/’ Application.


Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

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.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

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:

 

[ReflectionTypeLoadException: Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.]
   System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.GetTypes() +105
   Sitecore.Install.Configuration.InstallerObjectFactory..ctor() +96
   Sitecore.Install.Configuration.InstallerObjectFactory..cctor() +21

[TypeInitializationException: The type initializer for 'Sitecore.Install.
Configuration.InstallerObjectFactory' threw an exception.]
   Sitecore.Install.Configuration.InstallerObjectFactory.get_Instance() +0
   Sitecore.Shell.Applications.Install.UIFactory.GetContextUri(Type type) +11
   Sitecore.Shell.Applications.Install.UIFactory.GetContextUri(Object instance) +19
   Sitecore.Shell.Applications.Install.Controls.ProjectView.UpdateContext() +80
   Sitecore.Shell.Applications.Install.Controls.ProjectView.SetSelection(String property) +57
   Sitecore.Shell.Applications.Install.Designer.OnLoad(EventArgs e) +178

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig,
MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig,
MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture) +29
   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +45
   Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName,
Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters) +87
   Sitecore.Reflection.ReflectionUtil.CallMethod(Object obj, String methodName,
Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +43
   Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +191
   Sitecore.Shell.Web.UI.SecurePage.OnLoad(EventArgs e) +24
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +627

Solution:

After trying lot of things finally we found the solution. Basically under “/website/bin” folder  “ITHit.WebDAV.Server.dll” was missing. We got it from other developer’s box for whom it was working fine and it fixed the issue!

I hope it will help you as well, when you are ready to send a deployment and at that same time Package Designer/Installation wizard is not working.

Happy Sitecoring! :-)

February 17, 2012 / kiranpatils

Is your page loading slowly in preview mode?

Yes, I’m writing after so long time. Sorry for not sharing anything with you since so long time. But got busy with so many bits. But it’s good the more you be busy the more you have to share! :-)

Challenge:

We were facing one issue in which one of our page was taking  > 2.5  minutes to load in preview mode and surprisingly it was working fine in Page Editor Mode.

After analyzing a lot we found that, one of the control was fetching sub items of current page/item and all the sub items were having – “Subitems Sorting” field in Appearance section’s value as “Created”. [Just a note : all items are in one language and having one version only!]

What you are also facing the same issue? and you also have same behavior? Eager to know the solution? please go to next section..

Solution:

When we set it to blank instead of “Created“  it resolved the issue and now page gets loaded in 2 seconds!

We got this hint from this blog, must read! : http://blog.wojciech.org/?p=88 [Really helpful, thanks a lot]

Good to read on Sorting:

http://sitecore.alexiasoft.nl/2009/08/04/sorting-sitecore-items/
http://sitecoreblog.blogspot.in/2010/11/change-default-subitems-sort-order.html
http://learnsitecore.cmsuniverse.net/en/Editors/Articles/2009/11/SortingItems.aspx
http://firebreaksice.com/how-to-sort-sitecore-items-in-the-content-editor/

Happy Sitecoring! :-)

PS : Special thanks to Siddhi who lead us towards this solution!

January 1, 2012 / kiranpatils

2011 in review

Hello Readers,

2011 has been good and busy year (But It’s good to be busy, in the work which you are passionate about!).  The whole year was really good and I learnt and explored Sitecore in-depth this year (and I’m still learning it and will be continue doing it in upcoming year as well!).

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

 

Here’s an excerpt:

The concert hall at the Syndey Opera House holds 2,700 people. This blog was viewed about 16,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 6 sold-out performances for that many people to see it.

Quick facts:

  • This blog was viewed about 16,000 times in 2011.
  •  There were 70 new posts,
  • The busiest day of the year was June 27th with 177 views. The most popular post that day was DreamCore Europe 2011 Experience.
  • Most visitors came from The United States. The United Kingdom & India were not far behind.

Click here to see the complete report.

See you in 2012

Thanks for your support, visits and flying with us in 2011!
We look forward to serving you again in 2012! Happy New Year!

Happy Sitecoring, Happy Coding and Happy Reading! :-)

November 20, 2011 / kiranpatils

Basics of Sitecore Control Panel

Challenge:

Sitecore control panel contains loads of functionality which has not been highlighted very well. [We use its "Clean Up Databases" functionality for cleaning up our Sitecore DB during maintenance].

To read more details about it, I visited SDN and found this SDN document : http://sdn.sitecore.net/Reference/Archive/SC53%20End%20User/Control%20Panel.aspx This document explains the functionality very well. But the screen-shots are from Sitecore 5.3 and few options has been removed and few has been added. So, thought to update the new screen-shot and this post is a result of it!

Solution:

If you would like to know about each option, the SDN link is very helpful. OR why don’t give a try on your local environment and see what it does?

My favorite options from Sitecore Control panel are as below:

Happy Sitecoring! :-)

Follow

Get every new post delivered to your Inbox.