After searching i found that i should use Database.SetInitializer<ProfileCatalog>(null); to solve my problem, but i cant find ProfileCatalog. What namespace do i look in?
Otherwise, i need another sulution to
"This check requires a connection to the master database, which it appears is not possible with the connection you are using"
Best regards Bjorn