connex's profileConnex' Copper CoinsBlogLists Tools Help

connex

Occupation
Location
Interests

Connex' Copper Coins

My rants about Sharepoint 2007 (MOSS) and other vital things in life

Lo' and behold ... I'm back

 
For all those who are still subscribed to this blog.
Since this space is associated with an email I no longer can access, my Blog has moved.
 
I will start frequently blogging again now at Get Embeddded!
 
Please update your Links.
 
 

Bye Bye SharePoint - Windows CE here I come

 
Every once and a while it's about time to change things in your life. And a while ago my family and I decided that we want to move back to Munich, DE. After looking around for a long time or a challenging SharePoint position, and even considering going to UK or Australia, I got an offer of a Munich based company to become head of development for their stuff. The only drawback is, that it will have nothing to do with SharePoint :(
But that's life. My family is happy, I'm happy and have a new very challenging position.
 
I will try to give around another few bits of SharePoint tipps i gathered, but the main focus of this blog will shift to Windows CE 6.0 , XP Embedded maybe even Vista Embedded.
 
So what will happen to my projects?
Well pretty simple, all projects not yet being in a stage of going public will be closed by today.
The only project being ready for release is the FeatureCreator. I handed over this project to my colleagues, and hope they will release it for free as well. I can't promise though.
However, I will write down some excerpt of my approach for transporting lookup-fields the next days, so maybe someone will pick the idea up and craft a tool, if my colleagues don't.
 
So stay tuned for my last SharePoint posts and come in and find out about my CE-postings.
 
Cheers.
 
 

Visual Studio 2005 Extensions for WSS and other rants

When I read the news the last days about the SharePoint Solution Generator included in the Visual Studio 2005 Extensions for WSS, I was immediately thinking "Those who come late, will be punished". So the SolutionCreator Project I intended to kickoff is dead now. It makes absolutely no sense to develop something, MS has already.

But checking out the VSE there are some drawbacks.
First the installation. Hey Microsoft, did you ever hear about people not installing stuff to the C:-Drive? Well, if, you ignored it with the VSE-Installer. The VSE installs the templates hardcoded to C:. What a Bummer. Took me quite a while to find out. Why not checking the registry for the location of the custom templates directory?
Second, the SharePoint Solution Creator has exactly the same problems I'm facing with the FeatureCreator-Project and my now dead SolutionCreator. Namely: Lookup-Fields. Those fields are commonly used all over our projects, and what a pity I can not transport them in features or solutions :( But hey wait, there is a solution for this. What is it, you might ask. I'll not reveal it right now, but version 1.1 of the FeatureCreator will support transporting of lookup-fields.

Which brings me directly to the next point. FeatureCreator. Many of you are waiting eagerly for the first release, and hey yes I know I'm far beyond my timeline. So the main question for me right now is, shall I release a Version now or shall I wait till RTM, which I hope to hold in my hands before 11/30. So mainly it's up to you folks. Want to have your hands on it now? Then leave a comment.

Also, yesterday evening (morning for you), I attended a pretty good LiveMeeting about the BETA2TR->RTM upgrade procedure. I hope the upgrade will be as easy as they said :)

With Office Launch coming closer, things start sorting out. So, if you are around Stuttgart Area, come to see me on the stage on November 21st presenting all the cool SharePoint-Stuff. I'll spend a beer afterwards ;)

Stay tuned for more news...

Workaround for failed workflow start in non-english environments (Beta2TR)

BETA2 TR has a known problem with starting workflows if you use a non-english environment (e.g. german).
The problem is that a conversion of a datime-field fails.

Since Microsoft has not posted a workaround for this yet, here is how to make workflows running:
If you change the default-language for the users to "english" all works fine:

  1. Login to the Server, and start a cmd-Window.
  2. enter "osql -E"
  3. enter "use master" followed by return
  4. enter "go" followed by return
  5. repeat step 6 for all logins that access the server
  6. ALTER LOGIN [MOSSBETA\SQLServer2005MSSQLUser$MOSSBETA$OFFICESERVERS] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english]
    GO
  7. restart the sql-server

For my german MSDE it looked like this:

ALTER LOGIN [MOSSBETA\SQLServer2005MSSQLUser$MOSSBETA$OFFICESERVERS] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
ALTER LOGIN [NT-AUTORITÄT\LOKALER DIENST] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
ALTER LOGIN [NT-AUTORITÄT\NETZWERKDIENST] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
ALTER LOGIN [NT-AUTORITÄT\SYSTEM] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
ALTER LOGIN [VORDEFINIERT\Administratoren] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
ALTER LOGIN [VORDEFINIERT\Benutzer] WITH DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english];
GO

 Like always, if you liked this, kick it.

Updated: Beta2TR Slipstream installation fails on VirtualPC? Don't Panic!!

