Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has anyone seen this error before?

Status
Not open for further replies.

Zarcom

Programmer
May 7, 2002
1,275
CA
I am using a sql command object for a stored procedure that does a simple update. However when my code reaches the .executeNonQuery() line it dies with this error


System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: Input string was not in a correct format. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()


Thanks
[peace]
 
s'ok I got it. I had changed the sql store procedure. Once you do this you need to refresh the server Explorer tab in the development environment, delete the old sqlcommand, drag a new one onto the interface and rename it to the same name as the old sqlcommand. This way the parameters of the stored procedure are properly set and have the correct data types
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top