Which part of the program does the error occur in (eg: Command1_Click) ?