Surendra Sharma

Surendra Sharma

Search This Blog

Monday, June 29, 2015

Gurgaon RTO – How to get new RC for other state vehicle

I relocated from Pune to Gurgaon i.e. Maharastra to Haryana.

So I want new Haryana registration number for my bike to avoid any hurdle from Gurgaon police. This process known here as re-registration of vehicle brought to Haryana from other states.

I received my NOC from Pune. If you want to know how to get NOC from Pune RTO, please read my article from here.

You have to submit below papers in a file to Gurgaon RTO



 
You need 3 different local address proof of Gurgaon. I submitted Bank passbook, Rent agreement, Gas connection copy. If you r submitting Company letter then u have to attach ID card Xerox as well.

NCR [National Crime Record] report of your vehicle can be downloaded from here http://164.100.44.112:8181/Internetquery.aspx
Just fill submit Name, City, Vehicle Type, Vehicle Make, Registration No. like MH31AB1111, Chassis [Only last 7 digit], Engine No [last 8 digit] and take the 1 printout.

If you don’t have this NCR certificate then take print out from outside guys who are sitting beside RTO but they charge it for Rs. 20 [Why to give Rs. 20 when you can do it from your own]

First thing in Gurgaon RTO is inspection of your bike and NOC letter.

Your bike chassis no. must match with chassis no. mentioned on NOC.

When I tried to submit my NOC in Gurgaon RTO, the inspection guy rejected it as my chassis no. on NOC was not complete. Unfortunately last 3 letters are missing. Gurgaon RTO can’t do anything here. You have to get either new NOC or Pune RTO should write the missing number with RTO seal on your current NOC.

This was not possible for me to visit to Pune again just for this. So I mailed my all related bike paper with NOC to one my friend in Pune. Fortunately he corrected the number from Pune RTO and courier me the new NOC document.

Here are the sequence of steps that you need to follow in Gurgaon RTO

·         Take Form 20 and one file from first counter. He will charge Rs. 10 for it.
·         Inspection of bike - This time inspection guy approved this new NOC, bike and he signed on the paper.
·         Take stamp and sign from room no. 307
·         Submit all papers to RC counter 1.
·         From RC counter 1, you have to visit to Right corner person Vikas to verify your NOC. He provides you the verification report print out.
·         After this you have to submit the fees at fees counter. In my case it was Rs. 2410. I had not that much of amount at that time so they kept my file and told me to withdraw money from outside ATM. They are not accepting any debit, credit card. So I suggest you all guys that always keep money around 3000 Rs. with you. From fees counter I submitted money and they issue the receipt.
·         I attached the receipt to file and again submitted to RC counter. This time they issue me one useless small paper on which they mention the date of 25 days ahead and told me to visit on that date for RC. Take care of this paper as it is very important otherwise you have to face lots of problem to receive the new RC.
·         I visited after 30 days and Voilaaa I receive new RC :)

I changed my bike number with this new number and now I can move to anywhere in Haryana and Delhi NCR area without any tension.

Please leave your comments or share these tips if it’s useful for you.

Saturday, June 27, 2015

Session timeout in Sitecore 8.0



If you are working with Sitecore 8.0, you may get Session timeout problem which was never happened in previous versions like Sitecore 6.2.

If you want the same functionality in sitecore 8.0 so that your Sitecore 8 session never expire than use the below trick.

To achieve this behavior users just need to check the Remember Me check box when logging in as shown in below picture




Please leave your comments or share this trick if it’s useful for you.

Wednesday, June 24, 2015

One or more of the added lists are currently locked. The information in the Recipients section is not updated until all lists are unlocked.

If you are working with Sitecore 8 EXM [Email Experience Manager] module then you might get this notification while creating recipients list One or more of the added lists are currently locked. The information in the Recipients section is not updated until all lists are unlocked.

What this message suggest and how to fix it?

Well its indicating that status of your current new included recipient list is “Building”.

To avoid this error the status should be blank as shown in below image



Now how to change status from Building to blank.

Take it easy man. Just wait for some time 15-30 min. Sitecore itself change the status to blank J

Please leave your comments or share this tip if it’s useful for you.

Friday, June 19, 2015

1 line of code to preview image without uploading to server in ASP.NET

You say, you don’t want to upload image to server in ASP.NET website but still want to see the preview of image.

Here is a trick.

Create aspx page with below controls.

<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Preview" OnClick="Button1_Click" /><br />
<img id="imgAny" runat="server" border="0" />

Write below C# code in button event.

protected void Button1_Click(object sender, EventArgs e)
{
    if (FileUpload1 != null && FileUpload1.HasFile)
    {
        imgAny.Src = @"data:image/*;base64," + Convert.ToBase64String(FileUpload1.FileBytes);
    }
}

Just fucking 1 line of code ;)

How it work?

Get the bytes of your image and convert into base 64. 
Set image mime type to image with base 64 and append the image string. 
That's it!!!


Please leave your comments or share this code if it’s useful for you.

Tuesday, June 16, 2015

Sitecore website Session is expiring after 2-10 min


I was working with one Sitecore 7.5 website where session is expiring problem is occurring. This is happening in all browsers. The issue was strange as normally ASP.NET maintain session for 16 minute by default.

I was keeping some website related information in Session.

·         I have set session for more than 60 minutes in web.config file but session is expiring after 2-10 minutes. (sporadic behavior)

·         The problem is also occurring even when site is not idle. (again sporadic)
I have checked the Sitecore log files and saw some suspected messages which may be pointing to this problem

·         Overriding expired contact session lock. This typically means the previous request for the contact did not release session state properly or is taking too long to execute.
·         WARN  Overriding expired contact session lock for contact id: c855c633-7974-44a8-b436-6da08dc1743e

Solution:

Disable Analytics Robot Detection by setting value false in 'Sitecore.Analytics.Tracking.config' as:
<setting name="Analytics.AutoDetectBots" value="false" />


Please leave your comments or share this tip if it’s useful for you.

Friday, June 12, 2015

The Sitecore App Center password is not set.

If you are working with Sitecore 8 EXM [Email Campaign Manager] module then you might get error The <a href='/sitecore/shell/Applications/SitecoreApps/Loader.aspx' target='_blank'>Sitecore App Center</a> password is not set.

What this message suggest and how to fix it?

If you are using custom mail server instead of Sitecore App Center then you need to set the “UseLocalMTA” as “true” in Sitecore.EmailCampaign.config with SMTP details.

However due to “Sitecore.EmailCampaign_old.config” file, your all these settings will be blank. You can check related message in log file as A duplicate setting "UseLocalMTA" has been detected in the Sitecore.EmailCampaign_old.config file. The value of the setting will be changed to "false".

Solution: Just delete the Sitecore.EmailCampaign_old.config file for fixing this issue.


Please leave your comments or share this tip if it’s useful for you.