System.MissingMethodException: Method Not Found when running unit Tests

Lately, I have been doing Test Driven development in my development projects. I have noticed a strange issue which occurs especially when the code coverage is enabled for the assemblies. The result is , unit tests works normally in Debug mode and do not behave as expected when run in Normal mode. I have noticed…

3

Adding Client script to TreeNode Click Event

Most of the ASP.NET 2.0 controls provide way to add client events to them. For example, TextBoxes, checkbox are simply rendered as <input> elements and can be easily hooked to JavaScript functions either programmatically or declaratively. However, TreeNode is a special case in that. There is no straightforward way to hookup client events to it….

2

Resolving Common issues while Applying Site Templates (.stp) on MOSS 2007

Lately, I have been working a lot with site templates in MOSS 2007. I have seen common issues which keep occurring now and then. I am posting the resolution of those since you might also run across them frequently.   File Cannot be found This one is easy. In 99% of the cases, this usually…

1

Use right tools for x64 machines

If you are setting up a x64 server for MOSS, there are some things to be taken care of. I ran into couple of issues while setting up my development machine and had a hard time debugging it. While registering ASP.NET 2.0 framework with IIS, make sure to use 64 bit version of aspnet_regiis.exe. This…

0

Managed Debugging and inspecting Jitted code With WinDbg

WinDbg is a powerful tool to debug applications. Lately, its use has been extended to managed debugging as well through an extension called sos.dll (Son of Strike). Sos.dll is shipped with both .NET Framework 2.0 and .NET 1.1 Framework and is a WinDbg extension which allows WinDbg to read managed data structures such as Method…

3

Resolving Very Slow Symbol Loading with VS 2008 during debugging

Recently, I was encountering insanely slow project loading times during debugging in Visual Studio 2008. Interestingly, this only happened while loading the project only in debug mode. Also, during the slow symbol loading time, the status bar at Visual Studio 2008 always showed Loading Symbols For ____.Dll. To track it down, I enabled logging for…

15

Showing Exchange Inbox in MOSS 2007

Recently, I have seen a lot of discussions on forums about showing user’s mailbox on a portal homepage. This is very similar to the case in My Site, but in this case the portal is not My Site and the requirement is to let each user view his/her mailbox using the My Inbox Web Part….

7

Switch the sharepoint webpart page Display Mode into Edit Mode and Vice Versa

Recently one of my clients had a requirement to go into Edit mode of a sharepoint page using a manual link displayed in quick launch. He was lazy of going to Site Actions -> Edit Page and then again going somewhere else for Exit Edit Mode 🙂 To give some background for beginners, whenever we…

7