locked
Exception has been thrown by the target of an invocation RRS feed

  • Question

  • Exception has been thrown by the target of an invocation

    I get this error on one page of the application it is hosted in Azure log file below this is a bit out of my depth anybody out there clever enough to help

    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients] Executing 'Clients'
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients] Executing 'Clients'
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Client]).MergeAs(AppendOnly).Where(it => (it.Active == True)).LongCount()
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Client]).MergeAs(AppendOnly).Where(it => (it.Active == True)).LongCount()
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Client]).MergeAs(AppendOnly).Where(it => (it.Active == True)).OrderBy(element => element.CID).Skip(0).Take(45)
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Client]).MergeAs(AppendOnly).Where(it => (it.Active == True)).OrderBy(element => element.CID).Skip(0).Take(45)
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:QueryExecuted] The query returned 4 results.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Clients:QueryExecuted] The query returned 4 results.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Invoking user method: Business_ITDataService.Query_Executed 
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Invoking user method: Business_ITDataService.Query_Executed 
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executed] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executed] A user implemented method does not exist.
    2014-05-22T13:21:04  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Execution completed.
    2014-05-22T13:21:04  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts] Executing 'Contracts'
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts] Executing 'Contracts'
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] Invoking user method: Business_ITDataService.Contracts_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] Invoking user method: Business_ITDataService.Contracts_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Invoking user method: Business_ITDataService.Contracts_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Invoking user method: Business_ITDataService.Contracts_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Contract]).MergeAs(AppendOnly).Where(it => (it.Client1.CID == 1)).LongCount()
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Contract]).MergeAs(AppendOnly).Where(it => (it.Client1.CID == 1)).LongCount()
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Contract]).MergeAs(AppendOnly).Where(it => (it.Client1.CID == 1)).OrderBy(p => p.ContractID).Skip(0).Take(45).Select(p => new ExpandedWrapper`2() {ExpandedElement = p, Description = "Client1", ReferenceDescription = "Client1", ProjectedProperty0 = p.Client1})
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Contract]).MergeAs(AppendOnly).Where(it => (it.Client1.CID == 1)).OrderBy(p => p.ContractID).Skip(0).Take(45).Select(p => new ExpandedWrapper`2() {ExpandedElement = p, Description = "Client1", ReferenceDescription = "Client1", ProjectedProperty0 = p.Client1})
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:QueryExecuted] The query returned 1 results.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Contracts:QueryExecuted] The query returned 1 results.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Invoking user method: Business_ITDataService.Query_Executed 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Invoking user method: Business_ITDataService.Query_Executed 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executed] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executed] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executed] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Invoking user method: Application.Application_Initialize 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][LightSwitchServiceApplication:Initialize] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][LightSwitchServiceApplication:Initialize] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:User] grahamfry(Graham Fry)
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.Security][Application:Information][SecurityState:EffectivePermissions] Effective Permissions: Microsoft.LightSwitch.Security:SecurityAdministration | LightSwitchApplication:Managers | LightSwitchApplication:StandardUser | LightSwitchApplication:Technicians
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks] Executing 'Tasks'
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks] Executing 'Tasks'
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:CanRead] Invoking user method: Business_ITDataService.Tasks_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:CanRead] Invoking user method: Business_ITDataService.Tasks_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Tasks:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Tasks:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Invoking user method: Business_ITDataService.Query_Executing 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:Executing] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:Executing] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] Invoking user method: Business_ITDataService.Contracts_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] Invoking user method: Business_ITDataService.Contracts_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:Filter] Invoking user method: Business_ITDataService.Tasks_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:Filter] Invoking user method: Business_ITDataService.Tasks_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Tasks:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Tasks:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Tasks:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Invoking user method: Business_ITDataService.Contracts_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Invoking user method: Business_ITDataService.Contracts_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Contracts:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Contracts:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Task]).MergeAs(AppendOnly).Where(it => (it.Contract1.ContractID == 1)).LongCount()
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Task]).MergeAs(AppendOnly).Where(it => (it.Contract1.ContractID == 1)).LongCount()
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:CanRead] Invoking user method: Business_ITDataService.Technicians_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:CanRead] Invoking user method: Business_ITDataService.Technicians_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Technicians:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Technicians:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] Invoking user method: Business_ITDataService.Clients_CanRead 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:CanRead] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:CanRead] CanRead returned 'True'.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:Filter] Invoking user method: Business_ITDataService.Technicians_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:Filter] Invoking user method: Business_ITDataService.Technicians_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Technicians:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Technicians:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Technicians:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Invoking user method: Business_ITDataService.Clients_Filter 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Clients:Filter] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Clients:Filter] Execution completed.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Task]).MergeAs(AppendOnly).Where(it => (it.Contract1.ContractID == 1)).OrderBy(p => p.TID).Skip(0).Take(45).Select(p => new ExpandedWrapper`3() {ExpandedElement = p, Description = "Technician1,Client1", ReferenceDescription = "Technician1,Client1", ProjectedProperty0 = p.Technician1, ProjectedProperty1 = p.Client1})
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.DataService][Application:Information][LightSwitchServiceApplication.Business_ITData:Tasks:DataProviderQuery] value(System.Data.Objects.ObjectQuery`1[LightSwitchApplication.Implementation.Task]).MergeAs(AppendOnly).Where(it => (it.Contract1.ContractID == 1)).OrderBy(p => p.TID).Skip(0).Take(45).Select(p => new ExpandedWrapper`3() {ExpandedElement = p, Description = "Technician1,Client1", ReferenceDescription = "Technician1,Client1", ProjectedProperty0 = p.Technician1, ProjectedProperty1 = p.Client1})
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.DataService][Application:Error][LightSwitchServiceApplication.Business_ITData:Tasks] An exception has occurred:  Microsoft.LightSwitch.DataServiceOperationException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'.  ---> System.Data.ConstraintException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'. 
       at System.Data.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
       at lambda_method(Closure , Shaper )
       at System.Data.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
       at lambda_method(Closure , Shaper )
       at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
       at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
       at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceQueryProvider.QueryableWrapper`1.<>c__DisplayClass10.<GetEnumerator>b__f()
       at Microsoft.LightSwitch.Threading.DispatcherExtensions.Invoke(IDispatcher dispatcher, Action action)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataService`1.Microsoft.LightSwitch.ServerGenerated.Implementation.IODataService.LogicInvoke(Action a)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceQueryProvider.QueryableWrapper`1.GetEnumerator()
       at System.Data.Services.Providers.BasicExpandProvider.ExpandedQueryable`1.GetEnumerator()
       at System.Data.Services.Providers.BasicExpandProvider.ExpandedQueryable`1.System.Collections.IEnumerable.GetEnumerator()
       at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable)
       at System.Data.Services.QueryResultInfo.MoveNext()
       at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService, IODataResponseMessage responseMessage)
       at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
       at System.Data.Services.DataService`1.HandleRequest()
       --- End of inner exception stack trace ---
    2014-05-22T13:21:05  PID[2368] Error       [Microsoft.LightSwitch.DataService][Application:Error][LightSwitchServiceApplication.Business_ITData:Tasks] An exception has occurred:  Microsoft.LightSwitch.DataServiceOperationException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'.  ---> System.Data.ConstraintException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'. 
       at System.Data.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
       at lambda_method(Closure , Shaper )
       at System.Data.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
       at lambda_method(Closure , Shaper )
       at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
       at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
       at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceQueryProvider.QueryableWrapper`1.<>c__DisplayClass10.<GetEnumerator>b__f()
       at Microsoft.LightSwitch.Threading.DispatcherExtensions.Invoke(IDispatcher dispatcher, Action action)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataService`1.Microsoft.LightSwitch.ServerGenerated.Implementation.IODataService.LogicInvoke(Action a)
       at Microsoft.LightSwitch.ServerGenerated.Implementation.DataServiceQueryProvider.QueryableWrapper`1.GetEnumerator()
       at System.Data.Services.Providers.BasicExpandProvider.ExpandedQueryable`1.GetEnumerator()
       at System.Data.Services.Providers.BasicExpandProvider.ExpandedQueryable`1.System.Collections.IEnumerable.GetEnumerator()
       at System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable enumerable)
       at System.Data.Services.QueryResultInfo.MoveNext()
       at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService, IODataResponseMessage responseMessage)
       at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
       at System.Data.Services.DataService`1.HandleRequest()
       --- End of inner exception stack trace ---
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:ExecuteFailed] Invoking user method: Business_ITDataService.Query_ExecuteFailed 
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:ExecuteFailed] Invoking user method: Business_ITDataService.Query_ExecuteFailed 
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:ExecuteFailed] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Verbose][Business_ITData:Query:ExecuteFailed] A user implemented method does not exist.
    2014-05-22T13:21:05  PID[2368] Verbose     [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:ExecuteFailed] Execution completed.
    2014-05-22T13:21:05  PID[2368] Information [Microsoft.LightSwitch.UserCode][Application:Information][Business_ITData:Query:ExecuteFailed] Execution completed.
    

    Thursday, May 22, 2014 3:30 PM

All replies

  • An exception has occurred:  Microsoft.LightSwitch.DataServiceOperationException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'.  ---> System.Data.ConstraintException: The 'Completed' property on 'Task' could not be set to a 'null' value. You must set this property to a non-null value of type 'Boolean'.

    According to the error message above, it's recommended to check the configuration on your side. set the 'Completed' property on 'Task' to non null value of type 'Boolean'.

    Regards

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 27, 2014 9:39 AM