the dbml file was causing problems seems to be working now