title: Deploying a Silverlight Application with built-in ASMX WebService to IIS
body: <p>I've got a Silverlight application which uses a built-in .ASMX WebService to access a SQL database and run some queries. Everything runs without any hitches on my Development machine. </p>
  
  <p>I'm trying to deploy the application to IIS 6 and I'm having some issues. </p>
  
  <p>The Silverlight application itself seems to run fine, however the Web Service does not. I get an unhandled exception error that says [Async_ExceptionOcurred] as soon as the page loads (when the page loads I'm making some Async WebService method calls). </p>
  
  <p>I think this is an issue with the Web Service but I don't know what the problem is. I tried setting the WebService namespace to my URL, but that didn't work. I've tried messing with the SQL connection string in my Web Config but that also affects nothing. </p>
  
  <p>One thing to note is that my IIS Virtual Directory only contains my SilverlightApp.Web folder. I know that the other folder that's part of the application contains a .ClientSettings file for the WebService, but I think this is embedded into the .xap. </p>
  
  <p>Can anyone shed any light on this? </p>