Where do i find ProfileCatalog?

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
Who is Participating?
YouKnowPochenConnect With a Mentor Author Commented:
hehe, im so sorry. It was the DBContext of the solution i foound that was named ProfileCatalog. I just needed to use my own DbContext.
System.Web.Profile should have
YouKnowPochenAuthor Commented:
it does not.
Shouldn't have to use System.Web in a webformproject anyway
All Courses

From novice to tech pro — start learning today.