<p>I am adding a ADO.Net Data Service lookup feature to an existing web page.  Everything works great when running from visual studio, but when I roll it out to IIS, I get the following error:</p>

<blockquote>
  <p><strong>Request Error</strong><br>The server encountered an error processing the request. See server logs for more details.</p>
</blockquote>

<p>I get this even when trying to display the default page, i.e.:</p>

<blockquote>
  <p><a href="http://server/FFLookup.svc" rel="noreferrer">http://server/FFLookup.svc</a></p>
</blockquote>

<p>I have 3.5 SP1 installed on the server.</p>

<p>What am I missing, and which "Server Logs" is it refering to?  I can't find any further error messages.</p>

<p>There is nothing in the Event Viewer logs (System or Application), and nothing in the IIS logs other than the GET:</p>

<blockquote>
  <p>2008-09-10 15:20:19 10.7.131.71 GET /FFLookup.svc - 8082 - 10.7.131.86 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US)+AppleWebKit/525.13+(KHTML,+like+Gecko)+Chrome/0.2.149.29+Safari/525.13 401 2 2148074254</p>
</blockquote>

<p>There is no stack trace returned.  The only response I get is the "Request Error" as noted above.</p>

<p>Thanks</p>

<p>Patrick</p>

[{'answer_id': 55557, 'author': 'Patrick Connelly', 'author_id': 5431, 'author_profile': 'https://Stackoverflow.com/users/5431', 'pm_score': 4, 'selected': False, 'text': '<p>Well I found the "Server Logs" mentioned in the error above.</p>\n\n<p>You need to turn on tracing in the web.config file by adding the following tags:</p>\n\n<pre><code>    &lt;system.diagnostics&gt;\n      &lt;sources&gt;\n        &lt;source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing" &gt;\n            &lt;listeners&gt;\n                &lt;add name="ServiceModelTraceListener"/&gt;\n            &lt;/listeners&gt;\n        &lt;/source&gt;\n\n        &lt;source name="System.ServiceModel" switchValue="Verbose,ActivityTracing"        &gt;\n            &lt;listeners&gt;\n                &lt;add name="ServiceModelTraceListener"/&gt;\n            &lt;/listeners&gt;\n        &lt;/source&gt;\n        &lt;source name="System.Runtime.Serialization" switchValue="Verbose,ActivityTracing"&gt;\n            &lt;listeners&gt;\n                &lt;add name="ServiceModelTraceListener"/&gt;\n            &lt;/listeners&gt;\n        &lt;/source&gt;\n    &lt;/sources&gt;\n    &lt;sharedListeners&gt;\n        &lt;add initializeData="App_tracelog.svclog"   \n                        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"\n                        name="ServiceModelTraceListener" traceOutputOptions="Timestamp"/&gt;\n    &lt;/sharedListeners&gt;\n&lt;/system.diagnostics&gt;\n</code></pre>\n\n<p>This will create a file called app_tracelog.svclog in your website directory.</p>\n\n<p>You then use the SvcTraceViewer.exe utility to view this file.  The viewer does a good job of highlighting the errors (along with lots of other information about the communications).</p>\n\n<p><strong>Beware: The log file created with the above parameters grows very quickly.  Only turn it on during debuging!</strong></p>\n\n<p>In this particular case, the problem ended up being the incorrect version of OraDirect.Net, our Oracle Data Provider.  The version we were using did not support 3.5 SP1.</p>\n'}, {'answer_id': 277112, 'author': 'James_2195', 'author_id': 36086, 'author_profile': 'https://Stackoverflow.com/users/36086', 'pm_score': 5, 'selected': False, 'text': '<p>In order to verbosely display the errors resulting from your data service you can place the following tag above your dataservice definition:</p>\n\n<pre><code>[System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)]  \n</code></pre>\n\n<p>This will then display the error in your browser window as well as a stack trace.</p>\n\n<p>In addition to this dataservices throws all exceptions to the HandleException method so if you implement this method on your dataservice class you can put a break point on it and see the exception:</p>\n\n<pre><code>protected override void HandleException(HandleExceptionArgs e)\n{\n  try\n  {\n    e.UseVerboseErrors = true;\n  }\n  catch (Exception ex)\n  {\n    Console.WriteLine(ex.Message);\n  }\n}\n</code></pre>\n'}, {'answer_id': 3182489, 'author': 'chitza', 'author_id': 2073, 'author_profile': 'https://Stackoverflow.com/users/2073', 'pm_score': 0, 'selected': False, 'text': "<p>For me the error was caused by two methods having the same name (unintended overloading).</p>\n\n<blockquote>\n  <p>Overloading is not supported but type 'abc' has an overloaded method 'Void SubmitCart(System.String, Int32)'.</p>\n</blockquote>\n\n<p>I found out by running the service in debug mode.</p>\n"}]
['https://Stackoverflow.com/questions/54380', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5431/']