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 had a similar problem and I was able to solved it adding the default value to table aspnet_SchemaVersions. This default values were not added to the DB generated using Tasks -> Generate Scripts.
Here a useful post
INSERT INTO dbo.aspnet_SchemaVersions
VALUES
('common', 1, 1),
('membership', 1, 1),
('role manager', 1, 1);
GO