User controls in masterpage and anonymous user?

I'm not a Sharepoint expert, however I work a lot with web forms. I would look at the web. Config first and make sure there is a location entry for the control.

Up vote 0 down vote favorite share g+ share fb share tw.

I am developing a master page which includes the user control that generates a menu from the list with a specific logic. Before including the control into master page I successfully configured anonymous access to the site. After including the control and deploying - site prompts for user name and password.

I allowed the anonymous access to the list. Oh yes ... It worked on SHarepoint 2010 beta, but the problem happens when deploying to the Sharepoint 2010 final release. Additional data: I am using Sharepoint Server 2010 with Standard features, standalone instalation on Windows Server 2008 R2 for deployment, and Visual Studio 2010 Ultimate for development of masterpage and user control.

C# asp.net usercontrols sharepoint2010 master-pages link|improve this question asked May 17 '10 at 20:10Senad Uka49626.

Ok ... this was the problem ... Inside of the controls I was using SPMetal generated classes (LINQ to SHarepoint) and SPMetal generated classes DO NOT SUPPORT ANONYMOUS ACCESS. So you can use Server Object Model for access, or Client Object Model. (client object model example) zimmergren.net/archive/2009/11/30/sp-201... There are hacks to make it work but they are not tested very well.

jcapka.blogspot.com/2010/05/making-linq-....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions