’05 sportsman 500

kinda stumped.Just swapped out the starter for a new one (what a PITA!!).So now the starter turns over. but the bike wont start!
battery tested and fully charged
new solenoid
new sparkplug
pulled the plug and grounded it against the head–no spark.
when I turn the key to the ON position,there is a spark,but when I try to Crank it,there is NO SPARK.
I’m really confused and hope some of you guys can help me out.

I must also say that this site is AWESOME!I have saved sooo much time,money and frustration by gleaning info from here,its incredible.
I do hope I can return the favor to someone.