I'm trying to pass variables to the stored procedure i have set up, i have them mapped in the Parameter Mapping tab. I think i may have the syntax incorrectly but i cant find a solution.
EXEC [dbo].[proc_GetQuarterlyEmailId]
@employeeNumber = ?,
@employeeFirstName = ?,
@employeeLastName = ?,
@employeeEmail = ?
The error i am getting is:
Executing the query "EXEC [dbo].[proc_GetQuarterlyEmailId] @employeeNu..." failed with the following error: "Could not find stored procedure ''.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
If i remove the parameters from the stored procedure and remove the parameter mapping it runs perfectly fine, so i know it can find it. I am using a ADO.NET connection.

