Things to try
Here are a couple things you might want to try;
Isolate the problem, if possible;
Make sure you are raising the main sail with the correct halyard. Typically there will be at least two halyards that run through blocks (pulleys) at the top of the mast. One of them is for the head sail (genoa or jib), and one is for the main sail. The halyard for the main sail should run from the head (top) of the main sail, up the aft (back) side of the mast, through a block (pulley), then back down the mast - sometimes to a turning block (another pulley) and then to the wench and/or cleat. If, by chance, you are using the halyard intended for the head sail, then it could be binding at the top of the mast when you try to raise the main sail with it.
Make sure the main halyard raises and lowers easily, without the main sail attached. Instead of raising the main sail, attach another line to the main halyard. Make sure the main halyard goes up and down easily. If not, you may have some problem with the block (pulley) at the top of the mast. Sometimes the sheaves deteriorate and need to be replaced.
Examine the sail track for dents or other defects that could cause the main sail's bolt rope to bind. If the mast was ever dropped or damaged, it could cause the type of problem you described. However, it seems logical that it would also be hard to pull the main sail back down too.
The bolt rope could be binding on the sail slot opening in the mast where the main sail is inserted. Have a friend manually guide the main sail into the track opening as you raise the sail.
If you still find that the main is not going all the way up the mast and is hard to raise, you might want to consider either using a dry lubricant (I saw them mentioned by someone that replied on your previous posting), or modifying the main sail to use nylon sail slides.
I hope this helps you. Please send a reply after trying my suggestions, so I'll know if this really helped you or not.
Thanks,
Bruce