Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NHibernate

NHibernate

Scheduled Pinned Locked Moved C#
databasesql-serversysadminworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peshawarcoder
    wrote on last edited by
    #1

    Hi! I have MS SQL Server 2005 installed on my system. I am using NHibernate to interact with my database named 'BRUSDB'. I have set the following configuration for nhibernate:

    when i run the program The type initializer for 'NHibernate.Cfg.Configuration' threw an exception: 'System.TypeInitializationException' at line: Configuration cfg = new Configuration(); If any one has know then kindly guid me. Thanks.

    J 1 Reply Last reply
    0
    • P peshawarcoder

      Hi! I have MS SQL Server 2005 installed on my system. I am using NHibernate to interact with my database named 'BRUSDB'. I have set the following configuration for nhibernate:

      when i run the program The type initializer for 'NHibernate.Cfg.Configuration' threw an exception: 'System.TypeInitializationException' at line: Configuration cfg = new Configuration(); If any one has know then kindly guid me. Thanks.

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      This indicates that your config file is invalid. You've probably forgot to add a closing XML tag or added an extra one somewhere. Unfortunately I can't tell, because your post interpreted the < and > tags as HTML tags.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Taking the Congressional Oath on the Bible The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups