Projects

LogViewer
LogViewer application for MS Enterprise Library (EntLib) Logging, this is build with AngularJS UI and WebApi as backend service layer.

Active STS
WIF based Active Secure Token Service implementation. Built on .net 4.0 with earlier version of WIF. It has a custom basic UserName and password validator but can be replaced by any data store.

DynamicProfile
A simple Profile Provider implementation using new Dynamic functionality of C# and XML as backend data store but extensible for any backend data store.

Framework for Sitecore MVC
A framework for Sitecore developers to help solve some of the problem in Sitecore MVC.

11 Responses to Projects

  1. Venkatesh says:

    Hi Prakash
    We deployed our application (Sitecore MVC) on Azure. Dbs also reside on Azure. Now, we have two web-apps one for UAT and other one is for Production. When we are publishing the site, it is getting stopped in between. From logs, we found this

    Exception: System.Reflection.TargetInvocationException
    Message: Exception has been thrown by the target of an invocation.
    Source: mscorlib
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Sitecore.Shell.Framework.Commands.MethodCommandProcessor.Invoke(PipelineArgs args)
    at Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline)
    at Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)
    at Sitecore.Shell.Framework.Commands.MethodCommand.Execute(CommandContext context)
    at Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)
    at Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent()
    at Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Nested Exception

    Exception: System.ArgumentException
    Message: Empty strings are not allowed.
    Parameter name: value
    Source: Sitecore.Kernel
    at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)
    at Sitecore.Handle.Parse(String value)
    at Sitecore.Shell.Applications.Dialogs.Publish.PublishForm.CheckStatus()

    Our Troubleshooting:

    1) Cleared Publish Queue and Event Queue
    2) Increased time out values
    3)Increased Worker threads to 100
    4)Connected local development application to Azure Dbs to find out if issue is with SQL Dbs but couldn’t recreate the issue.
    5)Copied all the azure sitecore files in local dev machine and ran the app. It is working fine.
    6)Copied local dev files to Azure still facing the issue.

    It would be helpful if you can give your ideas and thoughts on the issue.

    Thank you 🙂

    • cprakash says:

      Error suggest some short of issue with publishing, can make sure you don’t have the null item in publishing? Or could be you are missing the parent item and publishing the child item. May be you want to look at the content tree and related items to find out the faulty item.

      • Venkatesh says:

        Thanq prakash. Found out the issue. It is related to azure server. Solved it by changing the instance and service plan

  2. Venkatesh says:

    But we did have an error logged saying “Root Item id null”. Great Prakash. Always a reliable source for Sitecore dev n support.

  3. Venkatesh says:

    Prakash
    In Sitecore, we have Lock and Edit option which prevents overwriting the data when done parallelly. So, is there any option which unlocks the item automatically after Save other than through custom logic through code behind??

    • cprakash says:

      There used be configuration settings like AutomaticLockOnSave & AutomaticUnLockOnSave, which controls the behavior, you might want to refer the documentation to see if that helps in your scenario. But be careful, if multiple users are working on same item, they might overwrite each other’s work.

  4. Venkatesh K says:

    Hi Prakash
    We came across a issue when logging in to Sitecore 8. When we are adding “Space” to the username during log in, it is treating him as a different user but logging in with same credentials. For example,
    username : adcd pwd : b
    when I log in as “abcd ” pwd : b , it is treating him as a different user.
    How to solve this? Any help?

  5. praveen says:

    Prakash,
    We are having an issue. User logs in into sitecore it is validating by trimming the space, but when the same user locks the item it locks the item with user Id with space at the end. We identified the issue as customer raised concern that when same user logs , in it is still showing locked by the same user with space appended. Was it reported by any users earlier? You can try and see if it exists. Request you to help us for the fix.

Leave a comment