I have a datawindow report that is getting this error
(Restricted data type attribute violation), when executing
the compiled application. The report is going against a
stored procedure in MSSQL 2000. We are using Powerbuilder
10. I can execute the stored procedure in the database
painter and I get the expected results. I can run the
report outside of powerbuilder and it runs great. The
stored procedure takes 2 date parameters.

Also, when I just try to run any reports based on stored
procedures in the datawindow painter I get the following
error. "Invalid character value for cast specification"