Ok you have helplevel = 2 so parameters are displayed showing both databases are connected.
I assume you are using the package on my web site.
Can you view an image?
You could put a line in imagedownload.asp, if you are downlading, to display the openset query (disable the actual call) and then use query analyzer to run it manually.