Error in accessing data using ADO.Net data serviceHi <br/> By watching the How to video for ADO.Net data service by Mike Flasko http://msdn.microsoft.com/en-us/data/cc745957.aspx<br/> I created a data accessing service grsDataService.svc in webrole. I am able to access the names of all tables in DB but not the actual table data as shown in video. I can do it very well in dev fabric. But not in that deployed on cloud, http://4758809a77084a18bd0ec1ac6b4a1ff9.cloudapp.net/grsDataService.svc/<br/> And to access the particular table data - <br/> http://4758809a77084a18bd0ec1ac6b4a1ff9.cloudapp.net/grsDataService.svc/tblAction<br/>  <br/> Do I missed something ?<br/>  <br/> Thanks,<br/> Prashant.<br/> <br/> <br/>© 2009 Microsoft Corporation. All rights reserved.Fri, 03 Jul 2009 07:07:41 Z81b890a1-bfdd-4e1d-bfd3-f0887b88a412http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#81b890a1-bfdd-4e1d-bfd3-f0887b88a412http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#81b890a1-bfdd-4e1d-bfd3-f0887b88a412Prashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data serviceHi <br/> By watching the How to video for ADO.Net data service by Mike Flasko http://msdn.microsoft.com/en-us/data/cc745957.aspx<br/> I created a data accessing service grsDataService.svc in webrole. I am able to access the names of all tables in DB but not the actual table data as shown in video. I can do it very well in dev fabric. But not in that deployed on cloud, http://4758809a77084a18bd0ec1ac6b4a1ff9.cloudapp.net/grsDataService.svc/<br/> And to access the particular table data - <br/> http://4758809a77084a18bd0ec1ac6b4a1ff9.cloudapp.net/grsDataService.svc/tblAction<br/>  <br/> Do I missed something ?<br/>  <br/> Thanks,<br/> Prashant.<br/> <br/> <br/>Thu, 25 Jun 2009 12:38:45 Z2009-07-03T07:06:05Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#d243c957-8298-4453-8720-7fe9ae7a4ac3http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#d243c957-8298-4453-8720-7fe9ae7a4ac3Yi-Lun Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Yi-Lun%20LuoError in accessing data using ADO.Net data serviceHello, please add the following attribute on your service class, and you'll be able to see the detailed error message.<br/><br/>[ServiceBehavior(IncludeExceptionDetailInFaults = true)]<br/><br/>By the way, what is your data source? Is it Azure Table Storage or a database? If the data source comes from a database, it will not work in Windows Azure because currently we do not support database.<hr class="sig">Lante, shanaolanxing This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 26 Jun 2009 05:59:05 Z2009-06-26T05:59:05Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#32e786c9-9a0a-456e-a240-c388414c3f58http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#32e786c9-9a0a-456e-a240-c388414c3f58Prashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data serviceHi Luo,<br/><br/>I am accessing my local <strong>SQL DB</strong> through ADO.Net service. I can access it using an application at devlopment fabric but not at same deployed on cloud. On cloud I get table list only. &gt;&gt;<br/><a href="http://8128041e2eb44b64bc04542092b0e188.cloudapp.net/grsdataservice.svc/">http://8128041e2eb44b64bc04542092b0e188.cloudapp.net/grsdataservice.svc/</a><br/><br/>And for particular table &gt;&gt; <a href="http://8128041e2eb44b64bc04542092b0e188.cloudapp.net/grsdataservice.svc/tblAction/">http://8128041e2eb44b64bc04542092b0e188.cloudapp.net/grsdataservice.svc/tblAction/</a><br/>I gives error -- <br/><br/>In Mozila I get  &gt;&gt; An error occurred while processing this request<br/>and in IE &gt;&gt; HTTP 500 Internal Server Error<br/><br/>The attribute you suggested did not help to get detailed error message. :(<br/>If it does not support how it give me the list of tables in my local DB ?<br/><br/>Thanks,<br/>Prashant.<br/>Fri, 26 Jun 2009 07:54:28 Z2009-06-26T08:49:34Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#431f7222-eff5-4212-b0c0-70ffe611982ehttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#431f7222-eff5-4212-b0c0-70ffe611982eYi-Lun Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Yi-Lun%20LuoError in accessing data using ADO.Net data serviceThe cloud machines don't have SQL Server installed. So you cannot use database. Please use Azure table storage instead.<hr class="sig">Lante, shanaolanxing This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 26 Jun 2009 07:56:10 Z2009-06-26T07:56:10Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#c1353f76-4e25-4c75-8a53-bf44550a3bddhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#c1353f76-4e25-4c75-8a53-bf44550a3bddPrashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data service<p>This is the stacktrace --</p> <p>&quot;   at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, Uri requestUri)\r\n   at System.Data.Services.Client.DataServiceQuery`1.Execute()\r\n   at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()\r\n   at SqlDataService_WebRole._Default.Page_Load(Object sender, EventArgs e) in f:\\AZURE\\My Samples\\SqlDataService\\SqlDataService_WebRole\\Default.aspx.cs:line 26\r\n   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n   at System.Web.UI.Control.OnLoad(EventArgs e)\r\n   at System.Web.UI.Control.LoadRecursive()\r\n   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&quot;<br/><br/>And error message -- An error occured while processing request.<br/><br/><br/>Thanks,<br/>prashant</p>Fri, 26 Jun 2009 10:47:02 Z2009-06-26T10:47:02Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#7b048aa3-3c8d-4b0e-aa9b-d5673cc0ba27http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#7b048aa3-3c8d-4b0e-aa9b-d5673cc0ba27Stephane GUNEThttp://social.msdn.microsoft.com/Profile/en-US/?user=Stephane%20GUNETError in accessing data using ADO.Net data serviceThe server in the cloud cannot access your database. It knows the table structure because it is stored in your ADO.NET Data Service (probably in an .edmx file), but it cannot retrieve the data, which is stored on your local machine, unless you open your firewall to allow access to your SQL Server from the internet (and have a fixed IP address). <br/><br/>If you want to publish a database hosted on your machine, you would have to host the ADO.NET Data Service on your machine, and publish it using the Service Bus.Sun, 28 Jun 2009 14:18:16 Z2009-06-28T14:18:16Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#968fae4a-5d2b-48f8-8fd8-148f2e17f384http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#968fae4a-5d2b-48f8-8fd8-148f2e17f384Prashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data serviceHi Stephane,<br/> <br/> Can you please give me pointers on publishing that ADO.net service on service bus?<br/> <br/> Thanks,<br/> Prashant.Mon, 29 Jun 2009 06:49:05 Z2009-06-29T06:49:05Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#3cfe699a-645f-4c9f-a11a-beb2a4af06cfhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#3cfe699a-645f-4c9f-a11a-beb2a4af06cfStephane GUNEThttp://social.msdn.microsoft.com/Profile/en-US/?user=Stephane%20GUNETError in accessing data using ADO.Net data service<p>I might have been a bit hasty in suggesting this solution, since I've never done it myself, but I found this post by Christian Weyer which is probably a good starting point :<br/><a href="http://blogs.thinktecture.com/cweyer/archive/2007/12/11/415057.aspx">http://blogs.thinktecture.com/cweyer/archive/2007/12/11/415057.aspx</a><br/>If you use webHttpRelayBinding, and specify the necessary credentials before opening the host, that should (hopefully...) do the trick.</p>Mon, 29 Jun 2009 07:55:47 Z2009-06-29T07:55:47Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#e365ffd1-f5e5-440c-a7d3-70e91cadc2d7http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#e365ffd1-f5e5-440c-a7d3-70e91cadc2d7Prashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data serviceThanks for reply Stephane,<br/> <br/> I am not able to find the DLL Microsoft.Data.Web which is required by the samples in your link.  :(<br/> <br/> <br/> <br/> Prashant.<br/> <br/> <br/>Mon, 29 Jun 2009 09:18:50 Z2009-06-29T09:18:50Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#ce5022e4-9c11-4310-83a2-9f42bf181848http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#ce5022e4-9c11-4310-83a2-9f42bf181848Stephane GUNEThttp://social.msdn.microsoft.com/Profile/en-US/?user=Stephane%20GUNETError in accessing data using ADO.Net data serviceMight be an error in the article, IRequestHandler is defined in System.Data.ServicesMon, 29 Jun 2009 09:52:25 Z2009-06-29T09:52:25Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#f967980b-0542-46aa-ad92-99f9259d3256http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/81b890a1-bfdd-4e1d-bfd3-f0887b88a412#f967980b-0542-46aa-ad92-99f9259d3256Prashant Phallehttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20PhalleError in accessing data using ADO.Net data serviceHi Stephane, <br/> Thanks a lot for providing the link.<br/> I worked on it. <br/> I am able to share my SQL data thru service bus. :)<br/> <br/> <strong></strong> Thanks,<br/> Prashant.<br/> <br/>Mon, 29 Jun 2009 13:43:03 Z2009-06-29T14:03:13Z