I saw one issue has exactly same problem.
what i want to do is generate script.
it works good if i migrate sql server to sql azure.
but when i want to generate script from sql azure. it never works.
i installed mssql 2008 r2 sp1 on many machine, os system, and even i installed sql server 2012, but not works on all of them :(
the same exception occur when i work on management studio (SSMS)
please give me help.