You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I upgraded my Xamarin forms to Xamarin Maui. The database is hosted in Azure SQL. I created the API and published it in Azure. I followed the documentation.
When the process gets to the pullItemAsync, it crashes and throws the error message. at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<>n__0(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.Datasync.Client.Http.ServiceHttpClient.SendAsync(HttpRequestMessage requestMessage, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Http.ServiceHttpClient.SendAsync(ServiceRequest serviceRequest, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.RemoteTable.SendRequestAsync(ServiceRequest request, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.RemoteTable.GetNextPageAsync(String query, String requestUri, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.FuncAsyncPageable1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext()
at Microsoft.Datasync.Client.Table.FuncAsyncPageable1.<AsPages>d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token) at Microsoft.Datasync.Client.Table.AsyncPageable1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext()
at Microsoft.Datasync.Client.Table.AsyncPageable1.<GetAsyncEnumerator>d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext() at Microsoft.Datasync.Client.Table.AsyncPageable1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)
at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)
at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I upgraded my Xamarin forms to Xamarin Maui. The database is hosted in Azure SQL. I created the API and published it in Azure. I followed the documentation.
When the process gets to the pullItemAsync, it crashes and throws the error message.
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<>n__0(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.Datasync.Client.Http.ServiceHttpClient.SendAsync(HttpRequestMessage requestMessage, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Http.ServiceHttpClient.SendAsync(ServiceRequest serviceRequest, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.RemoteTable.SendRequestAsync(ServiceRequest request, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.RemoteTable.GetNextPageAsync(String query, String requestUri, CancellationToken cancellationToken) at Microsoft.Datasync.Client.Table.FuncAsyncPageable
1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext()at Microsoft.Datasync.Client.Table.FuncAsyncPageable
1.<AsPages>d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token) at Microsoft.Datasync.Client.Table.AsyncPageable
1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext()at Microsoft.Datasync.Client.Table.AsyncPageable
1.<GetAsyncEnumerator>d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].MoveNext() at Microsoft.Datasync.Client.Table.AsyncPageable
1.d__2[[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)
at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)
at Microsoft.Datasync.Client.Offline.SyncContext.PullItemsAsync(String tableName, String query, PullOptions options, CancellationToken cancellationToken)`
Please advice.
Thank you.
Kamal
Beta Was this translation helpful? Give feedback.
All reactions