I was recently brought into a client site where they had made use of PSAKE to handle their build process. The build would be kicked off from the traditional Workflow in TFS using an Invoke Process. Everything was working perfectly until they spotted that when the build failed there was no way of viewing which…
Category: .NET
How to check a PDFs page size with iTextSharp
I don’t know why I found it so hard to get hold of this information. I’ve placed it onto my blog for reference purposes. As before, if you can suggest a better method of doing this please leave a comment. 1: public string GetPageSize(string PathToPDF) 2: { 3: var reader = new PdfReader(PathToPDF); 4:…
“Version Conflict” when updating list items in SharePoint using ECMAScript/JSOM/CSOM
I thought I’d post this for my own records so I have somewhere to refer back to it. I’ve also posted it because there was very little help regarding the problem on the Internet and the workarounds proposed weren’t that nice. Many ranged from hacks that involved forcing the page to reload itself or having…
First look at Visual Studio 11 Beta
Just a quick blog article on my first thoughts on Visual Studio 11 Beta. I suppose the first thing that hits me after the web install (you will need to reboot) is “oh its very monochrome like.”. I think I can understand the choice behind the monochrome like feel, its probably been targeted towards developers…
Deploying SharePoint DataForm Webparts and the dreaded GenFireConnection
Its true Sharepoint DataForm Webparts are incredibly easy to develop if you need to query lists or data without the need to create fully grown webparts from scratch in SharePoint they are definitely the way to go. However there is a but and that is that most of the SharePoint Universe appears to believe that…
SQL Insert Statement Issues
Have you ever got the following SQL Insert statement issues “There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.” Like me you probably went and counted your columns and then…
Solving the 3709 error problem
I’ve spent many weekends looking into this problem and thought I’d best blog it so some one else at least gets the benefit of it. The issue I am talking about centres around the following error message. “The connection cannot be used to perform this operation. It is either closed or invalid in this context.”…
Setting up DasBlog on Windows Server 2008
I’ve been meaning to do a quick blog article about this for some time so I don’t forget. I found setting up DasBlog on Windows Server 2008 pretty difficult. I currently run DasBlog on a Windows Server 2008 server with the following app pool “.Net Framework v2.0 Application pool in Integrated Mode” One of the…
LizaMoon–Injection and Cross Site Scripting attacks
Following the news on the LizaMoon injection attacks which have been publicised a lot in the press lately really made me want to find out more. Being a technically minded person I wanted to scrape past the general media version of what was happening and get down to what this means to people who run…
Handling the DropDownList SelectedIndexChanged event in a Repeater
This is more for my own reference more because I keep on forgetting how to do it and am constantly look it up all the time. If it helps you out, even better! And before you say “..but in MVC you can do it like this..”. I know, but some of us still have to…