Archive for the ‘Uncategorized’ Category

Hey dude … where’s my document. Your document dude … where is it.

December 15, 2011

The below is copied verbatim from a post I read on a forum, but really nails my knowledge of an issue I’ve seen crop up in our SharePoint environment. Basically when a user checks in a document with required fields without completing those fields, SharePoint makes the document invisible to other users. No warnings, no nothing, just invisible SharePoint wierdness.

 

• We discovered a more troubling impact of this behavior described above in WSS, and a better-than-nothing workaround that may help in some cases where there are a lot of files that need to be checked in.

The Problem:
We had a Library with hundreds of files that were not even visible to anyone except the person who uploaded them, and a few files that were visible. The uploader had no clue that no one else could see them, until someone finally asked the uploader about a file they expected to see in that Library.

Observation:
The invisible files were all posted via Upload Multiple Files or Explorer View drag and drop. When the uploader viewed those folders, they files appeared and were listed as checked out to the uploader. However, check-out was NOT required for that Library.

Analysis:
When multiple files are uploaded to a Library that has one or more Required columns, it appears that SharePoint WSS automatically checks them out to the uploader, and makes them invisible to anyone else. However, the uploader is not warned or prompted in any way to fix or check in the Library items.

There’s no problem with individually uploaded files, because in that scenario SharePoint immediately prompts for the required information.

The Workaround:
• Temporarily change any Required columns to Not Required
• If any files are checked out to someone else, choose Document Library Settings > Manage checked out files > check the select all files box next to the column titles > click Take Ownership of Selection
• For each folder in the Library :
• Copy the checked out files to your desktop (e.g., in Explorer View), and delete them from the Library
• Re-Upload the files
• Edit in Data Sheet to quickly add the Required columns to multiple files
• Tip: If files are nested in multiple folders, create and open a flat view before switching to Data Sheet mode(Create view > Folders > Show all items without folders)
• Reset the columns to Required (or, drop the Required setting from the columns)
Hope this helps.

Advertisements

Network virtually disappeared.

June 16, 2010

Ok sorry for the pun,

But seriously I booted up an VHD into a new hyper V machine and despite my best efforts, nothing, no connectivity … nada.

Now I’ll admit this is not my primary area of expertise, but I do try to at least understand the basics … so I investigated.

Checking out the virtual network device I was informed that the VMBus Network Adapter had failed to start

“This device cannot start (Code 10)”

Turns out that all I had to do was connect to the VM from the host select Actions -> Insert Integration Service Setup Disc (Ctrl + I) and voila fixed (after a quick restart).

It’s the simple things in life that are often the best, if I’d bothered to read the error messages from the Hyper-V role manager all of this would have been made clear to me a lot sooner <sigh>

This is still a glitch in 2010 … C’MON !

June 15, 2010

Wow,

I encountered this bug in 2007, and it’s happening again in sp2010, you really would have thought this would be low hanging fruit.

Ok so maybe I was a little over the top in the subject line of this post … but REALLY !! (there I go again).

Basically when your go to provision search it fails with the error

The call to SPSearchServiceInstance.Provision (server ‘APP1’) failed. Setting back to previous status ‘Disabled’. System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password.

The fix is to supply the SearchService\ContentAccess user details with domain names in the “format DOMAIN\username, not just username” (copied verbatim from the linked article, but I know sometimes people don’t like to click through the links.

To get a little philosophical, I guess this might demonstrate the wide chasm that sometimes exists between business users expectatons of how easy/fast a tech fix should be
and the poor little programmers view.

To state it clear

  1. I found the problem
  2. followed the diagnostic trail to the ULS logs
  3. copied the error msg into Google
  4. followed that to the linked blog
  5. followed the advice
  6. had a moment of recognition as I realized I’d encountered the same problem in 2007 installations.
  7. had the mild euphoria of watching my problem fade away

I didn’t do anything particularly clever that would actually result in me understanding this problem any better.

Another way too look at the same situation would be to use the rationale, if something this obvious has been left unresolved in two releases the must be some serious complication that forces it to be there. That serious complication is probably worth knowing about as it is likely to be impacting other parts of the system/systems development as well.

Anywayz, it’s working now which makes me happy, but I don’t really know why it was broken in the first place which makes me … vaguely disquieted.

If you have any contact with SharePoint you have to watch this … it’s funny … it’s tragic … but I kinda wanna sing along

May 19, 2010

Karaoke SharePoint

To the tune of ‘Ice, ice, baby’ … full props to Dux for doing this I think this is the sort of thing that stops IT and business from just freezing over with their own stuffiness … but … wow … nuff said … watch the films.

The inner buzz of a good find.

May 13, 2010

I started following this guy ‘skorks’ I think when I read a few articles that got linked via the google reader (can’t remember why).

But since then I’ve had that lovely sensation of realisation when you/I discover we’ve made a good find.

The most recent (5 minutes ago) article I read by this man SKORKS was a review of modern Agile practices versus ol’ school software craftsmanship.

My take outs were:

i)   It made me think about Agile, Unix Programming and ways I could try to improve my own software craftsmanship.
ii)  A book to lookup/buy/read ‘The Art of Unix Programming’. I’d heard about it before, but this article made me want to read it.
iii)  This guy has a really nice consistency of his articles, he does more than just link to stuff (like I do); but actually performs some deep-ish analysis of an idea, some sources, some counter sources; it’s like a hearty bowl of soup !!

