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?

Improve company productivity with a Business Account.Sign Up

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.