Tengo una aplicacion que ejecuta un SP, el problema es que esa aplicacion la hice ya hace unos meses y funcionaba a la perfeccion y despues de un tiempo dejo de funcionar

, lo raro esta en que si ejecuto mi SP desde la base de datos si lo hace bien y desde mi aplicacion no hace nada, hay alguna forma de establecer que el SP se ejecute en la BD exclusivamente?, la base de datos que tengo es SQL server 2000 y esta es la forma en la que invoco el SP
Código:
Public Function EjecutaCommand_SP(ByVal SQLParametro1 As String, ByVal SQLParametro2 As String, ByVal SQLParametro3 As String, ByVal NombreSP As String) As Boolean
Try
BDSQLConection.Open()
Dim TheCommand As New SqlClient.SqlCommand
TheCommand.CommandType = CommandType.StoredProcedure
TheCommand.Connection = BDSQLConection
TheCommand.CommandText = NombreSP
TheCommand.Parameters.AddWithValue("@p_FechaInicio", SQLParametro1)
TheCommand.Parameters.AddWithValue("@p_FechaFin", SQLParametro2)
TheCommand.Parameters.AddWithValue("@p_Tipo", SQLParametro3)
TheCommand.ExecuteNonQuery()
BDSQLConection.Close()
TheCommand = Nothing
EjecutaCommand_SP = True
Catch ex As Exception
EjecutaCommand_SP = False
BDSQLConection.Close()
End Try
End Function
Saludos y gracias por sus respuestas.