So if your in the software game, I reckon give this guy a quick read and let me know what you think.

One two many hats leads to role-based confusion.

April 29, 2010

One question I continue to have with all this ‘role based’ stuff

  • Role-based dashboards.
  • Role-based reports.
  • Role-based search
  • Role-based security
  • Role-enabled jelly beans 😉

Is the idea of multiple roles!!!

It’s no real biggy I guess, but everyone seems to be deliberatly ignoring it (the idea of one person playing multiple ‘roles’) which makes me wonder …

People go all-goey for the idea of CEO-Search vs Developer-Search; but what do you do when the CEO is a developer as well.

The obvious point is having additional context for determining which role(s) someone is playing in a given moment of time, but I guess that is a cultural shift as much as it is a technical one.

Something to think about, I’m certainly not sure my mind has rested on the issue. 

Interesting tid-bits from last nights mossig meeting.

April 29, 2010
  1. There’s no real need to install office 64bit edition, doing so is only more likely to generate some sort of incompatibilty. The 64 bit edition was only generated to support people working with really big spreadsheets (like those dudes that run wall street).
  2. There’s a nifty little game for learning about new and old office 2010 features.
  3. SharePoint 2010 search is going to use more a conversational metaphor vs. ‘feeling lucky’ type results.
  4. Role based search is going to be a factor in searching.

The data source control failed to execute the insert command … a simpler explanation

April 29, 2010

It’s easy to see an error message like the one in the title and go running for the hills “FAILED TO EXECUTE” Aghhgh !!! All is ashes …

Or go through and check the things you changed one at a time.

I discovered that the data binding expression I only half understood and had modified to insert new fields (below).

FieldName=”Budgeted Units” __designer:bind=”{ddwrt:DataBind(‘i’,concat(‘ff52′,$Pos),’Value’,’ValueChanged’,’ID’,ddwrt:EscapeDelims(string(@ID)),’@Budgeted_x0020_Units‘)}”/>

Was drawing its references, not surprisingly from the ‘<DataFields> … <DataFields/> tag set.

Where you see ‘@Budgeted_x0020_Units‘ I had instead ‘@Budgeted Units’ I should have suspected that it wasn’t gonna be space friendly.

So take outs

  1. Stay paranoid and avoid spaces in your field names.
  2. Try a few simple investigations before freakin’ out and running for the Internet.

Is this the difference between facebook and a twitter ?

April 18, 2010

OK, I’ll happily admit I’m one of those folks who still don’t really ‘get’ twitter. It just doesn’t really come naturally for me. I find myself self censoring (maybe a good thing), thinking do people really wan’t to know this ?

Anyways (ironically) here are my related thoughts. Heavily influenced by software development I’m sure.

Facebook is for state (what are you thinking, how are you ?)
Twitter is for behaviour (what are you doing right now, what have you just done?)

I’m aware not everyone uses it like this (nor should they have to). But for me I was thinking it might be a good divide.

This is a question that I’m very interested in so if you have any insights around this please leave a comment, and maybe you can help me resolve the idea.

Time to be a better little Microserf

April 16, 2010

It starts with learning some of the shortcuts listed here

Having worked at Vision Australia, I’m now a strong believer in the benefits of some well rehersed keyboard shortcuts.

A great way to learn (IMHO) is to pick a new short cut for a given day and just focus on learning that one (for me today it will be eithier the bookmark or the fullscreen shortcut in Visual Studio).

After a week or two of learning a shortcut a day you’ll look like a total guru to your fellow developers and business users and (as a bonus) will probably enjoy better productivity and code-focus too.

Aside note, I just kind of made up that term ‘code-focus’ but what I mean is that deep level of concentration when your focusing on only the problem in front of you and not all the crap that surrounds (I’m hoping bookmarking in Visual Studio and Fullscreen will help with this I guess).