Wednesday, 29 August 2018

Are you getting "No Service Error" while connecting through Sitecore Rocks?

If you are working with Sitecore Rocks and trying to connect Sitecore Rocks with your Sitecore project in Visual Studio then there are some chances to spot No Service Error shown in below screen-shot.

Well, there is simple solution. Go to your Sitecore Webroot folder and open Web.config file

Remove <deny> tag from Web.config file for <location path="sitecore/shell"> tag only.

That's it!

Now try to connect again with Sitecore Rocks and you should have connection success.

In case, you are still getting connection error, then it is advised to close Visual Studio project and open again and try.

Hope this may help someone!

Thursday, 2 August 2018

Is You Custom SMTP Connection Not Working in Sitecore EXM?

Most of times you follow Sitecore official documentation or community blog posts to use several features of Sitecore. But even-though after following all instructions very carefully, you end up in a unpleasant situation where the configured feature/functionality is not working.

So are you in same situation where you tried to configure Sitecore Email Experience Manager (EXM) with custom SMTP connection but still you are facing error in Test Connection?

First of all check the logs in Eds.* file to get more details where exactly the connection problem is.

In my case, below lines in log file were game changer. It gave me instant strike that my gmail account is configured for second step verification hence I was not able to connect Sitecore EXM with my custom gmail SMTP details. This could be a case with you also and that's why I wrote this post - to help you friends who caught in the same boat.

SmtpCmdResp: 534-5.7.9 Application-specific password required. Learn more at
SmtpCmdResp: 534 5.7.9 a5- v6sm1673474wmf.3 - gsmtp

So how to fix this? You would say remove second factor verification from Gmail, right? 
Well, we developer always do everything to allow our application to run :), isn't it? No, we are not going to remove second step verification from Gmail and will fix the connection issue instead.

Here are the steps:
1. Login to your Gmail account
2. Navigate to
3. In 'select app' choose 'custom', give it an random name and press generate button
4. It will generate 16 chars token.

Now copy that 16 character token and replace it with your "password" under SMTP \App_Config\Sitecore\EmailExperience\Sitecore.EDS.Providers.CustomSMTP.config file

That's it, try to test EXM connection and it should work now.

Wednesday, 27 December 2017

Is Your Sitecore Powershell RemoteAutomation Page Not Working?

Recently one of the developers at customer office contacted me as he was facing error while accessing Sitecore Powershell RemoteAutomation Webservice. After helping him to fix the issue, he notified that he couldn't find this fix on internet or may be it was difficult to find it. This encouraged me to write a quick blog post to help our awesome Sitecore community out there.

He was facing resource cannot be found error while accessing Sitecore Powershell Remote Automation page via http://[SitecoreInstance]/sitecore%20modules/PowerShell/Services/RemoteAutomation.asmx URL.

By seeing above error, one can easily say that either the page you are accessing does not exist at desired location or URL is wrong. That's what we also checked and found that page does exist and URL is also correct. 

The next thing to look into was ofcourse logs where we found below error getting logged.

Exception: System.Web.HttpException
Message: The file '/sitecore modules/powershell/services/404.htm' does not exist.

Above line of error gave some hint that while accessing RemoteAutomation.asmx page, it is trying to access 404.htm page. But 404.htm page doesn't exist and that's why it is throwing resource not found error. 

This theory makes sense, but why it is trying to access 404.htm while hitting RemoteAutomation.asmx page? 

Well, that mischief is done by your web.config file sitting under Website\sitecore modules\PowerShell\Services path.

Comment above highlighted line or create/place corresponding page to fix this error.

Now try to access your RemoteAutomation.asmx webservice and it should not complain and load fine as shown in below screen.

Hope that this may help someone to save some time!

Sunday, 17 December 2017

Tip # 8 : Sitecore Tip Of The Day!

Did you know Sitecore List Manager Import CSV Format?

If your answer is no, then you should spend a minute on this quick blog post to sharpen your Sitecore skills. But If you are aware about this then you can skip this tip and check out other interesting tips posted on this blog.

This tip is brought to you by Brijesh Patel

Sitecore List Manager is used to hold lists of contacts where these contacts can be recipients in an email campaign created in Sitecore Email Experience Manager.

The List Manager is well documented by Sitecore at

For creating a contact list you can,
1) Use List Manager: Firstly, create a list and keep on adding contacts manually. Might be a tedious task. 
2) Import from CSV: List Manager allows to add contact via a CSV file. I had a question about what can be the format of the CSV file. Brijesh Patel figured it out but would like to share it here as Sitecore Tip of The Day.

The CSV needs to have four fields,
1) Identifier: Not mandatory if email address is to be used as unique identifier
2) Email Address
3) First name
4) Last Name

The first row in a CSV file is a header and it is not imported. As List Manager allows mapping of fields any extra column defined in CSV which is not mapped will be ignored.

Liked this tip? If you have such a small and sweet Sitecore tip to share with the community then come and share here by filling this form

Stay tuned for more tips!

Sunday, 5 November 2017

Are you not able to connect SQL Server on Azure Virtual Machine?

I know that there are plenty of awesome blog posts and articles available out there to troubleshoot this issue and you might have checked most of them before landing to my blog post.

So I am not going to repeat those steps by assuming that you have already checked those steps and still you are not able to connect or access SQL Server on Azure VM via SSMS or your application.

The only step I want you to look at is TCP port setting under SQL Server Configuration Manager.

Go and set your SQL server port number under TCP/IP properties --> IPAll setting as mentioned in above screen-shot and it should fix your problem.

In my case, I tried all the steps mentioned in various blog posts and articles but still I was not able to connect my SQL Server of Azure Virtual Machine via Management Studio. After configuring above setting, I was able to connect successfully. Since I found that this step is not mentioned in most of the nice blog posts, I thought to write quick post on this.

Hope this might help someone.

Tuesday, 8 August 2017

Ways To Integrate Salesforce CRM with Sitecore

May be this is my shortest blog post ever. The purpose of this blog post is to document about the options available to integrate Sitecore with Saleforce CRM.

There are two ways to integrate Salesforce CRM with Sitecore at the time of writing this blog post.

1) Using Salesforce Connect Module 

It is free connector and available on Marketplace.

2) Using S4S Connector from FuseIT

It is paid and available at

Like others, if you are not sure which one to use then read below blog post from Adam on community portal.

Please read below article before making any choice.

Tuesday, 11 July 2017

Are you facing error "Msdn subscription are restricted from provisioning in this region" while setting up Sitecore XP1 on Azure Paas?

I found that there are lot of blog posts available on internet those helps on how to setup Sitecore XP1 on Azure Paas. But there are very few blog posts which talk about the problems/challanges you face while setting up Sitecore on Azure Paas.

In this blog post series, I am going to share those errors which I encountered while setting up Sitecore XP1 on Azure Paas.

If you are facing error like Msdn subscription are restricted from provisioning in this region while setting up Sitecore on Azure Paas, then this blog post may help you.

Now if you read above error carefully in powershell console, then  you can have a rough idea that it is related with the location/region that you have configured for your Storage Account under Azure.

Yes, the problem is the with location that you have provided in your PowerShell script. The location where you are trying to setup Sitecore may not have capabilities of all Azure featues.  Make sure that you have provided correct location where you have created all your Azure resources and have provision of all the Azure features.

I updated Powershell script and tried with East US location which worked for me.

A long story short, you have to try with the correct location in your Sitecore Azure Powershell script. That's it!

Stay tuned for few more such errors encountered during Sitecore XP1 on Azure Paas setup.