0

On a site I am helping develop, there seems to be a problem with code executing while not logged into Sharepoint 2010.

When logged in as administrator, everything works fine on the site. Code executes as it should. However, when we visit the site without logging into SharePoint or as an account that has no privilages (same as not logging in), none of the server side code executes for certain pages. It's really weird how that happens.

Client side code still executes without a problem, but when a postback call or an OnClick is made, the server side code does not execute.

I looked online how to set the site to be accessed by anonymous users, which I did, but that didn't solve the problem. Does anyone have any ideas how to possibly fix this problem, or what the problem even is? My conclusion so far is that it has to be something in SharePoint like a setting or privilage, but I can't pinpoint it. I've played around with the Central Administration and the like but no luck.

2
Contributors
1
Reply
8
Views
5 Years
Discussion Span
Last Post by LastMitch
0

I looked online how to set the site to be accessed by anonymous users, which I did, but that didn't solve the problem. Does anyone have any ideas how to possibly fix this problem, or what the problem even is? My conclusion so far is that it has to be something in SharePoint like a setting or privilage, but I can't pinpoint it. I've played around with the Central Administration and the like but no luck.

You need to do this:

http://office.microsoft.com/en-us/office365-sharepoint-online-small-business-help/share-a-site-with-external-users-HA101850586.aspx

and also this code:

http://www.sharepointnutsandbolts.com/2010/09/set-object-caching-user-accounts-with.html

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.