Request Error
The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service. The exception message is 'could not execute query [ SELECT this_.id as id1_5_, this_.Email as Email1_5_, this_.Psw as Psw1_5_, this_.TipoUtente as TipoUtente1_5_, this_.abilitato as abilitato1_5_, this_.dataUltimoAccesso as dataUlti6_1_5_, this_.dataFineAttivita as dataFine7_1_5_, this_.Data_Registrazione as Data8_1_5_, this_.guidkey as guidkey1_5_, impresa2_.id as id2_0_, impresa2_.NomeAzienda as NomeAzie2_2_0_, impresa2_.Indirizzo as Indirizzo2_0_, impresa2_.Citta as Citta2_0_, impresa2_.Provincia as Provincia2_0_, impresa2_.CAP as CAP2_0_, impresa2_.RagioneSociale as RagioneS7_2_0_, impresa2_.SedeLegale as SedeLegale2_0_, impresa2_.Rappresentante as Rapprese9_2_0_, impresa2_.PIva as PIva2_0_, impresa2_.CFiscale as CFiscale2_0_, impresa2_.CCIAA as CCIAA2_0_, impresa2_.Telefono as Telefono2_0_, impresa2_.EmailComunicazioni as EmailCo14_2_0_, impresa2_.SitoInternet as SitoInt15_2_0_, impresa2_.Consorzio as Consorzio2_0_, impresa2_.Certificazioni as Certifi17_2_0_, impresa2_.Stato as Stato2_0_, impresa2_.IRC as IRC2_0_, impresa2_.Data_Registrazione as Data20_2_0_, impresa2_.dataRifiutoContratto as dataRif21_2_0_, impresa2_.idUtente as idUtente2_0_, impresa2_.codiceAttivazione as codiceA23_2_0_, impresa2_.contrattoAccepted as contrat24_2_0_, impresa2_.Iban as Iban2_0_, impresa2_.IdSettore as IdSettore2_0_, impresa2_.idAmbassador as idAmbas27_2_0_, impresa2_.idChisiamo as idChisiamo2_0_, impresa2_.url as url2_0_, ( SELECT COUNT(*) FROM prodotto p WHERE p.IdImpresa = impresa2_.Id group by p.IdImpresa ) as formula0_0_, settore3_.id as id8_1_, settore3_.descrizione_it as descrizi2_8_1_, settore3_.Settore_Note as Settore3_8_1_, settore3_.Descrizione_en as Descrizi4_8_1_, settore3_.metatag_descrizione_it as metatag5_8_1_, settore3_.metatag_descrizione_en as metatag6_8_1_, ambassador4_.id as id9_2_, ambassador4_.codice as codice9_2_, ambassador4_.descrizione as descrizi3_9_2_, ambassador4_.url as url9_2_, impresachi5_.id as id11_3_, impresachi5_.titolo_it as titolo2_11_3_, impresachi5_.testo_it as testo3_11_3_, impresachi5_.testo_en as testo4_11_3_, impresachi5_.IdFotoImpresa as IdFotoIm5_11_3_, privato6_.id as id20_4_, privato6_.Nome as Nome20_4_, privato6_.Cognome as Cognome20_4_, privato6_.Sesso as Sesso20_4_, privato6_.Stato as Stato20_4_, privato6_.Newsletter as Newsletter20_4_, privato6_.Path_Avatar as Path7_20_4_, privato6_.Citta as Citta20_4_, privato6_.Pseudonimo as Pseudonimo20_4_, privato6_.idUtente as idUtente20_4_ FROM utente this_ left outer join impresa impresa2_ on this_.id=impresa2_.idUtente left outer join settore settore3_ on impresa2_.IdSettore=settore3_.id left outer join ambassador ambassador4_ on impresa2_.idAmbassador=ambassador4_.id left outer join impresachisiamo impresachi5_ on impresa2_.idChisiamo=impresachi5_.id left outer join privato privato6_ on this_.id=privato6_.idUtente WHERE this_.guidkey = @p0 ] Name:cp0 - Value:undefined [SQL: SELECT this_.id as id1_5_, this_.Email as Email1_5_, this_.Psw as Psw1_5_, this_.TipoUtente as TipoUtente1_5_, this_.abilitato as abilitato1_5_, this_.dataUltimoAccesso as dataUlti6_1_5_, this_.dataFineAttivita as dataFine7_1_5_, this_.Data_Registrazione as Data8_1_5_, this_.guidkey as guidkey1_5_, impresa2_.id as id2_0_, impresa2_.NomeAzienda as NomeAzie2_2_0_, impresa2_.Indirizzo as Indirizzo2_0_, impresa2_.Citta as Citta2_0_, impresa2_.Provincia as Provincia2_0_, impresa2_.CAP as CAP2_0_, impresa2_.RagioneSociale as RagioneS7_2_0_, impresa2_.SedeLegale as SedeLegale2_0_, impresa2_.Rappresentante as Rapprese9_2_0_, impresa2_.PIva as PIva2_0_, impresa2_.CFiscale as CFiscale2_0_, impresa2_.CCIAA as CCIAA2_0_, impresa2_.Telefono as Telefono2_0_, impresa2_.EmailComunicazioni as EmailCo14_2_0_, impresa2_.SitoInternet as SitoInt15_2_0_, impresa2_.Consorzio as Consorzio2_0_, impresa2_.Certificazioni as Certifi17_2_0_, impresa2_.Stato as Stato2_0_, impresa2_.IRC as IRC2_0_, impresa2_.Data_Registrazione as Data20_2_0_, impresa2_.dataRifiutoContratto as dataRif21_2_0_, impresa2_.idUtente as idUtente2_0_, impresa2_.codiceAttivazione as codiceA23_2_0_, impresa2_.contrattoAccepted as contrat24_2_0_, impresa2_.Iban as Iban2_0_, impresa2_.IdSettore as IdSettore2_0_, impresa2_.idAmbassador as idAmbas27_2_0_, impresa2_.idChisiamo as idChisiamo2_0_, impresa2_.url as url2_0_, ( SELECT COUNT(*) FROM prodotto p WHERE p.IdImpresa = impresa2_.Id group by p.IdImpresa ) as formula0_0_, settore3_.id as id8_1_, settore3_.descrizione_it as descrizi2_8_1_, settore3_.Settore_Note as Settore3_8_1_, settore3_.Descrizione_en as Descrizi4_8_1_, settore3_.metatag_descrizione_it as metatag5_8_1_, settore3_.metatag_descrizione_en as metatag6_8_1_, ambassador4_.id as id9_2_, ambassador4_.codice as codice9_2_, ambassador4_.descrizione as descrizi3_9_2_, ambassador4_.url as url9_2_, impresachi5_.id as id11_3_, impresachi5_.titolo_it as titolo2_11_3_, impresachi5_.testo_it as testo3_11_3_, impresachi5_.testo_en as testo4_11_3_, impresachi5_.IdFotoImpresa as IdFotoIm5_11_3_, privato6_.id as id20_4_, privato6_.Nome as Nome20_4_, privato6_.Cognome as Cognome20_4_, privato6_.Sesso as Sesso20_4_, privato6_.Stato as Stato20_4_, privato6_.Newsletter as Newsletter20_4_, privato6_.Path_Avatar as Path7_20_4_, privato6_.Citta as Citta20_4_, privato6_.Pseudonimo as Pseudonimo20_4_, privato6_.idUtente as idUtente20_4_ FROM utente this_ left outer join impresa impresa2_ on this_.id=impresa2_.idUtente left outer join settore settore3_ on impresa2_.IdSettore=settore3_.id left outer join ambassador ambassador4_ on impresa2_.idAmbassador=ambassador4_.id left outer join impresachisiamo impresachi5_ on impresa2_.idChisiamo=impresachi5_.id left outer join privato privato6_ on this_.id=privato6_.idUtente WHERE this_.guidkey = @p0]'. See server logs for more details. The exception stack trace is:
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List() at ReputekaKernel.BusinessModel.UtenteBM.GetUser(String idUser) at ReputekaKernel.KernelService.GetUser(String idUser) at ReputekaWS.ReputekaService.GetUser(String idUser, String token) at SyncInvokeGetUser(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)