J
Joe
Hi,
I am getting this error when I attempt to execute an Update
stored procedure. My stored procedure declaration is shown below:
ALTER PROCEDURE [dbo].[usp_Update_Estimate](
@ESTIMATE_ID integer,
@PLANVIEW_ID integer,
@TITLE varchar(50),
@APPLICATION_ID integer,
@DESCRIPTION varchar(2000),
@INTERNAL_COMMENTS varchar(2000),
@ANALYSIS_HOURS int,
@DEVELOPMENT_HOURS int,
@IST_HOURS int,
@ET_HOURS int,
@SECURITY_BCP_HOURS int,
@MEETING_HOURS int,
@POST_INSTALL_HOURS int,
@TOTAL_HOURS_IN_ESTIMATE int,
@ESTIMATE_DT datetime,
@ESTIMATED_BY int,
@MGR_APPROVAL bit,
@MGR_APPROVAL_DT datetime,
@BUS_ACCEPT bit,
@BUS_ACCEPT_DT datetime,
@REQ_RECEIVED_DT datetime,
@TOG_PROJ_MGR_ID int,
@LOB_PROJ_MGR_ID int)
AS
BEGIN
blah blah blah
END
The Update parameters from my ASP.NET page are shown below
<UpdateParameters>
<asparameter Name="ESTIMATE_ID" Type="Int32"
Direction="Input" />
<asparameter Name="PLANVIEW_ID" Type="Int32"
Direction="Input" />
<asparameter Name="TITLE" Type="String"
Direction="Input" />
<asparameter Name="APPLICATION_ID" Type="Int32"
Direction="Input" />
<asparameter Name="DESCRIPTION" Type="String"
Direction="Input" />
<asparameter Name="INTERNAL_COMMENTS" Type="String"
Direction="Input" />
<asparameter Name="ANALYSIS_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="DEVELOPMENT_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="IST_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="ET_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="SECURITY_BCP_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="MEETING_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="POST_INSTALL_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="TOTAL_HOURS_IN_ESTIMATE" Type="Int32"
Direction="Input" />
<asparameter Name="ESTIMATE_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="ESTIMATED_BY" Type="Int32"
Direction="Input" />
<asparameter Name="MGR_APPROVAL" Type="Boolean"
Direction="Input" />
<asparameter Name="MGR_APPROVAL_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="BUS_ACCEPT" Type="Boolean"
Direction="Input" />
<asparameter Name="BUS_ACCEPT_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="REQ_RECEIVED_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="TOG_PROJ_MGR_ID" Type="Int32"
Direction="Input" />
<asparameter Name="LOB_PROJ_MGR_ID" Type="Int32"
Direction="Input" />
</UpdateParameters>
It appears that everything matches up, yet I still get the Too Many
Arguments Specified error. Can anyone tell me what I am doing wrong
or what would cause this message to appear even if the # of arguments
that I have matches to the stored proc?
J
I am getting this error when I attempt to execute an Update
stored procedure. My stored procedure declaration is shown below:
ALTER PROCEDURE [dbo].[usp_Update_Estimate](
@ESTIMATE_ID integer,
@PLANVIEW_ID integer,
@TITLE varchar(50),
@APPLICATION_ID integer,
@DESCRIPTION varchar(2000),
@INTERNAL_COMMENTS varchar(2000),
@ANALYSIS_HOURS int,
@DEVELOPMENT_HOURS int,
@IST_HOURS int,
@ET_HOURS int,
@SECURITY_BCP_HOURS int,
@MEETING_HOURS int,
@POST_INSTALL_HOURS int,
@TOTAL_HOURS_IN_ESTIMATE int,
@ESTIMATE_DT datetime,
@ESTIMATED_BY int,
@MGR_APPROVAL bit,
@MGR_APPROVAL_DT datetime,
@BUS_ACCEPT bit,
@BUS_ACCEPT_DT datetime,
@REQ_RECEIVED_DT datetime,
@TOG_PROJ_MGR_ID int,
@LOB_PROJ_MGR_ID int)
AS
BEGIN
blah blah blah
END
The Update parameters from my ASP.NET page are shown below
<UpdateParameters>
<asparameter Name="ESTIMATE_ID" Type="Int32"
Direction="Input" />
<asparameter Name="PLANVIEW_ID" Type="Int32"
Direction="Input" />
<asparameter Name="TITLE" Type="String"
Direction="Input" />
<asparameter Name="APPLICATION_ID" Type="Int32"
Direction="Input" />
<asparameter Name="DESCRIPTION" Type="String"
Direction="Input" />
<asparameter Name="INTERNAL_COMMENTS" Type="String"
Direction="Input" />
<asparameter Name="ANALYSIS_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="DEVELOPMENT_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="IST_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="ET_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="SECURITY_BCP_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="MEETING_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="POST_INSTALL_HOURS" Type="Int32"
Direction="Input" />
<asparameter Name="TOTAL_HOURS_IN_ESTIMATE" Type="Int32"
Direction="Input" />
<asparameter Name="ESTIMATE_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="ESTIMATED_BY" Type="Int32"
Direction="Input" />
<asparameter Name="MGR_APPROVAL" Type="Boolean"
Direction="Input" />
<asparameter Name="MGR_APPROVAL_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="BUS_ACCEPT" Type="Boolean"
Direction="Input" />
<asparameter Name="BUS_ACCEPT_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="REQ_RECEIVED_DT" Type="DateTime"
Direction="Input" />
<asparameter Name="TOG_PROJ_MGR_ID" Type="Int32"
Direction="Input" />
<asparameter Name="LOB_PROJ_MGR_ID" Type="Int32"
Direction="Input" />
</UpdateParameters>
It appears that everything matches up, yet I still get the Too Many
Arguments Specified error. Can anyone tell me what I am doing wrong
or what would cause this message to appear even if the # of arguments
that I have matches to the stored proc?
J