Question:How to migrate or make fresh copy of a repository from GitLab to GitHub?
Description:I have repository currently available on GitLab and I eventually want to migrate it to GitHub but for the backup purpose I want to keep it on GitLab as we are working on it, meanwhile we can create a fresh copy of it to GitHub once we verified it is working fine then we can move to that one, is it directly possible? And if yes then what is the way to do it?
Posted by: Peter Andre | Posted on: Dec 31, 2019
Question:How to display a uploaded image on a canvas using ngx-dropzone component
Description:I have a angular 7 application and i use a ngx-dropzone component to upload files, is there a way to display the image on a canvas after it has been uploaded and then convert it to a jpeg before posting it to the server. i can post the images to the server i have no problem with that part only the part where you display it on a canvas i have no idea how to do this and since i'm relatively new to this ngx-dropzone component.
Posted by: Muhammad Essa Rind | Posted on: Dec 27, 2019
Question:Having issues after converting json to csv, languages other than English encoded as special characters also mobile number displayed as exponential values
Description:I have used the javascript code for the conversion of json object to csv file and it was working fine when I have one language(English) but when i have added another language Arabic in my case , the generated csv showing special characters instead of Arabic characters and also mobile numbers are always displayed as exponential values in csv file.
Posted by: Junaid Aziz | Posted on: Dec 18, 2019
Question:What could be the best way to make one site’s code independent of other while using sitecore multisite with helix code architecture?
Description:We have three sites which were initially developed using sitecore (version 9.0.2) multisite with helix and sites are running live. We have these three sites and two domains so our final urls for three sites are something like as follows: 1)www.site1.com 2)www.site2.com 3)www.site2.com/site3 That means site3 is running on a sort of virtual directory on the same domain where site2 is running. My content structure shown in the following screenshot . and my site's “SiteDefinition.config” looks like the following one.(In which site3 is mainly setup using 'virtualFolder,physicalFolder' can be seen in the following code) <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <sites> <site name="site1" patch:before="site[@name='website']" enableTracking="true" hostName="site1.sc" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content/site1" startItem="/Home" notFoundItem="/404" database="web" domain="extranet" allowDebug="true" cacheHtml="true" htmlCacheSize="50MB" registryCacheSize="0" viewStateCacheSize="0" xslCacheSize="25MB" filteredItemsCacheSize="10MB" enablePreview="true" enableWebEdit="true" enableDebugger="true" disableClientData="false" cacheRenderingParameters="true" renderingParametersCacheSize="10MB" enableItemLanguageFallback="false" enableFieldLanguageFallback="false" /> <site name="site2" patch:before="site[@name='website']" enableTracking="true" hostName="site2.sc" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content/site2" startItem="/Home" notFoundItem="/404" database="web" domain="extranet" allowDebug="true" cacheHtml="true" htmlCacheSize="50MB" registryCacheSize="0" viewStateCacheSize="0" xslCacheSize="25MB" filteredItemsCacheSize="10MB" enablePreview="true" enableWebEdit="true" enableDebugger="true" disableClientData="false" cacheRenderingParameters="true" renderingParametersCacheSize="10MB" enableItemLanguageFallback="false" enableFieldLanguageFallback="false" /> <site name="site3" patch:before="site[@name='site2']" enableTracking="true" hostName="site2.sc" virtualFolder="/site3" physicalFolder="/site3" rootPath="/sitecore/content/site3" startItem="/home" notFoundItem="/404" database="web" domain="extranet" allowDebug="true" cacheHtml="true" htmlCacheSize="50MB" registryCacheSize="0" viewStateCacheSize="0" xslCacheSize="25MB" filteredItemsCacheSize="10MB" enablePreview="true" enableWebEdit="true" enableDebugger="true" disableClientData="false" cacheRenderingParameters="true" renderingParametersCacheSize="10MB" enableItemLanguageFallback="false" enableFieldLanguageFallback="false" /> </sites> </sitecore> </configuration> Now we need to separate the sites code so that we can work on site3 independently while another team can take care of site1 and site2,is it possible to duplicate the code inside a folder named “site3” and only site3 will point to this code and other two sites will use the existing code? Further explanation about the approaches we have already discuss the with the teams internally, added The problem is that currently the code is deployed on single location which is utilized by all three sites,now Let say if i create separate feature modules for all the new feature of site3 even then what about the existing features of site3 as the existing feature shared the same .dll with others two sites and if i create all new features module then it will be reinventing the wheel and still if we have to made any changes to foundation .dlls then we will still have dependency, Note: The two teams that will be working on the sites are completely independent teams and will have no/ very less interaction in the future. we have already discussed a suggestion of sharing the same master repository of code between the teams that was not appreciated by both the teams because in that case who will take the merging the code responsibility and if any issues raise then there would be blame game.
Posted by: Tabish Usman | Posted on: Dec 17, 2019
Question:convert my json object to csv downloadable file using jquery or javascript?
Description:I want to convert my json object to csv downloadable file for excel, I am having a simple list of submitted forms and the data is coming in the form of json against a ajax request on a controller method in C# ,that is why i want to convert my json on client side through jquery or javascipt.
Posted by: Umer khan | Posted on: Dec 12, 2019
Question:while accessing the remote system through remote desktop connection having CredSSP Encryption Oracle Remediation issue?
Description:I am accessing the remote system through remote desktop connection and it is always throwing following error An authentication error has occurred. The function requested is not supported Remote computer: bensinger-broker.neverfail.com This could be due to CredSSP encryption oracle remediation. For more information, see https://go.microsoft.com/fwlink/?linkid= 866660
Posted by: Umer khan | Posted on: Nov 18, 2019
Question:During the installation of sitecore 9 update 2 ,getting the "ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER" error
Description:I am getting following error during installation of sitecore 9 update 2, Error Code: ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER More Information: The SQL provider cannot run with dacpac option because of a missing dependency. Please make sure that DacFx is installed. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER. Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1) At C:\resourcefiles\install.ps1:49 char:1 + Install-SitecoreConfiguration @xconnectParams -Verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration [TIME] 00:00:18 Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1) At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2 + Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask While I have installed the prerequisite which is "Microsoft SQL Server Data-Tier Application Framework" Note: I am installing sitecore 9 update 2 through powershall script and that was the final script I have run, I have installed all prerequisites and solr as well.
Posted by: Sam Smith | Posted on: Oct 24, 2019
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