Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Cannot create Sql Source. Error: The value of the property 'Value' is invalid for the stored procedure parameter 'XXX'


Today got below error while Debug run of newly developed pipeline, in which at the end am logging audit details in a table via Stored procedure




                             


Why it happened


Cannot create Sql Source. Please double check the connection string, stored procedure are set with correct format. Error: The value of the property 'Value' is invalid for the stored procedure parameter 'OperationsProcessed'




As stated in error message(highlighted in red above) the error says the value passed against 'OperationsProcessed ' parameter is incorrect

It was surprising as this parameter is defined as bit  in stored procedure so the value can be either 0 or 1 and upon rechecking the value - I see nothing wrong  i.e. 0 (zero)



When checked the datatype, there was no bit instead it was Boolean, it is implicitly done by ADF  - and this is the reason for the error .



What to do



So to fix the error, we need to provide valid Boolean values i.e. either true or false.

That's it, provided false as value instead of 0(zero) and that made the error go away.

You may ask, what value do you see in Table(stored procedure inserts in audit table)? 

-- It is 0 and not false 

So I assume, ADF implicitly handles this type conversion.







Related Post 

  • Getting Started with Logic Apps - Enterprise Application Integration
  • Getting Started with Logic Apps - EDI X12 Fundamentals
  • Getting Started with Logic Apps - What happened to the Request?
  • Getting Started with Logic Apps - Fundamentals
  • Getting Started with Logic Apps - AS2
  • Getting Started with Logic Apps - XML to EDI X12
  • The provided map definition is not valid
  • Required property 'content' expects a value but got null. Path ''.'
  • Getting Started with Logic Apps - File Routing
  • Installing and Configuring On Premises Data Gateway - By adding user to Active Directory
  • Inserting data in On Premises SQL Database using Logic Apps
  • Inserting Multiple Records In On Prem SQL Using Logic App
  • Check your request parameters to make sure the Path “” exists on your file system




    This post first appeared on TechFindings, please read the originial post: here

    Share the post

    Cannot create Sql Source. Error: The value of the property 'Value' is invalid for the stored procedure parameter 'XXX'

    ×

    Subscribe to Techfindings

    Get updates delivered right to your inbox!

    Thank you for your subscription

    ×