title: Why do I get an SqlClientPermission exception?
body: <p>I have built a C# WinForms application which accesses a SQL Server 2008 for data manipulation.</p>
  
  <p>The application works fine on the machine that was developed on. However when I copy the EXEs and move it to another computer (Windows XP), I got the following error during the login to the system (in other words, when i access the database).  </p>
  
  <pre><code>Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
  </code></pre>
  
  <p>Here's my connection string:</p>
  
  <pre><code>Data Source=vmsql;Integrated Security=SSPI;Initial Catalog=ChequeBookInventory
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/lGiVo.jpg" rel="nofollow">Stack trace is given in a screen shot</a></p>
  
  <p>Any idea how to fix this issue?!</p>