Did you turn the optical output on in the TV menu?
You may also need to turn off the TV speakers and change the audio type in the TV menu.
Did you select the optical input on the Bose?
On some AVRs you have to assign the connection for example optical 2) to an input name (such as TV). Check the Bose manual.