Wednesday, November 26, 2008

Now this makes me proud :)

Read this article (sorry it is only in Swedish) in IDG, the Sharepoint solution that Polfärskt talks about is delivered by yours truly.... Makes me happy :)

Tuesday, November 18, 2008

How fast can you brand a site :)

Tonight I built a site definition with a brand new design for a WSS site, easy. Took me about three hours to rebuilt it totally - both the default.aspx and the core.css. Of course I didn't edit the core.css, but called my file hardcore.css! I am used to work with MOSS and the master pages which is very straight forward and where you just enable publishing features on the site and get all the design elements by selecting your master page. With a site definition you have all the files in the 12 hive instead and put them all together in a definition package and activate them as a feature. Should be faster to load the design using site definition compared to loading a master page. What do you think??

Sunday, November 16, 2008

Erik & Mackan - they're back!

Jag älskar deras program! Dessutom gjorde Erik & Mackan (redaktionen typ) ett inlägg på min gamla blogg så jag måste ju bara promota "Snygga och smärta" :)

Wednesday, November 12, 2008

Deep dive into InfoPath

I am on new and thrilling territories right now, not really sure what I am doing but it's getting clearer and clearer... My mission is to place a button in an InfoPath form, with code behind that transforms the xml file into a PDF file and then inserts itself into a mail and of course - sends the mail :) Easy I thought, someone must have done that before. Googled it, found one article. And I have tried to follow it, but since I am not a developer there were some "issues" that needed to be understood first. Finally I have produced some code thanks to VS, VSTA, Notepad (i love Notepad btw :)), and some hacking into web.config and other shit. So now, wow, tried to execute my code and - nothing happens. Or, something happens, but it just seems to reload or tries to run the code but no PDF is created. So I think I have to make sure that the dll files are listed in web.config and that my itext-dll is registered. To be continued, the whole code will be published here if I ever make it :) I really miss my dev pro's at work now....

Wednesday, November 5, 2008

Use a domain account on MSSQLSERVER

We had some trouble running the full backup (both from CA and stsadm), we got error messages in CA that said "Error: Object SharePoint_Config failed in event OnBackup. For more information, see the error log located in the backup directory. SqlException: Cannot open backup device..." and in EventViewer it complained that we used a Bad username or password. Started to investigate that the app pools ran with the right userid = ok, services on the sharepoint server = ok, user account that initiated the backup = ok, network share had correct permissions and that it actually was a share = ok, the app pool account/service accounts/backup account had right permissions on the SQL server = ok, and then I thought everything was checked. But not. Turns out that the MSSQLSERVER service on the SQL server was running on a local account and that account tries to access the file share where you want your backup files and that share is of course not on the same machine so - access denied for that local account! It's all so clear when you find the error, isn't it? :) So, we changed the MSSQLSERVER to a domain account which has all rights to the network share and the databases, and now our backup is up and running!