You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I always receive a null reference exception when I use profile provider.
I tried custom class and web.config properties, no success.
If I debug I can see in Profile object that the properties always returns a null reference exception.
If I try to set a property I receive this exception:
[NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.]
MongoDB.Web.Providers.MongoDBProfileProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) in C:\MongoDB.Web\MongoDB.Web\Providers\MongoDBProfileProvider.cs:93
System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +273
System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +158
System.Configuration.SettingsBase.get_Item(String propertyName) +123
System.Web.Profile.ProfileBase.GetInternal(String propertyName) +36
System.Web.Profile.ProfileBase.get_Item(String propertyName) +77
The same configuration with aspnet profile provider is working fine.
The text was updated successfully, but these errors were encountered:
Hello, I always receive a null reference exception when I use profile provider.
I tried custom class and web.config properties, no success.
If I debug I can see in Profile object that the properties always returns a null reference exception.
If I try to set a property I receive this exception:
[NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.]
MongoDB.Web.Providers.MongoDBProfileProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) in C:\MongoDB.Web\MongoDB.Web\Providers\MongoDBProfileProvider.cs:93
System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +273
System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +158
System.Configuration.SettingsBase.get_Item(String propertyName) +123
System.Web.Profile.ProfileBase.GetInternal(String propertyName) +36
System.Web.Profile.ProfileBase.get_Item(String propertyName) +77
The same configuration with aspnet profile provider is working fine.
The text was updated successfully, but these errors were encountered: