title: RIA Domainservice - Notfound error - how to get more debug information?
body: <p>I'm having problems to find enough information to figure out what's missing on my published Silverlight application.</p>
  
  <p>Running the applicaton locally (but with the db connectionstring to the "live" database), everything is running fine.</p>
  
  <p>However, when I try to run at the published remote site it fails. It seems to be related to the db connection, but I don't get any detailed error from the server.</p>
  
  <p>I've added a "debug" code at RIA service completed method</p>
  
  <pre><code>            if (myLoadOperation.HasError)
              {
                  MessageBox.Show(myLoadOperation.Error.Message);
                  MessageBox.Show(myLoadOperation.Error.InnerException.ToString());
              }
  </code></pre>
  
  <p>The messagebox displays: 
  Load operation fail for the query 'GetData'. The remote server returned an error : NotFound</p>
  
  <p>What is not found??!?</p>
  
  <p>Additional information I get from JIT Debugger (VS2010)
  NotFound. at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)</p>
  
  <p><img src="https://i.stack.imgur.com/hapYG.jpg" alt="enter image description here"></p>
  
  <p>I suspect that it might be a dll related to EF or RIA which may be missing on the remote server, but I'm not quite sure how to identify what's wrong. It's a shared hosting environment.</p>
  
  <p>Could it be located to the MySQL provider? </p>
  
  <pre><code>connectionString="metadata=res://*/Model.Model1.csdl|res://*/Model.Model1.ssdl|res://*/Model.Model1.msl;provider=MySql.Data.MySqlClient;provider connection string=&amp;quot;server=xxxxxxxxx;User Id=xxxxxxx;password=xxxxxxxxx;Persist Security Info=True;Allow Zero Datetime=True;Convert Zero Datetime=true;database=xxxxxxxxxx;" providerName="System.Data.EntityClient"
  </code></pre>
  
  <p>I've uploaded the following dll's to the server's bin folder:</p>
  
  <pre><code>System.ServiceModel.DomainServices.EntityFramework.dll
  System.ServiceModel.DomainServices.Hosting.dll
  System.ServiceModel.DomainServices.Hosting.OData.dll
  System.ServiceModel.DomainServices.Hosting.Server.dll
  </code></pre>