exception Erro: the underlying provider failed on open

exception Erro: the underlying provider failed on open

Postby mauricio_12_85 » Sat 07 Jul 2012 17:52

exception Erro: the underlying provider failed on open on code

private void button1_Click(object sender, EventArgs e)
{
try
{

TESTEEntities obj = new TESTEEntities();

user objuser = new user();

objuser.nome = textBox1.Text;

obj.AddTouser(objuser);
obj.SaveChanges();
}
catch ( Exception ex)
{
MessageBox.Show(ex.Message);
}
mauricio_12_85
 
Posts: 1
Joined: Sat 07 Jul 2012 16:38

Re: exception Erro: the underlying provider failed on open

Postby Shalex » Mon 09 Jul 2012 12:44

"Underlying provider failed on open" is a general high-level exception which doesn't tell us about the actual problem. Could you please run your application in the debug mode and post here the exact text of the inner exception with its call stack?
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL