I have been wrestling this one for a couple of days now and thought someone here might be able to help.
I am trying to execute a stored procedure with a single parameter. I am able to pass through a number of variations without trouble but when I try to put through the FolderID or a number as long as the FolderID I get an error.
This is the execute command:
SelectSql(new MetastormDefault(),"EXEC SetHours @FolderID", SQLArg("@FolderID", "SOMENUMBER"))
When SOMENUMBER is 5 or 9000005 it works fine but when it is the Folder ID it fails. Any suggestions?
The error I get is just the browser pop-up "An error occurred in this process. Please report the problem to your administrator"