473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

The parameter is not correct from SqlDataAdapter control

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
Sep 20 '06 #1
2 1359
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.

"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
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

Sep 20 '06 #2
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

"Dick Cheney" <IE*******@gmail.comwrote in message
news:OC**************@TK2MSFTNGP04.phx.gbl...
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.

"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>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


Sep 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZoeNeedsHelp | last post by:
I have an asp.net application in C# and i'm trying to call a stored procedure with a parameter. When i run the web app i get this message: Procedure 'sp_loadCustByID' expects parameter...
7
by: cnu | last post by:
Hi I have to write images(.gif/.bmp/.jpg/.ico), to db and read them. Uploading images to db works fine for me. Reading from db to byte is also ok. But, when I try to display them in my form...
2
by: Aymer | last post by:
Scenario: I have a datagrid object and a command object in code-behind module. dgFilings As DataGrid Dim oCmd As SqlCommand I have a function that I can re-use to bind different objects. ...
0
by: JSantora | last post by:
Essentially, InsertAT is broken! For the past couple of hours, I've been getting this "Parameter name: '-2147483550' is not a valid value for 'index'." error. Apparently, its caused by having...
0
by: dawg1998 | last post by:
I am able to populate a DropDownList control within multiple rows of a GridView with the following code: `````````````````````````````````````````````````````` <asp:GridView id="gvGridView"...
2
by: Tony Girgenti | last post by:
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...
7
by: ashtek | last post by:
Hi, I have a generic function that executes a stored procedure & returns a data table. Code: === public static DataTable ExecuteStoredProcedure(string strProc,SqlParameter paramArray) {...
2
by: rcoco | last post by:
I'm having an error message sounding like : Prepared statement '(@id text)SELECT * from isp_email.staff where @id like +txtname.' expects parameter @id, which was not supplied. This message appear...
3
by: dawson | last post by:
Hello, from the code below, how do I add/send a parameter to the stored procedure? SqlConnection conn = null; conn = new...
2
by: Chapi | last post by:
hi, i'm having problems with a datagrid paging. it's populates fine, but when i click the paging button appears this error:"Specified argument was out of the range of valid values.Parameter name:...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.