Monday, 12 May 2008

Vista Bluescreen

A guy work with (thanks Phil), has experienced a problem with Vista. To get it to crash and report this error



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

I have the web part working now! I will upload the code onces I've cleaned it up a bit, but it works. I still want to performance test it and modify the results. I'll modify it to work with the current search web parts in the future, but for now it writes to a data view and I am modifying it so you can specify the XSL through the web part task pane. If anyone knows how to add the "XSL Editor" to that pane, please let me know that way I don't have to spend time researching it.

Fadi

Monday, 5 May 2008

Partial Keyword Search/Wildcard Search Webpart

Im in the process of writting a webpart that does partial keyword search (or wildcard search). I have it working and Im prettying it up at the moment. I will post the code up there once i've completed the web part, so if anyone want it, shoot me an email and Ill forward it to them once it's complete.

Fadi

Friday, 2 May 2008

Excluding and AD Group from a site.

I was asked what's the best way to exclude specific users from a SharePoint site that all authenticated users had access too.

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

Sunday, 20 April 2008

Instructions on restoring a content database to a new farm.

Over the past week I've been working on a system where I've had to restore a very large content database from one farm to another. STSADM kept failing. The easiest way was to do a SQL backup of the database and restore it on the new farm's SQL server. Once we did that, through central admin we created a new web application, removed the content database associated with it from within central admin and added the restored content database.

Please note, you might sometimes see that once you attach it, it comes up saying sites as 0. To fix this, open up your restored database and configuration database in SQL Server. Then find the sites table in the restored database and located the ID of the site. Now open up the configuration database and find the SiteMap table. Located the row with the same site ID and then delete it. You should now be able to attach the restored database without issue.

Let me know if you have any problems with this.

Fadi

Wednesday, 9 April 2008

Backup and Restore

Many of you may have come across this, but I thought i'd write about it. We have a SharePoint application who's database has hit over 50gb (should split it, but ill post about that later). Anyway, TSM backups keep failing and stsadm backups work fine, however fail during the restore process. A qucik way to fix this is to use Central Admin backup and restore. Its simple, and it worked fine for the problem we were having.

I still HIGHLY recommend spliting the content database to more than one db as it's getting very big and SQL will manage it much better. As I said, I will post about how to split it later when I get a chance.

Thursday, 3 April 2008

Web Applications and System Accounts

It's been a couple of weeks since my last post but I've been flat out fixing some SharePoint issues. I will add a post about it in a few days (it's a huge issue involving performance).

Anyway, I'm building a new farm for a client. It's a pretty large farm involving 6 servers (not including the DB). One thing I recommended was to have a different system account for each application they install on the farm. The main reason for this is to limit problems like accounts being locked or passwords being changed etc. This way, if a system account becomes locked, only the application using that system will stop functioning (instead of the entire farm). Now there's a bit more maintenance involved, however in the long run it's worth the work.

Fadi