I have SharePoint Foundation 2010 Installed as a Farm on a Windows Server 2008. Since it doesn't let you install it without Active Directory, I went ahead and installed AD also.
After installation, I restored a backup of one of the Dev machines.
I then proceeded to installing a feature. This feature has an EventReceiver that waits for a specific task item to be set to Completed. When this happends, I read some properties from the Parent Folder.
Those properties/columns are lookup values. On the Dev machine and the Test environment the works fine as long as the user is Administrator. When I switch the current user to be one of the site's owner or other site's administrator it throws:
Error loading and running event receiver EvozonAdministrationEventReceivers.StartEmailNotification.StartEmailNotification in EvozonAdministrationEventReceivers, Version=22.214.171.124, Culture=neutral, PublicKeyToken=918ea4bf742b9a3a. Additional information is below. : Value does not fall within the expected range.
SPFieldLookupValue is retrieved using the InternalName.
Has anyone hit this types of errors before? What permissions need to be applied where ?