I have a SQL Server 2008 DB with many tables filled with data and I used SQL Server Management Studio to generate a SQL dump by using the Script Wizard : Tasks -> Generate S
I tried many of the options above, but none of them seemed to resolve the issue at the time (although they may have helped and I didn't realize it).
The last step I took [that worked] was granting the SQL user in my connection string access to the aspnet_* roles installed by aspnet_regsql.exe. My SQL user was setup as a db_owner on the database, but wasn't a sysadmin on the box - not sure if that matters.
As soon as I did that, and after I'd already tried some of the options above, everything worked great.