|
Joe Capka Profile |
|
|
Nasty "Data is Null" error in SharePoint 2010 Search
Joe Capka For the last few weeks my team has been struggling with a nasty error that showed up after we performed a search crawl on our SharePoint site. The site has a number of customizations and along the way we managed to do something that resulted in the following error showing up in the crawl log:br /br /span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from ShareP [read]. Posted: Mon, Aug 23rd '10 |
Managed Metadata Countries
Joe Capka I spent some time on this the other day and thought others might find this useful. I needed a list of all the countries in the world as SharePoint Managed Metadata. So I grabbed the list of countries from a href="http://en.wikipedia.org/wiki/List_of_countries_and_territories_by_continent"Wikipedia/a and cleaned it up in Excel so that it can be imported into the Managed Metadata Service Application in SharePoint 2010. You can download it a href="http://www.xcomplica.com/downloads/geography.csv"he [read]. Posted: Thu, Aug 19th '10 |
Strange SPANs in SharePoint 2010 Team Site
Joe Capka My colleague and I came across something quite strange yesterday and I think it's worth sharing. We were inspecting the HTML source of a SharePoint 2010 Out-Of-Box Team Site and found this at the end of the file:br /pre class="brush: html"lt;/bodygt;br /lt;/htmlgt;br /lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt;lt;spangt;lt;/spangt; [read]. Posted: Wed, Jun 30th '10 |
Connecting XsltListViewWebParts together in code
Joe Capka Last week a client ran into some trouble trying to connect two XsltListViewWebParts (XLV) together using a feature receiver. Google yielded little so I thought I'd blog about it.br /br /Assume that we have two lists. One list is called Categories and the other list is called Items. The Items list has a lookup field to the Categories list Title field, and the name of the lookup field is Category.br /br /First, the two web parts need to be added to a web part page, in our case inside a module.br / [read]. Posted: Sun, Jun 6th '10 |
Linq to SharePoint for Anonymous users performance Part 2
Joe Capka Recently I posted about the bad performance of LINQ to SharePoint when using my anonymous users hack. Well I did some more testing and it turns out that my first test was much too premature. It seems that the statistics I was seeing were due to something entirely different, I am guessing the internal implementation of Linq to SharePoint vs CAML queries, but that is pure speculation. br /divbr //divdivFirst I will introduce 2 acronyms because I am a lazy typist:/divdivbr //divdivL2SP - Linq to Sh [read]. Posted: Sun, May 30th '10 |
Linq to SharePoint for Anonymous users performance
Joe Capka span style="color:red;"UPDATE: I have been doing some more testing and I am coming to some results that are very different from my initial quick test here. I will have a post about it soon, but for now I'll say that the performance seems to be more than acceptable./spanbr /br /Not that long ago, I was happy to post that I figured out a way to run Linq to SharePoint for an anonymous user. I have some bad news for those who want to use it. I had a quick chat with a href="http://blog.mastykarz.nl/" [read]. Posted: Wed, May 26th '10 |
Insert item into a (sub) folder using Linq to Sharepoint
Joe Capka Someone had a question on how to insert items into a sub folder of a list in SharePoint 2010 when using Linq. Not obvious at first, I thought I'd blog the answer:br /br /Let's say that you Create someObject based on a class generated by SPMetal. Let's also say that this object is suitable for passing to the InsertOnSubmmit method of the data context. Then you call the following to insert the item into the root of the list:br /br /pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed [read]. Posted: Tue, May 11th '10 |
Making Linq to SharePoint work for Anonymous users
Joe Capka Earlier today I ran into the issue of Linq to SharePoint not working for anonymous users. The issue is discussed at a number of places: br /br/br /a href="http://blog.mastykarz.nl/sharepoint-2010-linq-doesnt-support-anonymous-users/"http://blog.mastykarz.nl/sharepoint-2010-linq-doesnt-support-anonymous-users//abr /br/br /a href="http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/9b59abcb-6bce-42f1-9eae-ad9561753044"http://social.technet.microsoft.com/Forums/en-US/s [read]. Posted: Tue, May 11th '10 |
FieldRef element not working with custom content type
Joe Capka I have been working on SharePoint 2010 for the last few weeks and have found the new development tools quite useful. So far I have been able to avoid any CAML issues like typos that plagued MOSS 2007 projects. Today I ran into something interesting however.divbr //divdivI was creating a custom content type with some custom site columns, but after activating all the necessary features, my content type only had site columns in it that were from the parent content type. None of the site columns def [read]. Posted: Thu, May 6th '10 |
My New SharePoint Server
Joe Capka I started working on a SharePoint 2010 project this week, and I needed something to run it on. My MacBook Pro would cut it if I ran it native and not via Parallels, but I would then have to deal with dual booting, etc. More importantly, my MBP is in the shop cause I fried the keyboard when I spilled beer on it. :) Back on the trusty T43p until the MBP is fixed.divbr //divdivSo I needed some way to run SharePoint 2010, and I didn't feel like buying another laptop. My solution: Mac Mini. Purists o [read]. Posted: Wed, Apr 28th '10 |
Microsoft Exam Done
Joe Capka A few weeks ago I decided it would be good for my business if I had some Microsoft Exams under my belt. I wrote the 70-536 exam today and got a nice high passing score. It's not a hard exam, but you do have to study quite a bit. There are questions from all parts of the .NET framework so you can come in contact with many new things. Two more for MCPD.div class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8690173-6821497113813881030?l=jcapka.blo [read]. Posted: Wed, Apr 28th '10 |
Office 2007 Crashes on Server 2008 R2
Joe Capka A few days ago after one or another update of my Server 2008 R2 machine, all my MS Office 2007 apps would crash immediately when started, and the only thing in the event log was something like:divbr //divdivFaulting application EXCEL.EXE, version 12.0.6524.5003, time stamp 0x4b4fba46, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x00000000, process id 0xa10, application start time 0x01cad7f1dc0ebffb./divdivbr //divdivIt took me a while [read]. Posted: Fri, Apr 9th '10 |
Free ticket to DevDays 2010 - now gone
Joe Capka divspan class="Apple-style-span" style="color:#FF0000;"UPDATE: Ticket has been given away - Sorry :(/span/divdivbr //divI happen to have a free ticket to DevDays 2010 in the Hague this year and can't go because I am out of the country. I am willing to give my ticket away to someone who can make good use of it, and preferably to someone who doesn't work for a large company that should buy their ticket for them. So if you are a a freelancer or a small company that works in Microsoft technology and [read]. Posted: Sun, Mar 14th '10 |
USA = World
Joe Capka I love how some American companies feel that the world is no bigger than their country. Today I received the following email from a company called Software Wholesale Intl. (I assumed the Intl meant international):divbr //divdivdivspan class="Apple-style-span" style="color:#3333FF;"We unfortunately cannot sell outside of the US. Sorry about that and good luck. /span/divdivspan class="Apple-style-span" style="font-family:'times new roman';"span class="Apple-style-span" style="color:#3333FF;"Jess/s [read]. Posted: Tue, Mar 9th '10 |
Good customer service for a change
Joe Capka divI am not one to praise a corporation lightly, but I feel I need to in this one instance./divdivbr //divOver the past year I have done some work for American Express and was thus exposed to the various benefits their card holders enjoy. Then a few months ago my credit card form ING was prematurely terminated due to the merger between ING and PostBank and let's just say that switching the ING Visa to an ING Mastercard was a 4 month ordeal that resulted in me saying goodbye to ING credit card se [read]. Posted: Mon, Mar 8th '10 |
EPiServer and Image Vault
Joe Capka I have spent the last month working as a developer on an EPiServer project and I have mixed feelings about the product. EPiServer certainly has a lot of good stuff to offer and is fairly easy to get working. It feels a little rough around the edges though and coming form a SharePoint or ASP MVC environment it can feel a bit "open sourcey". I was not impressed by the lack of page type inheritance and by not having strongly typed properties but there is the Page Type Builder project that seems to [read]. Posted: Fri, Mar 5th '10 |
Dumb mistake
Joe Capka So I made a rookie mistale today and it took me a while to figure it out. I copied a code snippet form one ASP.NET page to another and got myself into trouble. I should know better than to copy and paste code. :)divbr //divbr /divI had the following code in my page, and I couldn't figure out why I was getting a stack overflow problem. /divbr /br /pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashe [read]. Posted: Wed, Feb 10th '10 |
Autotune yourself
Joe Capka A site went live not that long ago that I helped create, and while it is a silly site I am quite proud of the technological achievement it is. Let's just say that I really came trough for my client on this one. divbr //divdivThe site is to be found at a href="http://www.u-tune.nl"www.u-tune.nl/a and allows people to karaoke sing. The achievement here is that the vocals are then transformed using Autotune and after being merged with the music are played back to the user. As far as I know this is [read]. Posted: Fri, Feb 5th '10 |
New Office
Joe Capka After few months of searching, negotiating mortgages and waiting for the bank, I finally got the keys to my new office yesterday. I will need to do some maintenance but after some new paint and some cleaning, XComplica will have a new home. This is the first step in the expansion planned this year. Registering as an Ltd is next.div class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8690173-227841729191905692?l=jcapka.blogspot.com' alt='' //div [read]. Posted: Fri, Jan 8th '10 |
Blackberry sync on Mac - thank god for gmail contacts
Joe Capka I tried to sync my blackberry contacts with my Mac address book contacts today using the not so long ago released software for this, and I have to say that RIM has some work to do here yet. Thankfully I have my contacts stored in my gmail account cause the sync made a mess and a half of my blackberry AND my mac address book. I can understand that this isn't the easiest thing to get right, but when my email fields say SMTP instead of the actual email address for many contacts, I think the softwar [read]. Posted: Tue, Dec 15th '09 |
ING Rights Issue - Great scam!
Joe Capka div[EDIT: Ok, I was quite frustrated yesterday. Today I did manage to get trough to the bank and get this done but I am still not impressed with the hassle that it was.]/divdivbr //divdivFor those who are more versed in the financial world, I apologize for messing up the names of some things, I hope the message gets across nonetheless./divdivbr //divRecently ING announced that they would be holding a rights issue for their current shareholders. I own some ING stock and so this morning I decided [read]. Posted: Mon, Dec 7th '09 |
new xcomplica.com
Joe Capka A few days ago I launched a new version of a href="http://www.xcomplica.com/"xcomplica.com/a . My friend Alex at a href="http://www.warsvanpoeha.nl/"Wars van Peoha/a (Alex now has a new company - a href="http://www.greencreatives.nl"Green Creatives/a )made a great design for me to start from and I am proud to say that I did the rest myself. The html, css and jQuery bits took me the longest since I am no expert in these while the ASP.NET MVC back end was a breeze. divbr //divdivThis is the first [read]. Posted: Thu, Nov 5th '09 |
Don't be evil, right?
Joe Capka Yesterday and today I felt first hand how giant Google has become and the negative effects it has on the world. I now see that while the stuff coming out of the Googleplex is often very cool, Google is in some ways becoming the Wallmart of the internet. As soon as they show up, everyone else is expected to go broke. What do I mean by that? Well online there aren't physical locations that companies compete in, but there are product spaces. And as soon as Google enters a product space, any compani [read]. Posted: Thu, Oct 29th '09 |
Working on MAC
Joe Capka I have been working on my Macbook Pro for a few weeks now and have to say I have been quite happy with it. The hardware is great and I have found OS X to have everything I need for my daily tasks. I do miss having Visual Studio and MS Office on my local machine, but I have a virtual machine using Parallels that I use for this software. Parallels has been working quite well, I just can't get the automatic snapshot thing to work. It took an automatic snapshot once, and since then has been ignoring [read]. Posted: Wed, Sep 16th '09 |
Code snippet for Visual Studio for creating site columns
Joe Capka I have created a code snippet file which I use to create site columns in CAML. It is by no means perfect or complete but I find it useful so someone else might too. How to use code snippets is explained in many places so I won't regurgitate that here. I will mention that you need to type the open angle bracket, hit ESC to disable intellisense and then type the site column shortcut followed by TAB. divbr //divdivGet the snippet file here a href="http://www.xcomplica.com/downloads/sitecolumns.snip [read]. Posted: Wed, Sep 2nd '09 |
Screwed by sky europe
Joe Capka Gotta love the 5 hour delay on a 2 hour flight, and the sudden change of destination. Thanks sky europe, never flying you again. I guess I'm not alone though seeing as you're going bankrupt.divbr //divdivUPDATE: Screwed a second time when they really did go bankrupt and I had to buy a new flight home from vacation.br /---/divdiv class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8690173-1262661230095377005?l=jcapka.blogspot.com' alt='' //div [read]. Posted: Fri, Aug 21st '09 |
New Site
Joe Capka Not too long ago I finished working on a new site and forgot to blog about it. The site is a href="http://www.americanexpressavenue.nl"American Express Avenue/a and was created in ASP.NET MVC 1.o. I had a great time learning MVC, LINQ to SQL and a few other things and am hoping this stuff will show up in the next version of MOSS.div class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8690173-1721436983725594082?l=jcapka.blogspot.com' alt='' //di [read]. Posted: Fri, Aug 14th '09 |
I am a Mac
Joe Capka The last few months have seen my trusty T43p Thinkpad slow down and demand retirement. I have to say it was by far the best machine I have ever owned and it was my only computer for the first three years of my business. Sincere thanks to IBM.divbr //divdivI thus decided to buy a replacement, and after much deliberation (ask people who I worked with recently) I decided to buy a MacBook Pro. I bought the flagship 17 inch with almost all the upgrades (didn't shell out the extra grand for 8GB of RAM [read]. Posted: Fri, Aug 14th '09 |