Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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=, 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 ?

share|improve this question

closed as not a real question by Alex Angas Jul 19 '11 at 0:56

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Do those users have read access to the list that contains all the lookup data? –  PirateEric Apr 4 '11 at 13:20
We need more information to help answer your question. Can you please edit it and add further specific details such as the debugging you've tried and what line of code is causing the error? It will be closed for now, but just edit it with the extra information we need and flag a moderator for it to be reopened. –  Alex Angas Jul 19 '11 at 0:56
add comment

Browse other questions tagged or ask your own question.