Boyan's Blog

Snippets of code and fun.

Related Posts
  • "401 unauthorized access" when server-side code or browser tries to call itself with URL

    It all started out as a problem I got in a load-balanced environment. However, this error can occur whenever you try to browse to a server's URL from that same server, but using a different host header. In my case, I wrote server-side code that browsed to my server through the load balancer URL,...
  • Visual Studio Test Suite 2008: Unit Tests Pass but Load Tests Fail

    This is a problem I recently ran into: - I am using Visual Studio Test Suite 2008 to create load tests that run multiple unit tests - I created unit tests that run by getting configuration settings from an app.config file - If I run the unit test by itself, they pass - I placed the unit tests in a load...
  • Performance Testing: The Performance Test Plan

    I have always had a problem doing performance testing (aka load testing). I am quite adept at recording web tests and collecting counters, but I still find it troublesome interpreting the counters that I gather from load tests. The problem is that I need a plan that will produce relevant results with...
  • MOSS: Indexing HTML from a Publishing HTML Field

    I was working on a custom search (Full Text Search) web part when at a point I came to know that managed property of a Publishing HTML field is returning just Text (simple) not actual HTML saved in that field. Whereas client requirement was to show formatted text with hyperlinks etc. in the web part...
  • Retrieving source code from a specific TFS label

    Technorati Tags: TFS , Team Foundation Server , Visual Studio 2008 , Labels Grab a specific version Choose Label and make sure both checkboxes are set (this ensures that your current Source code gets overwritten by the code you’ll pull from TFS), then click the “…” button (marked by arrow) Choose your...
  • Configuring Enterprise Library 4.0 for Exception handling and Logging

    A few weeks back, I was trying to configure Enterprise Library 4.0 for Exception handling and Logging exception into event log but was not able to find any help on internet so it took me long time to do all the configurations for handling and logging exceptions using Enterprise. Library 4.0. Follow following...
  • MOSS 2007 - Uploading and Indexing Large Files:

    A client has reported an issue that users were not able to upload files larger than 50MB file which we can resolve easily by updating Web Application settings; however, users were getting Timeout exceptions as well. Furthermore, business told us that business requirement is to be able to upload up to...
  • VSTS – Setting Permissions on Work Items?

    Is it possible? I was thinking the answer was no – but I poked around and ran across this forum entry which outlines how you do it – basically, the short version is TFS allows you to apply permission (or deny permissions) to a specific Node in the Area Path Tree. http://social.msdn.microsoft...
  • Event ID: 6875 in Event Viewer after deleting an SPFolder in a SharePoint document library

    ehucsd969j I am deleting a folder from a document library using the code: using (SPSite tempDocLibSite = new SPSite(tempDocLibWebRootUrl)) { using (SPWeb tempDocLibWeb = tempDocLibSite.OpenWeb()) { tempDocLibWeb.AllowUnsafeUpdates = true; SPFolder tempAttachmentSubFolder = tempDocLibWeb.GetFolder(string...
  • Make Your Legacy Apps Work on the Internet

    So, we’re just retiring our first server.  We used to name our servers after our clients, and our first client was MIND – Microsoft Internet Developer magazine, a pre-cursor to MSDN magazine.  It was with nostalgia, that I went looking for that first bit of technical prose… But alas, the Microsoft...
Page 1 of 4 (80 items) 1234