We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Object reference not set to an instance of an object issue with 'VerticaParameter' initialization. — Vertica Forum

Object reference not set to an instance of an object issue with 'VerticaParameter' initialization.

Hi
        I got an issue in Vertica ADO.Net Driver comming under \Vertica Client Drivers 6.1.3. It may related to 'VerticaParameter' creation.

       Corresponding to my select query, i use the following code to set query parameter.
But it throw an exception like 'Object reference not set to an instance of an object.'.  

      List<VerticaParameter> paramCollection = new List<VerticaParameter>();     
      paramCollection.Add(new VerticaParameter("id", 1));

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file