SharePoint security analysis

2009-11-03 Thread Michael Nemtsev
Just blogged about how to perform users and groups SharePoint Farm analysis http://msmvps.com/blogs/laflour/archive/2009/11/03/sharepoint-2007-to-sharep oint-2010-farm-migration-phase-2-security-analysis.aspx Wonder to hear your thoughts if I missed something

RE: Error when running config wizard

2009-11-03 Thread Wes MacDonald
Hi, If you use Forms Authentication on your MOSS farm then you must also list the providers (Membership/RoleManager) in the web.config for Central Admin site but it always uses Windows Authentication to authenticate users. The roleManager element in the Central Admin web.config is where you

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread ken zheng
Thanks, much appreciated. Cheers Ken From: dan...@danielbrown.id.au To: ozmoss@ozmoss.com Date: Wed, 4 Nov 2009 10:39:10 +1030 Subject: RE: Session state can only be used when enableSessionState is set to true ... Howdy, Yes, as long as they are in the same folder, you should be

Hide a Web Part

2009-11-03 Thread Daniel W. Brown
Howdy all, I'm after a quick solution to completely hide a web part if there is no data returned by the CAML query without having to code something up. Of course if needs be, happy to code something up, but just thought I would do a shout out to see if anyone has addressed this in the past.

Re: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread Ajay
If you are storing session state in memory.. then you will have to add following in web.config sessionState mode=InProc cookieless =false timeout=60/.. and comment/remove the default mode of SqlServer. On Wed, Nov 4, 2009 at 12:54 PM, Daniel W. Brown dan...@danielbrown.id.auwrote: KB

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread Daniel W. Brown
KB Article also: http://support.microsoft.com/kb/837376 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Daniel W. Brown Sent: Wednesday, 4 November 2009 10:23 AM To: ozMOSS Subject: RE: Session state can only be used when enableSessionState is set to true ...

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread Paul Turner
Actually don't... Session state in SharePoint is not the same as ASP.NET See this: http://msdn.microsoft.com/en-us/library/ee413746.aspx and this: http://technet.microsoft.com/en-us/library/cc263527.aspx BTW... it was not a recommended practice in SharePoint 2003 but is perfectly fine in

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread ken zheng
Hi Daniel: “EnableSessionState=true” works and I need to specify the page in the web.config. PageParserPaths PageParserPath VirtualPath=/divisions/information_services/teams/applications/kenny/Pages/CharterAccountSearch.aspx CompilationMode=Always AllowServerSideScript=true /

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread Daniel W. Brown
Howdy, Yes, as long as they are in the same folder, you should be able to supply /divisions/information_services/teams/applications/kenny/Pages/* as the value From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of ken zheng Sent: Wednesday, 4 November 2009 10:39 AM To:

Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread ken zheng
Hi Guys: I believe this could be a old topic, but just like to know how to solve the problem when I use Session in my custom page? I can use ViewState as workaround and I can use session in my webpart without error. All session state has been enabled in web.config The full error is:

RE: Session state can only be used when enableSessionState is set to true ...

2009-11-03 Thread Daniel W. Brown
If you add EnableSessionState=true to your %@ Page language=c# Codebehind= ... % it should enable it JUST for that page, Alternatively, you may want to enable it in the web.config From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of ken zheng Sent: Wednesday, 4

RE: SharePoint security analysis

2009-11-03 Thread Paul Noone
Hi Michael, Looks good. The only thing that jumped out at me was that the Bamboo SharePoint Analyser wasn't in your list of [free] tools. Regards, Paul From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Tuesday, 3 November 2009 9:50 PM To:

RE: Hide a Web Part

2009-11-03 Thread Paul Noone
Hi Daniel, I was trying to do a similar thing the other day. I wound up add a CEWP to the page and using JavaScript to check the innerhtml of the relevant block, then setting its parent's container style to hidden. It's not terribly elegant but it works. :) Regards, Paul Online Developer,

RE: SharePoint security analysis

2009-11-03 Thread Michael Nemtsev
That's something wrong with the community server the blog is hosted on. Any steps to reproduce the error?! From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Mark Burns Sent: Wednesday, 4 November 2009 11:11 AM To: 'ozMOSS' Subject: RE: SharePoint security

RE: SharePoint security analysis

2009-11-03 Thread Mark Burns
Within IE turn on Display a notification about every script error and reload page. Or, open up the page in Firefox and watch for the error in the Error Console. I just have script error notification always turned on so that I know about some of the errors in our Intranet. From:

RE: SharePoint security analysis

2009-11-03 Thread Michael Nemtsev
Need to slap the Community Server guys J From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Mark Burns Sent: Wednesday, 4 November 2009 2:31 PM To: 'ozMOSS' Subject: RE: SharePoint security analysis Within IE turn on Display a notification about every script