title: SqlDependency.Start - Exception 'Invalid object name..."
body: <p>I am attempting to use the SqlDependency Object to monitor changes in SQL server but I am having an issue with the SqlDependency.Start command.</p>
  
  <p>In SQL server I issue these commands</p>
  
  <pre><code>CREATE QUEUE PJLTestQueue2;
  CREATE SERVICE PJLTestService2 ON QUEUE PJLTestQueue2 ([http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification]);
  </code></pre>
  
  <p>In my code I have</p>
  
  <pre><code>readonly string ConnectionString = "Data Source=***"
  readonly string queueName = "PJLTestQueue2";
  SqlDependency.Start(ConnectionString, queueName);
  </code></pre>
  
  <p>It throws and the exception message is: "Invalid object name 'PJLTestQueue2'."</p>
  
  <p>I can issue the command select *from sys.service_queues and I see the PJLTestQueue2 in the output.</p>
  
  <p>Do I need to configure the queue differently?</p>
  
  <p>Is there some permission that I am missing?</p>