Thursday, 29 May 2008
SharePoint 2007 Best Practice Analyzer
"The SharePoint 2007 Best Practices Analyzer will collect all the data from your database, registry, etc�and apply a set of comprehensive �best practice� rules against the data set.� A detailed report listing is provided after the completion so you can make your SharePoint 2007 Portal faster and more flexible"
To download it, go to http://www.microsoft.com/downloads/details.aspx?familyid=cb944b27-9d6b-4a1f-b3e1-778efda07df8&displaylang=en
To run it, go to a command prompt and type:
sharepointbpa.exe -cmd analyze
If you have any problems, let me know.
Fadi
Wednesday, 28 May 2008
70-631 Configuring Microsoft Windows SharePoint Services
eg, What does ISA config got to do with SharePoint config? As a SharePoint administrator, I don't think you need to know the exact steps to setting up rules in ISA, or MOM, or SQL. Now, Im not saying that you shouldn't know it, but for a SharePoint exam, it should only ask you questions about SharePoint.
Anyway, if anyone needs a hand with it, just ask me.
Fadi
Monday, 26 May 2008
Optimize Blob Cache by including most used file extensions and increasing the cacheabilty value
Please ensure that the “Office Sharepoint Server Publishing” feature is activated on all Publishing sites. Also, you should update the location to the best performing drive, add in extra paths, and add in the max-age to expire based on your situation. For example:
Current setting: <BlobCache location="C:\blobcache" path="\.(gif|jpg|png|css|js)$ " maxSize="10" enabled="false"/>
Example Setting: <BlobCache location="E:\blobcache" path="\.(gif|jpg|png|css|js|htc)$ " maxSize="10" max-age="86400" enabled="true"/>
If you have any problems, let me know.
Fadi
Thursday, 15 May 2008
Good Tool
Fadi
Tuesday, 13 May 2008
Switching off Versioning for Content Deployment
I don't know if any of you are using content deployment, but for those who are, you would have realised that the destination db is usually the same size as the source (if not bigger). The main reason for this is every time you deploy, it creates a new version of the document. The best way to get round this is to switch off versioning. Here's a little script i've written where you pass in the URL and it will switch off versioning for every list in every site.
class Program
{
static void Main(string[] args)
{
string strurl = args[0];
try
{
using (SPSite spsite = new SPSite(strurl))
{
SPWebCollection web = spsite.AllWebs;
for (int i = 0; i < web.Count; i++)
{
foreach (SPList list in web[i].Lists)
{
if (list.EnableVersioning)
{
list.EnableVersioning = false;
list.Update();
}
}
}
spsite.Dispose();
Console.WriteLine("Application run successfully!");
}
}
catch (Exception e) {
Console.WriteLine(e.Message);
}
}
}
Let me know if you have any problems running it. Sorry about the formating of the code, this blog editor doesn't import in properly from VS2005.
Fadi
Monday, 12 May 2008
Vista Bluescreen
To replicated the problem, simply follow the steps after Vista loads:
- AVG antivirus was began its usual scan.
- MSN loaded up as usual.
- Open up Windows Media Center and selected "Live TV".
- Open up Virtual PC and began to run WS2003 to do some site definition testing.
- I Opened IE7 to go to Gmail.
Could anyone that's able to replicate this problem let me know. We're trying to figure out if it's hardware related or a Vista bug.
Fadi
Tuesday, 6 May 2008
Partial Keyword Search/Wildcard Search Webpart part # 2
Fadi
Monday, 5 May 2008
Partial Keyword Search/Wildcard Search Webpart
Fadi
Friday, 2 May 2008
Excluding and AD Group from a site.
It's very simple. Simply create a AD group and add those users to the group, then through Central Admin, create a policy to deny them access. To do this:
- Go to Central Admin,
- Click Application Management
- Click Policy for Web Application
- Click Add Users
- Select the Web Application you want to deny users access to
- Click next
- In the users box, put the AD group (or if you didn't create the AD group, simply put the Usernames in there)
- Click the Deny All or Deny write check box (or if you want to only give a specific user access, grant all)
- Click Finished
Now the users in that group can't access the site, even though Authenticated Users have permission on the site level.
If you need any help doing this, please ask.
Fadi