The type initializer for 'NAMESPACE.CLASS' threw an exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shenno
    New Member
    • Sep 2010
    • 59

    The type initializer for 'NAMESPACE.CLASS' threw an exception

    hiz all,
    i have made an applicaion on my desktop using VS2008 and after i've finished i copied the app. to projects directory on my laptop and tried to build the app on my laptop and it's succ. built... but faild to debug :/

    and throw an exception :
    "The type initializer for 'reservation.Bi gFather' threw an exception"

    i have just copied the fils from pc project directory to laptop project directory..

    i have tried to load another form instance and it worked perfictly, then problem accurs when i try to creat new instance or Bigather form class only,

    this class contain registry modification functions..

    can any help? THX
  • Shenno
    New Member
    • Sep 2010
    • 59

    #2
    i did solve this issue, jus run VS2008 as administrator :D

    Comment

    • Subin Ninan
      New Member
      • Sep 2010
      • 91

      #3
      BigFather??? Cool

      Comment

      Working...