The parameter is not correct from SqlDataAdapter control

T

Tony Girgenti

Hello.

I'm developing and testing a web application using VS.NET 2003, VB, .NET
Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. I'm using a web form.

During testing, i guess i installed and deleted an SqlDataAdapter control on
my web form one too many times. When i try to add one now, it gives me "The
parameter is not correct" and just does nothing.

I deleted the SqlConnection, stopped and restarted IIS, Sql servers, my
computer. Searched the internet and still cannot figure out what the
problem is.

Does anybody know what that error is ?

Thanks,
Tony
 
D

Dick Cheney

Hi,

I got a smilar error once. In my instance, the problem was with the
odbcDataAdapter. My problem was when I dropped the adapter into the form and
tried going trough the wizard. In my case I had configured the Dataadapter
to use a specific Access DSN. Everything worked fine until I deleted the
Access File and then every time I wanted to use a DataAdapter it gave me an
error and quit the wizard. I think this happens, because the DataAdapter
tries to connect to the last connection setting you used previously and if
there is an error with it, it quits the wizard. Is this was happening to
you? Is the previous connection you were using still working? I am still
able to recreate the bug I mention it every time, to the point that it
crashes Visual Studio.

Do you get the component in your form or do you not even get to be able to
drop it in the form?

Let me know and good luck,

D. Cheney.
 
T

Tony Girgenti

Hello Dick.

When it happens to me, it doesn't do anything. I just click OK and nothing
happens. I deleted the previous connection before i tested it so i'm not
sure if it worked.

My problem does not crash or terminate VS, it just does nothing.

Thanks,
Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top