473,385 Members | 1,357 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,385 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 1622
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...
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:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.