There are some known issues with #temp tables and table adapters.
Some people will get around by explicitly choosing column names, for example:
SELECT column1, column2, ... from #temptable , not SELECT * (if you do)
You can also try using the table variable rather than a temporary table.
Tom studee
source share