I have made a very short test program and this program work in my developer computer which run windows 7. But when I move the program to a Windows XP computer i get the following error:
I have installed the dotconnect for sqlite standard (the free version) on the xp computer.Unhandled Exception: System.ArgumentException: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
My computerprogram is very simple:
Code: Select all
class Program
{
static void Main(string[] args)
{
MainEntities db = new MainEntities();
Sale saleperson = (from s in db.Sales where s.Id == 1 select s).First();
Console.WriteLine(saleperson.Seller.ToString());
Console.ReadKey();
}
}
Code: Select all
Kind regards,
Ronny