Can be found here
Category: Uncategorized
More Fixes for the XP Search bug
This is a couple of solutions to the windows XP search bug.
I call it a bug, MS calls it a feature. If windows does not recognize the file extension it will be excluded from searches.
This cost businesses money in pointless searches for files that really do exist but claim not to.
It the banking world it is common to have transfer files with a sequential number extension (possibly a serialized date).
Trying to prove that your app is not skipping messages is far more difficult than it needs to be.
Enabling DTC on a cloned machine
This allowed us to get the DTC working on a cloned machine. It’s a bit odd but then the DTC is rather an afterthought.
Wierd SharePoint bug
I started getting the following error message:
0x80040E09 on SPListItem.Update.
Resolved by granting Update permissions to the WSS database.
Kerberos and SharePoint
Here is an article on fixing SharePoint in a Kerberos environment.
K2 and MSBuild
TFS Howler
TFS howler: password changes while VS is open – you lose the ability to check in until you restart VS. Bug exists in 2005 and 2008
TFS is a very different version control system. That is not a good thing. It seems clunky and ill thought out. Unfortunately I have to use it…
It assumes that you are using visual studio (unless you use the excellent tfs bridge/ tortoise svn).
You need to save everything before you can check in.
K2 Roles
This is an article on K2 Roles.
Personally I think that K2 have made a mistake in their handling of AD Groups as destinations.
It seems to upick the group into it’s parts as the Activity is entered. Which is great until a new user joins the team. They can’t perform actions on the item until it has been moved state.
Caching In Winforms (or anywhere else)
Here is a great article on using the ASP.Net cache outside of web apps.
This is the gist of the article:
- Add System.Web to your references
- Get the actual cache object using
private Cache m_Cache;
m_Cache = HttpRuntime.Cache;
Clearing Down The Transaction Log
I have a colleague to thank for this:
This is blisteringly fast and just works.
use Core
go
checkpoint
go
backup log “Core” with truncate_only
go
DBCC SHRINKFILE ( “Core_log” )
go
use OtherDB
go
checkpoint
go
backup log “OtherDB” with truncate_only
go
DBCC SHRINKFILE ( “OtherDB_log” )
go