WP 3.1 custom post type permlinks

You need to add the following to your register_post_type() array:

'has_archive' => 'service'

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)