Using with ObjectDataSource and Gridview control

Nov 11, 2010 at 9:22 PM

Has anyone successfully implemented the XmlProvider with using ObjectDataSource and Gridview.

Business Object: Artem.Web.Security.XmlMembershipProvider
Select Method:   GellAllUsers
Delete Method:   DeleteUser

I get the following error:

Value cannot be null.
Parameter name: key

Anyone have any ideas how to get this to work?

As simple stack trace led me to this, but I don't think I am on the right track (help)?

System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +93
Artem.Persistable`1.AddFileNotifier() +266

Where the code shows the AddFileNotifer method doing

void AddFileNotifier() 
        HttpRuntime.Cache.Insert(_fileName, new object(), new CacheDependency(_fileName), Cache.NoAbsoluteExpiration, _slidingExpiration, CacheItemPriority.Normal, new CacheItemRemovedCallback(OnFileChanged));


Nov 11, 2010 at 9:49 PM

I've used Gridview just fine to list my users using the techniques found here: