I have the iMIS AsiMembershipProvider to a Sharepoint site as the default membership provider and it creates users correctly (as long as I provide it with a valid providerKey for an existing iMIS contact). However, it crashes with a cryptic null; reference exception when trying to validate.
As a work around, I inherited the AsiMembershipProvider and overrode the "ValidateUser" method by redirecting to the iMIS SOA membership web service "ValidateUser". This works and I can now log in. However, I would rather not add this service to my system architecture if I can help it. Why would the web service work when the AsiMembershipProvider doesn't.
It should be noted that the provider is running on a different app server than the web service. Are the 2 methods looking for some system setting or something that may be present on my iMIS web server but not on my Sharepoint server machine? Or alternatively, is the AsiMembershipProvidert tryping to do something altogether different? One thing that came to mind is encryption, since passwords are invovled. Does the provider expect encryption configuration somewhere?
Any help would be greatly appraciated!
Can you post the entire
Can you post the entire error message, including the stack trace?