Posts

Error : Cannot implicitly convert type sitecore form data provider to 'Sitecore.ExperienceForms.Data.IFormDataProvider'.

I was trying to access form database to validate something but during instantiation of FormData provider interface I was getting issue because dot net   compiler only has knowledge of the method that takes a type. ERROR: private  IFormDataProvider FormDataProviders = ServiceLocator.ServiceProvider.GetService( typeof (IFormDataProvider)); Severity Code Description Project File Line Suppression State Error CS0266 Cannot implicitly convert type 'object' to 'Sitecore.ExperienceForms.Data.IFormDataProvider'. To fix above issue I just cast this Form data provider to it's interface. Once you cast thi service locator to form data provider then you can access sitecore form  entries from form database. private  IFormDataProvider FormDataProviders = ( IFormDataProvider)  ServiceLocator.ServiceProvider.GetService( typeof (IFormDataProvider));

Error: .Net SqlClient Data Provider: Msg 12809, Level 1 remove all users with password before setting the containment property to NONE.

Image
In recent sitecore installation I found an issue related to SQL user generated for sitecore installation. msdeploy.exe : Error: .Net SqlClient Data Provider: Msg 12809, Level 16, State 1, Line 5 You must remove all users with password before setting the containment property to NONE. At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-CommandTask.ps1:31 char:13 +             & $Path $Arguments | Out-Default +             ~~~~~~~~~~~~~~~~~~     + CategoryInfo          : NotSpecified: (Error: .Net Sql...operty to NONE.:String) [], RemoteException     + FullyQualifiedErrorId : NativeCommandError Error: Script execution error.  The executed script: IF EXISTS (SELECT 1            FROM   [master].[dbo].[sysdatabases]            WHERE  [na...

Sitefinity Solution Setup for Content website

Image
In this article I will explain the basic setup and page creation with Sitefinity CMS. This setup includes content and layout with availability of card component. To start on this CMS you ust download it from Sitefinity official site https://www.progress.com/sitefinity-cms/try-now/download System Prerequisite: Server-side requirements Microsoft® Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016, Windows Vista,  Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Azure NOTE: To deploy your Sitefinity CMS project to Windows Azure, you must first create and develop your project locally, using one of the other supported Windows platforms. NOTE: You cannot run Sitefinity CMS under Windows XP. Sitefinity CMS supports both 32-bit and 64-bit Windows operating systems. Internet Information Services 7+ Microsoft® .NET Framework 4.7.2 Microsoft® ASP.NET MVC 5 Database platforms Supported platforms: Microsoft® SQL Server 2008, 2008 R2, 2012, 2012 R2, 2014, 2016, 2017 ...

Error : Project Interpreter missing in Pycharm

Image
I was trying to compile a pyhton program but found missing interpreter issue during the environment set for program execution. While creating a new project it's required to have an interpreter but in my case it was missing because I missed python installation. As per above screen shot I need one interpreter for my newly created python project. To fix this issue I just install python and select the default installed interpreter to continue my work. I just select it from location In this way you can select default interpreter based on your python configuration location. Happy Learning!!!

Team City Setup and Configuration in AWS EC2

Image
TeamCity is a Java-based build management and continuous integration server from JetBrains. TeamCity is commercial software and licensed under a proprietary license. A Freemium license for up to 100 build configurations and 3 free Build Agent licenses is available. We can configure TeamCity with any code repository like Git, Bit Bucket etc. This tool continuously integrates code and builds the selected branch including unit test cases.   In this article I will explain Teamcity setup in AWS EC2 instance connected with Bit Bucket code. Step 1: first create a AWS EC2 instance selecting with Windows 2016 Base with minimum required configuration. Once instance is ready then you need to download Teamcity from https://www.jetbrains.com/teamcity/download/ Step 2: After downloading team city you should follow the instruction to install Teamcity setup on your AWS EC2 instance. Select service account for this Teamcity server as system account. In this opt...

Jenkins Integration with Bit Bucket on AWS (EC2)

Image
In this article i am explaining Continuous Integration via Jenkins, here code repository is placed at bit bucket. First download jenkins and install on AWS EC2. First download jenkins for windows on AWS EC2 virtual Machine. After going through the installation process you will get running jenkins on your local host with 8080 port. Jenkins requires unlock with password laced at location C:\Program Files (x86)\Jenkins\secrets You just get the password from given location and unlock your jenkins. After unlocking the jenkins you will get the next scr...

Dot Net Core app Deployment in Azure

Image
DevOps Projects creates a CI/CD pipeline in Azure DevOps. You can create a new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources in the Azure subscription of your choice. Sign in to the Microsoft Azure portal. In the left pane, select Create a resource icon in the left navigation bar, and then search for DevOps Projects. Select Create. Select Dot net option from next window. In next screen select dot net core option for further process. In next screen...