Dataadapter.Fill() errors

From: Gregs138 (gregs138_at_hotmail.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 10:41:05 -0800

I am working on a new installation of VS.NET Enterprise architect and I am having a strange exception thrown when I fills a dataset with a SQLdatadapter. MYDA.FILL(DS,"NEWTABLE") Produces the following err

print err.Description
Run-time exception thrown : System.InvalidCastException - Cast from string "" to type 'Integer' is not valid.
print err.Number
Run-time exception thrown : System.IO.IOException - Bad file name or number.

Erro is from system.data.dll

If anyone knows what is causing this please let me know. I think it is worth mentioning that Vb 6.0 is also installed on this machine.

Greg