Q : Procedure or function '' expects parameter '', which was not supplied.
A:
Below proc throwing the exception if you pass null from ado.net to the stored procedure parameters
alter PROCEDURE [dbo].SP_UpdateHomePageContentDetails
@VideoLink varchar(65) ,
@VideoLinkDescription varchar(65) ,
@P_ReturnValue varchar(50) output
AS
BEGIN
Solution for the above problem is passing null to the parameters as a default value
alter PROCEDURE [dbo].SP_UpdateHomePageContentDetails
@VideoLink varchar(65) = null,
@VideoLinkDescription varchar(65) = null,
@P_ReturnValue varchar(50) output
AS
BEGIN
Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
Search This Blog
Thursday, July 28, 2011
Procedure or function '' expects parameter '', which was not supplied. exception in sql server while passing parameters from asp.net
Labels:
Sql Server
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Confirmation box from code behind c# using modalpopup ajax control <% @ Page Language ="C#" AutoEventWireup ="true...
-
If you place a file with this name ( app_offline.htm ) in the root of a web application directory, ASP.NET 2.0 will shut-down the applica...
-
WCF offers immensely valuable support for reliability, transactions, concurrency management, security, and instance activation, all of w...
-
In earlier versions of ASP.NET, you enable smart navigation by using the Page.SmartNavigation property. When you set the Page.SmartNavigatio...
-
WWF Related Sites (No need to search for WWF): http://aspalliance.com/1074_An_Introduction_to_Windows_Workflow_Foundation.all http://www.cod...
No comments:
Post a Comment