Thank you for your answer.
There is no problem creating the stored procedure, the problem is calling it from asp page like this:
************Start Code*******************
Function ExecuteSP(sXmlString)
Dim ObjCmdExecuteSP
Set ObjCmdExecuteSP = Server.CreateObject("ADODB.Command")
With ObjCmdExecuteSP
.ActiveConnection =...