Getting error Invalid use of default parameter when we update the account using stored procedure

Hi,

We are using version 8.1.3. We have ADO.net connector and written a code to insert/update/delete the user from target system. Insert code is working absolutely fine but sometimes update code throws an error "Invalid use of default parameter". I tried to pass static values in the code where the attribute type was bit but it is not working. Can someone please help? Thanks in advance.