Category: .NET

  • this application failed to start because side-by-side-configuration is incorrect

    it could be other things but in my case (which is common apparently) is was just caused by having an ampersand (&) within one of the values in the web.config/app.config appsettings key-value pairs the fix is to simply change & to & this is because the xml reader is not able to parse the *.config…

  • adding custom SSIS transformation to visual studio toolbox fails

    Just very recently I encountered an issue in deploying a custom SSIS component assembly where I cannot add a custom SSIS transformation to the Visual Studio toolbox. It turns out to be a relative “no-brainer” error if only the clues were more straightforward. Basically after deploying the assembly I could not find my component listed…

  • Register for Visual Studio 2010 Beta Exams (.NET 4.0)

    Time for (free) Beta Exams again Information can be found from here http://blogs.technet.com/betaexams/archive/2010/03/17/register-for-tools-utilities-2010-beta-exams.aspx Register via http://register.prometric.com For easier reference, exams available are listed below (along with PromoCode) Exam 71-511, TS: Windows Applications Development with Microsoft .NET Framework 4 – 511BC Exam 71-515, TS: Web Applications Development with Microsoft .NET Framework 4 – 515AA Exam 70-513:…

  • Safety settings on this machine prohibit accessing a data source on another domain

    Encountered this message many times with sites using PivotTable component of OWC11 (office web components) “Safety settings on this machine prohibit accessing a data source on another domain” This is a browser restriction (at least with IE). Before resolving this, make sure you are accessing a trusted site. Resolution: 1. Add site to the zone…

  • My Simple Talk article on ANTS Profiler and Performance

    A couple of weeks back, RedGate/SimpleTalk contacted me for a short article about ANTS Profiler. I've been using it for sometime and has definitely been very useful so I won't think twice about recommending it. Here's the link (below) and please do drop by to read it. Feel free to rate/comment Using a profiler to…

  • BlogEngine.NET migrating to IIS 7

    This blog running on BlogEngine.NET (and the its parent/main site) is now running on IIS 7 Integrated Mode and would like to share a little of my experience. There were two major issues with I migrated these blog to IIS 7 [more] 1) Server Error in / Application – Request is not available in this…

  • remove malicious script tags from file

    Here's a small Windows Forms application that I created to automate removal of malicious SCRIPT tags inserted into some web files. [more] (or in general – even non malicious scripts). Of course, you can always do this manually but if we're talking of hundreds or thousands of files, it will be one heck of a…

  • Performance, Measure and ANTS Profiler

    Might need to create a separate page for notes on performance since I've been doing a lot of C# and database tuning lately but having them on this post so far. Here are some of my notes on performance [more] * Before you optimize, ensure that your results are accurate first before optimizing. I would…

  • Short Scattered Notes

    I have some short notes to make and it might not be blogworthy so having them on this page instead 🙂 Will add to this from time to time. [more] ASP.NET Security * You have a web site/application deployed to IIS. You use <authentication mode="Windows"/>. You set the IIS site/virtual directory security to allow anonymous.…

  • MCTS ADO.NET 3.5 Applications results out and passed

    A good way to start a day. Just got an email regarding another latest addition to my cert list. Microsoft Certified Technology Specialist : .NET Framework 3.5 ADO.NET Applications [more] The exam I took for this was 71-561 and when going live would become 70-561. I was excited to come up with a new logo…