Which NHibernate version? What are you doing to get the error? Could you put the symbols file (NHibernate.pdb) from the same NHibernate build together with the dll please, so that the stacktrace will show line numbers?
/Oskar 2012/8/8 Sadashiva Swamy <[email protected]> > The Below error i am getting from UI > Can please any one help me out and give permanent sol. > If i reset iis it ll work fine.but facing same issue every day. > > <QueryExecuted> <Time>2012-08-08 > 07:26:04,804</Time><HostName>UK01DOUW001</HostName> From UI > </QueryExecuted>NHibernate.QueryException: Incorrect query syntax > [SELECT type FROM Wildnet.WildCommercial.Model.InsuranceProduct as type > WHERE type.GlobalId = '80214465-2ff4-4237-a8f9-00ffa9158f0b'] ---> > System.ArgumentException: Item has already been added. Key in dictionary: > 'type' Key being added: 'type' > at System.Collections.Hashtable.Insert(Object key, Object nvalue, > Boolean add) > at System.Collections.Hashtable.Add(Object key, Object value) > at NHibernate.Hql.QueryTranslator.SetAliasName(String alias, String > name) > at NHibernate.Hql.FromParser.Token(String token, QueryTranslator q) > at NHibernate.Hql.ClauseParser.Token(String token, QueryTranslator q) > at NHibernate.Hql.PreprocessingParser.Token(String token, > QueryTranslator q) > at NHibernate.Hql.ParserHelper.Parse(IParser p, String text, String > seperators, QueryTranslator q) > at NHibernate.Hql.QueryTranslator.Compile() > --- End of inner exception stack trace --- > at NHibernate.Hql.QueryTranslator.Compile() > at NHibernate.Hql.QueryTranslator.Compile(ISessionFactoryImplementor > factory, IDictionary replacements, Boolean scalar) > at NHibernate.Impl.SessionFactoryImpl.GetQuery(String queryString, > Boolean shallow) > at NHibernate.Impl.SessionImpl.GetQueries(String query, Boolean scalar) > at NHibernate.Impl.SessionImpl.Find(String query, QueryParameters > parameters) > at NHibernate.Impl.QueryImpl.List() > at > Wildnet.WildCommercial.Common.Persistence.PersistenceManager.LoadByGlobalId(Type > type, Guid globalId) > at > Wildnet.WildCommercial.Common.Persistence.PersistenceManager.LoadByGlobalId(Type > type, String globalId) > at > Wildnet.WildCommercial.Ace.CasROI.Controller.Quote.CasROIQuoteHelper.GetCoverageTypesForCasROI() > at Wildnet.WildCommercial.Ace.CasROI.View.StartQuote.InstaniateNewRisk() > at Wildnet.WildCommercial.Controller.Web.BaseStartQuote.GetRisk() > at > Wildnet.WildCommercial.Controller.Web.BaseEntryPoint.ProcessRequest(HttpContext > context) > at > System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() > at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& > completedSynchronously) > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/nhusers/-/hQBgBQAvBLUJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
