Loading ...
Sorry, an error occurred while loading the content.

Re: ColumnFixture throwing an error Object reference not set to an instance of an ob

Expand Messages
  • pranitpatel
    I set up the configuration file providing the appconfig and it is working now. Thanks.
    Message 1 of 3 , Aug 1, 2008
    • 0 Attachment
      I set up the configuration file providing the appconfig and it is
      working now.

      Thanks.
      --- In fitnesse@yahoogroups.com, Mike Stockdale <jediwhale@...> wrote:
      >
      > You need to specify an app config file. See
      > http://www.syterra.com/FitnesseDotNet/SuiteConfigurationFile.html
      >
      > pranitpatel wrote:
      > >
      > > Hi There,
      > >
      > > I just start evaluating the Fitness so this may be newbie question for
      > > some of you. I am getting "Object reference not set to an instance of
      > > an object" error while runnig a test with Fitness but while I am
      > > running the component by it self it work as itended.
      > >
      > > Component does following:
      > > 1. Parse XML file
      > > 2. Promote these data to Database.
      > > 3. Generates SUCCESS/FAIL message.
      > >
      > > When I am running this component it works as intended. But when
      > > running through fitness it chokes.
      > >
      > > Line where it chokes:
      > > private string tableResults =
      > > ConfigurationManage r.AppSettings[ "tableResults" ].ToString( );
      > >
      > > private string tableReleases =
      > > ConfigurationManage r.AppSettings[ "tableReleases" ].ToString( );
      > >
      > > Thank you for your help in advance,
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.