View Single Post
  #2 (permalink)  
Old January 27th, 2014, 01:24 PM
DrPurdum DrPurdum is offline
Friend of Wrox
Points: 1,166, Level: 13
Points: 1,166, Level: 13 Points: 1,166, Level: 13 Points: 1,166, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2008
Location: Indianapolis, IN, USA.
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default DB error

Make sure you are using the correct Microsoft Framework. The code was compiled using the old 3.5 Framework and you are likely running a later version. Go to the Project menu, select Properties-->Application and see which framework is there. It should match your compiler's environment. If you still have problems, go to the Build properties option and change the platform target to x86. Let me know what you find out.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)