Can't Add New Action Stored Procedure Call

Posts   
 
    
Posts: 20
Joined: 02-Apr-2004
# Posted on: 14-Jun-2004 00:05:43   

A stored procedure that I would like to add to LLBLGen Pro does not show in the New Stored Procedures dialogue box when I click Add New Action Stored Procedure Call. I tried Add New Retrieval Stored Procedure Call just in case, but it does not show up there either.

It is a complex stored procedure for sending an email message. There are no result sets, apart from the possibility of an error message output with SQL's PRINT statement: I'm not sure if that counts as a result set or not. Has that got something to do with the problem? I would be quite happy to not capture the error message if there is one: checking the stored procedure's return value for success or failure would be good enough. I could stop the stored procedure from PRINTing error messages, or use SELECT instead of a PRINT, if either of those would solve the problem.

The only other thing I can think of that might be unusual is that the stored procedure calls a hierarchy of other stored procedures, including one that PRINTs the error messages.

Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 14-Jun-2004 02:55:09   

Did you refresh the catalog?

Posts: 20
Joined: 02-Apr-2004
# Posted on: 14-Jun-2004 05:15:33   

No, I did not refresh the catalog. But now I can see that I made a stupid mistake. The stored procedure must have been in the New Stored Procedures dialogue box all along, even without refreshing the catalog. I must have missed it because its prefix was being stripped off in the Call Name column. The prefix is the one specified in Pattern to Strip off the Stored Procedure Names in Project Properties.

DerekLi
User
Posts: 8
Joined: 08-Aug-2007
# Posted on: 08-Aug-2007 20:37:34   

I am using LLBLGen Pro 2.0.0.0 Final (Feb 14th 2007). I notice that the under the Project Menu Item, "Add new Action Stored Procedure Calls", "Add new Retrieval Stored Procedure Calls" and "Add Typed Views from Catalog" menu item are all grayed out. confused

How can I enable them?

Thanks

Derek

DerekLi
User
Posts: 8
Joined: 08-Aug-2007
# Posted on: 08-Aug-2007 20:41:15   

Sorry, I forgot to check the Stored Procedure and View on the refresh catalog form. it works fine after I check it and I am able to add stored procedure calls. flushed smile

Derek