Lately a lot of people asked me, how they can solve the problem with the failed Beta2TR-Installation using slipstream in standalone mode on a VirtualPC/VMWare.
Most went to a separate SQl Installation then, because nothing helped.
But here's how I got it working:

  1. Start the installation in standalone mode as normal.
  2. When the error pops up because SqlExpress installation failed; Send the Error-Report :-D, close the Error Box
  3. Uninstall IE enhanced Security
  4. Disable Popup-Blocker
  5. Navigate to %CommonFiles%\Microsoft Shared\SERVER12\Server Setup Controller
  6. Run SqlExpressWrapper.exe by doubleclicking on it.
  7. Lean back, have a coffee or two
  8. When the cmd-window disappears, start the Configuration-Wizard.
  9. Voilá, send a smile to connex ;)

 Update:
I got some messages that SqlExpressWrapper exits at once.
If this happens start "SqlExpr.Exe". Follow the Install UI.

At the screen where you enter the name is a checkbox "Hide advanced configuration" make sure to uncheck it.

Pic1: Uncheck this checkbox!

At a later screen then you will be able to name the instance:
 
Pic2: Name the instance "OfficeServers"

There you go, leave the rest default and after finishing you can start the MOSS Configuration Wizard.

 

kick it on SharePointKicks.com Like always kick me, if you liked me...

Where's my Feature?

When deploying a Feature, sometimes it's necessary to access some files during activation. in Multi-Lingual Environments, this can become a real mess, to find out where the "FEATURES"-Directory actually is (Environment etc etc). But hey, good old MS gave us an easy way to get it:

 (excerpt from my Utilities-Class)

public static string FeaturesRoot
{
  get { return SPUtility.GetGenericSetupPath("Template" + Path.DirectorySeparatorChar + "Features"); }
}

Features, DataViewWebParts, Lists and how they live together in harmony

Today someone asked me how to solve the following problem. How to create a feature that contains DataViewWebParts? Well, of course off hand, this is not very complicated, but now the interesting point. How to make this DVWPs to lookup the list where to grab the data at runtime and not to use the list guid you provided at designtime? I bet you guess, the problem popping up here. After installing the feature (and the corresponding lists) the guids are different. What a bummer.
Now you could go ahead using a FeatureReceiver and alter the dvwps. Ugly Ugly Ugly.
There must be another way, and of course there is:

Just alter the dvwps-datasource at designtime! Make it use the list by name and not by guid:

<DataSources>
<SharePoint:SPDataSource runat="server" DataSourceMode="List" UseInternalName="true" selectcommand="&lt;View&gt;&lt;/View&gt;" id="dataformwebpart2">
<SelectParameters><WebPartPages:DataFormParameter Name="ListName" ParameterKey="ListName" PropertyName="ParameterValues" DefaultValue="MyList"/></SelectParameters>
[...]
</SharePoint:SPDataSource></DataSources>

Just replace ListID by ListName and the DefaultValue (guid) by the name of the list, eh voilá!
You might want alter some more locations of course, but hey I'm just giving hints, not a cook book ;=)

 Like always, if you liked this then kick it :)
kick it on SharePointKicks.com

MOSS Beta 2 -> Beta 2 TR Upgrade

Just a short note to those who update an existing Beta 2-Installation to the Technical Refresh:

If you run the Upgrade-Wizard, make sure the account that is used to run the Timer Services is a Farm Administrator.
Else the wizard will run forever sleeping, because the upgrade fails, but it does not recognize!

So what to do if you already applied the patches, but the account is not a farm admin?
Basically you have two options:

  1. Add the account to the local group "WSS_RESTRICTED_WPG"
    or
  2. Change the service-user to a user that is member of that group

Some Updates

Back from vacation in Italy with lousy UMTS-Connection :( but very nice weather :)

As you might have noticed I'm a bit *cough* behind my schedules. No excuses for this. You will have heard them all ... Vacation, Beta/TR-stress,too much online poker.... But well mainly I'm behind, because of my efforts to look for a new job. So, if you are looking for a SharePoint pro you might be interested to hire me *wink*

About the projects I kicked off:

  • SPEAK (SharePoint External Accounts administration Kit)
    Planning is done, first implementations are done. Watch out on CodePlex for the first version. Overallstatus ~60% to alpha
  • FeatureCreator
    Planning is done, First version is running (Beta 2), updates/checks for TR in progress. Overallstatus ~90% to beta1.
  • SolutionCreator
    Planning is done, First lines of codes are written. Overallstatus ~30% to beta1
  • TimerConfigurator (to be announced)
    Planning is done, Overallstatus 10%

Also starting with my next MOSS-blogentry I will run a hybrid blog, and start blogging in German as well. Mainly because there are not so many German SharePoint bloggers. The German blog will get it's own blogspace.

stay tuned.

nota bene: This post should have the category "other" but neither Live-Writer nor Live-Spaces give me an opportunity to add a new category and I'm too lazy to start word now ;)