How to pass a property value from smartobject to my storedprocedure

  • 9 September 2009
  • 1 reply
  • 2 views

Badge +9

HI all, i have created a storedprocedure 


" CREATE PROCEDURE [dbo].[SPEmployeeDetails]
@EmployeeID nvarchar (50)
AS
BEGIN
SET NOCOUNT ON; SELECT EmployeeName from dbo.Employee where EmployeeID = @EmployeeID
END " which takes EmployeeID as input and returns Employeename. Now i have regirstered DynamicSQLSPService and i am accessing SP by creating SmartObject and given this service object method(i.e. ExecuteNonQuery method). When i deploy it and testing through smart object service tester its giving the below error. 


I am using advanced mode while creating smartobject and using Execute Method type.


17133i054ED57DBA1F278B.bmp

1 reply

Badge +9
HI thnx for the reply,

The query is resolved. actually it is the problem with the older version SourceCode.SmartObjects.Services.DynamicSQLSPService.dll . Now i have updated it with version 1.06 can be downloaded from http://www.k2underground.com/k2/ProjectHome.aspx?ProjectID=42  Binaries V 1.06 . Register this dll in Broker Management Tool.

Reply