Hey I had exactly the same thing happen, and thought it was the output seal. So in the process of replacing that, I found the crack. Like all the other guys said, make sure it's very clean. The best thing to use is would be laquer thinner or acetone. Keep wiping ang cleaning till there are no streaks and the edges to be cleaned are thoroughly clean. A small brass brush works great for this. Then let all the vapors flash off. This may take awhile if you got it really wet, and if any of the cleaner is still in the metal, it will try to escape through the JB weld. Once everything is clean and dry, mix up your ORIGINAL Jb weld, not the quick stuff. If you read the packages, the quick stuff doesn't hold up to the same heat as the original. Now after very thoroughly mixing up your JB weld, butter up both the case and the piece which broke off. If your case just cracked and didn't fall off, it may be better to break the piece off, as it was mine, to get a complete bond and seal. Now just follow the directions and whatever you do, don't fire up you quad till everything is completely dry. If you do, the pressure will blow out the Jb weld .
Now if yours broke like mine, the crack went in between the two screws holding the plastic sprocket cover on, meaning one screw goes into the main part of the case, and one goes into the broken off piece. Now theres also a 10mm bolt holding that same cover to the frame. Take this bolt out. This will prevent the flexing between the frame and engine from tearing your broken piece off.
I did this repair back in april, and haven't lost a drop of oil since. If done right, this can be a quality repair, and if you don't get too messy with it, it will look like a casting mark, and probably never be noticed.