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
-
Migration from Visual Studio 2008 to 2013 Without any code changes I successfully migrated from VS 2008 to 2013 but when running website f...
-
I am getting below error while executing stored procedure from C# (Ado.net, entity framework) String[2]: the Size property has an invalid ...
-
Exception : Microsoft.WindowsAzure.StorageClient.StorageClientException was unhandled Message=One of the request inputs is out of ran...
-
as is Is Operator is used to check the Compatibility of an Object with a given Type and it returns the result as a Boolean (True or ...
-
Review the permissions of the user that you're trying to impersonate. In my situation, I was only getting the error on my development ...
No comments:
Post a Comment