Question:Completely remove git repository binding or mapping of a project,and then commit it on git as a new one?
Description:I have to add a local project to git repository as a new project which previously has binding with an other git repository ,so I need to first completely remove the previous binding/mapping or tracking of git repository then starting from scratch commit it as a new project on my git repository
Posted by: Umer khan | Posted on: Oct 22, 2019
Question:How to know whether the website was built using sitecore ?
Description:I want to detect if any website was built using sitecore while I don't have access for the site i.e I am visiting the website as a general user of the website, is it possible ?
Posted by: Sam Smith | Posted on: Aug 08, 2019
Question:Data at the root level is invalid. Line 1, position 1.
Description:I am getting following error on a website developed using sitecore 9 and already hosted on my local environment and was working until I have just installed another instance of website using sitecore 9.1 the site previously working fine,started throwing following error. Server Error in '/' Application. Data at the root level is invalid. Line 1, position 1. 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.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. 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: [XmlException: Data at the root level is invalid. Line 1, position 1.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +88 System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +6683419 System.Xml.XmlTextReaderImpl.ParseDocumentContent() +336 System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +60 System.Xml.Linq.XDocument.Parse(String text, LoadOptions options) +147 SolrNet.Impl.SolrCoreAdmin.Status() +67 Sitecore.ContentSearch.SolrProvider.SolrStatus.OkSolrStatus() +73 Sitecore.ContentSearch.SolrProvider.SolrStatus..cctor() +72 [TypeInitializationException: The type initializer for 'Sitecore.ContentSearch.SolrProvider.SolrStatus' threw an exception.] Sitecore.ContentSearch.SolrProvider.SolrStatus.SetIndexForInitialization(ISearchIndex solrIndex) +0 Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.SetForReinitialization() +202 Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.InitializeSolr() +129 Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() +46 Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize() +169 Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.DefaultSolrStartUp.Initialize() +913 (Object , Object[] ) +71 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469 Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22 Sitecore.Nexus.Web.HttpModule.Application_Start() +161 Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +764 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +570 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329 [HttpException (0x80004005): The type initializer for 'Sitecore.ContentSearch.SolrProvider.SolrStatus' threw an exception.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0
Posted by: Sam Smith | Posted on: Jul 31, 2019
Question:how to change/update the display order of fields in sitecore backend?
Description:I have an sitecore item using so many data templates containing many fields but I want some of the fields at backend to appear at the top of the item so that it will be easy for the content author to populate the mandatory field first,but i don't see the option to manipulate the displaying order of the fields.
Posted by: Sam Smith | Posted on: Jul 12, 2019
Question:Made a fresh deployment of a site developed using sitefinity ,its backend started throwing "IIS Detailed Error - 404.0 - Not Found"
Description:I have a task to deploy an old sitefinity project, developed on sitefinity 7 and I have deployed it successfully but when I went to its backend link to verify that everything is working fine , unfortunately its backend started throwing "IIS Detailed Error - 404.0 - Not Found" and it doesn't allow me to go on any backend link.
Posted by: Sam Smith | Posted on: Jul 02, 2019
Question:how to display/render "@" symbol as string in mvc view as razor syntax uses the @ symbol to transition from HTML to C#?
Description:I am trying to write following code in my MVC View. <script type="application/ld+json"> { "@context" : "http://mywebsite.com", "@type" : "WebSite" } </script> but it is throwing error "The name 'context' does not exist in the current context" as it consider it as C# code.
Posted by: Samantha Jones | Posted on: Jun 27, 2019
Question:how to setup a "website down for maintenance" page for any major updates in a asp.net (MVC) website?
Description:I have to deploy some major updates in my website build on asp.net MVC and I can't afford to let my site running during the deployment so I need to setup a page which can be displayed during deployment or the site's down time. preferable I need some settings in web.config or at IIS level so that I can easily remove that maintenance page immediately once the deployment process completed.
Posted by: Umer khan | Posted on: Jun 21, 2019
Question:how to create a custom widget to display details for a dynamic module item ,which will show details against UrlName?
Description:I have tried creating a custom detail widget in which I am getting item details against UrlName property and dropped that newly created widget on my detail page but when I am appending UrlName after my detail page url it redirects me to error page 404 instead of passing the UrlName to my widget's code behind. I am using sitefinity 8 (project built using asp.net web forms). is there a way that will allow me to pass UrlName after my details page url.(similar to news detail using default widget)
Posted by: Khalid Abbas | Posted on: Jun 20, 2019
Question:setting up listing and detail widgets on the same page sitefinity, having issue of opening details on both widgets
Description:I have tried setting up listing and detail widgets for all (i.e blog, news etc ) sitefinity's default widgets on the same page, having issue of opening details on both widgets , it is working fine when there is no detail url appended only the listing widget show the listing and details widget empty but when click on details link it appends the details url (UrlName of the details item) and both widgets start displaying the details of the item. i.e same details expended multiple times on the page. Let me know if this is the sitefinity bug or am I missing any settings?
Posted by: Khalid Abbas | Posted on: Jun 14, 2019
Question:Cannot evaluate expression because the code of the current method is optimized
Description:I have noticed that from last few days I am started getting "Cannot evaluate expression because the code of the current method is optimized" error in my visual studiio 2017 project , I have no idea is there any visual studio setting that is needed to be updated or it is due to my project implementation ?
Posted by: Khalid Abbas | Posted on: May 30, 2019