Your post doesn't tell us anything other then your trying to connect two switches into a stack, are these two standalone devices currently in production or are they new and you are trying to establish a stack for the first time?
Below is a basic procedure to join two new standalone switches to form a two switch stack
Note: Make sure both switches have the same ios/feature set and running image other then LAN lite!
1) Power up both switches standalone ( not connect)
2) On your switch you wish to be the master apply the following:
Master Switch 1
switch 1 priority 15
switch 2 provison WS-C2960X-24TS-L
Secondary Switch 2
switch 1 renumber 2
switch 2 priority 13
3) Power down both switches
4) Connect the switches together via their flex stack cables
5) Power up switch 1 ...wait about 30 -40 seconds then power up switch 2
If all is well then the two switches will become stacked one the election process has completed and the switches have come online.