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
YouKnowPochenAsked:
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.
0
 
antonybrahinCommented:
System.Web.Profile should have
0
 
YouKnowPochenAuthor Commented:
it does not.
Shouldn't have to use System.Web in a webformproject anyway
0
All Courses

From novice to tech pro — start learning today.