Dial long numbers and get service response

I am programming using AT commands sent to serial port.

I am not getting any service response from ATD*111# etc.

Secondly if i want to dial a long service number it gives me error message +CME Error 26.

how can this be solved. thanking in anticipation