The stored procedure parameters are set as follows:
Data Access Layer:
Simply specify the size for Varchar and Nvarchar output parameters. If the size is not defined, the size will default to Zero.
In the above example the @Message outuput parameter needs to have its size specified.