Is it possible to make a SQL call from a batch handler? I've got a line of code that looks like this.
Using conn As SqlConnection = Me.GetRequestContext.OpenAppDBConnection
This and the subsequent lines compile, but they do not work. When I run them I get a ‘stored procedure not found’. The stored procedure I am calling does work, I feel like the issue is there really is no OpenAppDBConnection I am grabbing here.
Thanks,
Ernie