Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column with name "column" is not defined on the local table "table" #1662

Closed
gayan1991 opened this issue Mar 28, 2017 · 1 comment
Closed

Comments

@gayan1991
Copy link

I am having a real issue with an error. It is partially killing me.

I am getting an error saying System.InvalidOperationExceptionColumn with name 'WOType' is not defined on the local table 'WorkOrder' when user is trying to insert data to sqlite DB. However, when I try to create this error by debuggin, It is working smoothly. Normally, we deploy a package through VSTS. The package comes from the VSTS gives this issue. A detailed error has been caught using xamarin insights and i have copied the whole error below. Please, take a look at let me know.

Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceLocalStoreExceptionFailed to perform operation on local store.
at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncContext+<>c__DisplayClass67+<b__66>d__69.MoveNext () [0x00198] in :0

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncContext.d__6f.MoveNext()

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncContext.d__e.MoveNext()

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncTable.d__0.MoveNext()

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncTable.d__7.MoveNext()

at Retread.CR.Mobile.Data.Repository.WorkOrderRepository.d__0.MoveNext()

at Retread.CollectorReceiver.Mobile.Services.WorkOrderService.d__9.MoveNext()

at Retread.CR.Mobile.Mvvm.ViewModels.WorkOrderViewModel.d__154.MoveNext()

at Android.App.SyncContext.c__AnonStorey0.<>m__0()

at Java.Lang.Thread.RunnableImplementor.Run()

at Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this)

at (wrapper dynamic-method) System.Object:60a89bb9-8f70-420d-b291-b2ed8c9e4724 (intptr,intptr)

System.InvalidOperationExceptionColumn with name 'WOType' is not defined on the local table 'WorkOrder'.
at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore.UpsertAsyncInternal(string tableName, IEnumerable<_> items, bool ignoreMissingColumns)

at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore.UpsertAsync(string tableName, IEnumerable<_> items, bool ignoreMissingColumns)

at Microsoft.WindowsAzure.MobileServices.Sync.LocalStoreProxy.UpsertAsync(string tableName, IEnumerable<_> items, bool ignoreMissingColumns)

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceLocalStoreExtensions.UpsertAsync(IMobileServiceLocalStore store, string tableName, JObject item, bool fromServer)

at Microsoft.WindowsAzure.MobileServices.Sync.InsertOperation.d__0.MoveNext()

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncContext+<>c__DisplayClass67+<b__66>d__69.MoveNext () [0x00171] in :0

@Cheesebaron
Copy link
Member

Sorry, what does this have to do with MvvmCross?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants