Ir para conteúdo
Fórum Script Brasil
  • 0

The Dialect Was Not Set. Set The Property Hibernate.dialect


Guest Miguel Hormigo

Pergunta

Guest Miguel Hormigo

Caros Colegas,

alguém me sabe indicar em que erro posso estar a incorrer para não estar a conseguir correr esta aplicação web?

---------------------------------

Server Error in '/VSC' Application.

The dialect was not set. Set the property hibernate.dialect.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: NHibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HibernateException: The dialect was not set. Set the property hibernate.dialect.]

NHibernate.Dialect.Dialect.GetDialect() +91

NHibernate.Dialect.Dialect.GetDialect(IDictionary props) +66

NHibernate.Cfg.Configuration.AddValidatedDocument(XmlDocument doc) +26

NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream) +74

[MappingException: The dialect was not set. Set the property hibernate.dialect.]

NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream) +173

NHibernate.Cfg.Configuration.AddClass(Type persistentClass) +118

VOIPSwitch_COM.VOIPSwitch_COMClass.configureNHibernate(Configuration iCfg) +24

vsc.Global.Session_Start(Object sender, EventArgs e) +2269

System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +2163150

System.Web.SessionState.SessionStateModule.CompleteAcquireState() +154

System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +542

System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +90

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,2k
    • Posts
      651,9k
×
×
  • Criar Novo...