Welcome to Spipp.net server Sign in | Join | Help

Kaisa's blog

On Reporting Services, Sharepoint, dotText and Larp
  • Only 51% geek?

    I found this test over at a Martin Bekkelund, a former collegue's, blog (all in Norwegian).

    How geek am I?

    51% Geek

    Martin is only 43% geek. I'm not sure if it's a good or bad thing to have a higher score than him, but I feel pretty confident the test is true enough.

    posted 25-07-2008 11:32 by kaisa | (Comments Off)
    Filed Under:
  • How to import DTS packages from a txt file

    Recently I got a text file from a customer. They'd exported all the DTS packages to this file, and told me I just had to create a new DTS package to import them all into the SysDtsPackages table in SQL Server 2000. I'd never done that before, and had to find out how. This doesn't seem to be discussed a lot on the Internet, or I might have used the wrong words while searching.

    In the end I found this very clear guide written by Darren Green, "Transferring DTS Packages":

    http://www.sqldts.com/204.aspx

    I did it slightly differently. I created a copy of the SYSDTSPackages table in the MSDB database, and used the Import / Export wizard to populate this new table from my text file. Then I created the package with a Source and Destination connection, did the "Disconnected edit" and imported it all. The only difference was thatI updated the SourceObjectName to be the name of my copy table. Brilliant! It worked like a charm!

    After having looked through all the DTS packages, I must say that I'm a lot more happy working with SSIS...

    posted 06-05-2008 03:51 by kaisa | (Comments Off)
    Filed Under:
  • Non technical update

    My blogging has been embarassingly sporadic. The second half of 2007 was crazy, I spent a lot of time working on a fairly big BI project as well as trying to pass Microsoft exam 70-445 (TS: Microsoft SQL Server 2005 Business Intelligence – Implementation and Maintenance). I also went on a 2 day training course on MEC, Microsoft Enterprise Cube. I've implemented PerformancePoint Monitoring Server a couple of times, even enabled it for Kerberos authentication. (Should write a post on that.)

    But the biggest stress factor, as well as happiness factor, the last half year was to sell our old flat and buy a new and bigger one! Even though the estate market isn't as problematic as in the USA, we decided to sell first and buy afterwards. Our flat was on the market for about 2 months, which felt like forever... But in the beginning of December we sold it, just a bit under the asking price. The first weekend in January 2008 we went to see 10 appartments on sale and bought the first we visited... It sits on the ground floor, has 1 more room than our old one and a better floor plan. AND it has a terrace and a garage.

    As soon as we'd signed the papers, we started furniture shopping. We wanted to throw out our sofa and lounge chairs and get a new bed and a fridge. New bed was easy, I wanted a Tempur bed. We visited a show room where we could try different Tempur beds and Bernt agreed that this was the way to go.

    Then there was the fridge. We were kind of looking for a side-by-side fridge, but knew that the freezer part of these fridges might be a bit small. We found a really smart one from LG, with double (French) doors on the upper section and a freezer drawer in the bottom. Our fridge isn't as full as this picture. Yet.

    When we'd settled for a bed and a fridge, we started looking for a sofa. I'd visited a rather nice and swanky furniture shop a few months earlier, and brought Bernt around to see if there were any sofas we liked there. Off course there was. We found a really nice Rolf Benz sofa. None of us have that much knowledge of fancy furniture brands, but this seems to be more like an Audi than a Volkswagen. After some though and visiting other furniture shops without finding any other sofas that we liked, we decided to go for the Rolf Benz Dono. Ours is dark brown with walnut railing and the right leg is longer and has one more pillow. It's awsome! Because our whole flat has white painted walls, it doesn't look too dark.

     

    But the BEST part of moving house, was a coincidence that happened last week. A friend of our's sister has a really old cat, and she needed to give it a new home. And miracle over miracles, Bernt decided that we could take him in. I've wanted a cat since before we started dating, but he hasn't been too keen on the idea. I came home from a visit to my grandparents, and there Bernt was on the new sofa with an old cat in his lap. This cat is around 20 years old, has about 4 teeth, has blue eyes and mostly white fur (bit gray on top of his head and end of tail) and is very, very talkative! And cuddly. And shedding fur like mad. And I'm really fond of him. :) He loves being outside and to cuddle, or cuddle outside.

    More pictures of The Cat will be posted at http://blogs.spipp.net/photos/kaisa/category1024.aspx

    posted 04-05-2008 10:09 by kaisa | (Comments Off)
    Filed Under:
  • New Year, New Oppertunities

    So, the new year is here. The last year has been very interesting, with joining Avanade Norway the most important thing work wise, and our trip to Japan as the most important personally. Right before Christmas break, we sold our appartment, so 2008 will see us moving into a new place.

    These are the technologies and programs I'll try focusing on in 2008:

    • SQL Server 2008
    • MEC
    • Getting a better grip on the whole BI project business

    On a more personal side, I'll try to up my interior decorating skills and learn to cook more decent and quick every-day food... (Somehow, pasta, pizza and hot dogs doesn't seem to be very healthy in the long run.)

  • I've started liking the language tool bar

    For the next 2 days, I'm attending a training course at Microsoft UK (Chertsey office). Off course, all their keyboards are with English key setup, which lacks 3 letters (æøå), and also has the different symbols in very weird positions compared to a Norwegian keyboard setup. But hey, as long as you're using Windows, you can change your language settings fairly easily to your own keyboard setup. So now I have all 29 letters, and the symbols like ( )'- are in the "right" place. Smile 

    Now, as long as I don't look at the keyboard while typing, I'm good to go.

  • The Official Roald Dahl Day (and Google has a Roald Dahl logo)

    One of my favourite writers, Roald Dahl, was born in Wales on September 13, 1916. His parents were Norwegian, but he never lived in Norway. He did come here on vacation, though.

    Even though he is one of my favourites, I didn't really know that it was his birthday today. Neither did I know that there are lots of events in memory of him today. There's even a web site for celebrating the Roald Dahl day: http://www.roalddahlday.info. And Google celebrates this day by having a Google logo with elements from his books:

    I'm not sure what the G part is, but I think it might be Matilda. The second O is a peach, and the L is a Wonka Bar with golden ticket.

    He's mostly know for his childrens books, but he's also written lots of short stories for adults and two autobiographies. The short stories are rather dark and nasty. The childrens books are funny, witty, dark and nasty as well.

    The first book I read (or rather that my mum read to me) was "The Witches". This was made into a movie in 1990, starring Anjelica Huston as the main witch. I hate that movie. It's actually very good up to the last 5 minutes, when it gets destroyed by making it a "happy ending". The movies I like the most are "Charlie and the Chocolate Factory", "Matilda", "Danny the Champion of the World". I'm really looking forward to the adaptation of "The Fantastic Mr. Fox", in which George Clooney and Cate Blanchett will lend their voices to Mr. and Mrs. Fox.

    Lots of information about Roald Dahl can be found at http://www.roalddahl.com/!

    posted 13-09-2007 03:13 by kaisa | (Comments Off)
    Filed Under:
  • Testing cross-posting to AvanadeAdvisor blog

    One of the first things I did starting at Avanade, was to create a blog there. It's at http://blog.avanadeadvisor.com/blogs/kaisal/default.aspx

    But for some silly reason, I can't get the cross posting to work. Avanade is running the same edition of Community Server as I do. Other Avanauts have gotten it to work. But me? Nah. I can cross post from my Avanade-blog to my spipp.net blog, but not the other way. Weird. Sad

    Update: The mystery is solved. I started checking the error logs in Community Server. Turns out that our ISA server is blocking all outgoing traffic. Off course I knew that, but I didn't remember it when I started setting up cross posting. So that means no cross posting, no track backs and no ping backs. Well, I won't end up spamming anything then. Wink

  • Cascading report parameters in OLAP reports

    One of the biggest problems I've been having with upgrading my mad reporting skills from RS 2000 to RS 2005 has been with cascading parameters in OLAP reports. WIth the new and "user friendly" connection method to Analysis Services, I couldn't use my old tricks with dynamic queries for parameters. And I never found a usefull description on how to actually do it in RS 2005. A few weeks ago, I was forced to figure it out. And in an enlightened moment, it dawned on me what to try, and I finally figured it out. Yey. So now I'm posting this for ... well... maybe someone needs it, or at least I know where to find it if I forget.

     

    I created a stored procedure that returns three columns, and used it in a data set called MarketBrandsFromDB:

    MarketBrandUniqueName

    MarketBrandName

    MarketBrandID

     

    The MarketBrandUniqueName was formated to look like a cube member: [Market Brand].[Market Brand Name].&[Brand 1].

    My first query created a result with all the members in one line. This stored procedure just returns a list of members, like a regular dataset.

     

    Then I added the Market Brand dimension and Market Brand Hierarchy as a filter for the OLAP query, and marked it as a parameter. Then I went to the layout tab to make the Report Designer do its' magic and create both a parameter and a dataset, both called MarketBrandMarketBrandName. (Quite a mouthfull, one of the other guys wondered if I'd done a typo. Guess that's what user friendlyness does...)

     

    So now I had a report parameter that refers to this data set that is just pulled directly from the cube, which isn't what I want. I wanted it to correspond to what's in the database. It turns out that the trick was to map the parameter called MarketBrandMarketBrandName to the dataset called MarketBrandsFromDB, and not the data set called MarketBrandMarketBrandName. I mapped the value field to MarketBrandUniqueName and the Label field to MarketBrandName. I used the same fields for the default values.

     

    And there you have it. The report picks up my username, queries the sql database for which market brands I have access to, and gives me a choice of only those market brands, just as I wanted. It's all done using the GUI, so I don't have to make the other guys mess around in either mdx or the rdl file directly, which is also a good thing.

     

    I think I couldn't find any documentation on how to do it because it's actually quite simple when you know how, so people don't bother documenting it. Or maybe it's in the documentation, I just didn't know what to look for.

     

    My only question now is if it's safe to delete the dataset that was created for the MarketBrandMarketBrandName parameter?

  • I'm 79% Optimus Prime

    I found a link to the "Which Transformer Are You Quiz" at fellow AvaNaut Bryant Likes' blog.


    I AM
    79%
    OPTIMUS PRIME
    Take the Transformers Quiz

    That's pretty cool!

    And for those who don't know who this Optimus guy is, here's the description from Funflip:

    Optimus Prime is the heroic leader of the Autobots. He is the personification of courage, strength, and integrity. His personal motto is that “Freedom is the right of all sentient beings.”

    Like Optimus Prime, you are good by nature. But beware because mischievous thoughts sometimes tempt you. You are inspiring, confident, and a natural leader. The Autobots have chosen well. In addition, you enjoy being one step ahead of your friends as far as trends and technology.

    posted 17-08-2007 09:05 by kaisa | (Comments Off)
    Filed Under:
  • Running Starter Kits without SQL Express

    Today I've been trying out one of the Starter Kits that can be used with Visual Studio 2005. I'm using the Club Web Site Starter Kit. This starter kit expects to run with SQL Express. I don't have SQL Express on my computer, as I run SQL Server 2005. I don't work so much on developing applications that use SQL Express anyway, so I didn't want to install it. But what should I do? The app would not compile without a database.

    After searching for a bit, I found a blog post called "ASP.NET 2.0 and the Provider Model, without SQL Express" by Bil Simser. It's a very detailed description on how to change the connections strings to make the application accept a database in SQL Server and not SQL Express, and also what you need to do to the database to be able to use the new AspNetSqlMembershipProvider (run aspnet_regsql.exe).

    I followed Bil Simser's directions and now I'm running the Club Web Site Starter Kit app on my pc. I did have to create the database manually in SQL Server, but the kit contains a sql script file that does all the coding.

    Bil mentions a blog post about the same topic from Scott Guthrie, called "Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005". That post can be found here.

    Also, when the site is up and running, you might want to do some administrative tasks to it. On your dev box, the "ASP.NET Web Site Administration Tool" can be started by clicking on the ASP.NET configuration button in your solution pane menu. If you want to move everything to i.e. a production server, you want to have a different way of accessing that administration site. R. Aaron Zupancic has written a post on "ASP.NET Web Site Administration Tool on a Server", which describes what you need to do when you move your web app. 

  • RS: Ampersand in URL based parameter?

    Yesterday I ran into a small problem with adding parameters in a report's URL. All parameters were based on MDX queries. One parameter was for time, and the parameter usually looks like this "[Time].[YMWD].[Month].&[4]&[2007]". When I did a drillthrough directly with "Jump to report", the parameters were sent without problems, even with MDX syntax. When I did "Jump to URL" and added a javascript, the part with "&[4]&[2007]" stopped the report from rendering.

    Error message:
    The path of the item '/MyReport,[4],[2007]' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath) Get Online Help

    After searching a bit, I found a white paper at TechNet called "Implementing Smart Reports with the Microsoft Business Intelligence Platform" by Teo Lachev. The article looked promising until I got to the part about "Implementing Drillthrough Navigation":

    "Initially, I was planning to demonstrate the Jump to URL option which gives more flexibility to construct the URL link. For example, assuming that you have an embedded function that sets the reportLink variable to contain the URL address of the Daily Product Sales report, the following URL navigation action would open the report in a new window and resize the window.

    "javascript:void(window.open('" & reportLink & "','_blank',
     'location=no,toolbar=no,left=100,top=100,height=600,width=800'))"

    The problem with URL navigation and OLAP reports is that the parameter values would typically contain ampersand (&), e.g. "[Dato].[Time Index].&[200312]". This presents an issue with the URL addressability option because the Report Server interprets & as a query parameter placeholder.

    Even escaping the parameter value (JavaScript escape function or using %26 for &) doesn’t help because Internet Explorer automatically unescapes the value. If someone discovers a workaround for using special characters and URL addressability, please let me know."

    Fortunately, Nilesh Unadkat here at Avanade was better at figuring out what to search for than me, and pointed me to this discussion:

    http://prologika.com/CS/forums/p/370/1564.aspx

    In order to make ampersands (&) work in a URL when used with a javascript, regardless of Reporting Services or MDX, you need to escape it and force it to use &. You do this by replacing the original & with %2526.

    Geoff, the guy who posted the solution explains it like this:

    Yes the %26 does work for Url addresses in the Jump to URL. %26 goes to & after the parameters are parsed. You need %2526 if you put a javascript routine in the Jump to URL because it gets processed by the browser twice. %2526 goes to %26 goes to &.

    So, in order to use Jump to URL when you need to have &s in your URL, you need to do something like this:

    ="javascript:void(window.open('" & Globals!ReportServerUrl & "/?%MyReport&MyMDXDate=" & replace(Parameters!MyDate.Value, "&", "%2526") & "&rs:Format=PDF'))"

    (Teo's example says Date instead of Dato, but Community Server would not let me save it when I used Date. Not quite sure why, though. If you don't want to have it in PDF format, just remove "&rs:Format=PDF".)

    (The discussion was found on Teo Lachev's forum, so, the last comment about letting him know about any workarounds has been fullfilled. He's even written a post about it: Ampersands Gone Wild. )

  • New job, new PC, new applications

    Avanade logo

    On Friday June 1, I join Bernt at Avanade Norway. Yey! I applied for a job there after having met lots of nice Avanade people in Seattle. Before that I'd met some nice Avanade people in Sydney and Canberra, and after accepting I've met nice Avanade people in Tokyo as well. My current boss wondered if Bernt has dragged me all around the world in an elaborate recruitment scheme. If he has, it has worked! Big Smile My role is System Analyst, and I'll mostly work with Business Intelligence. (Mostly, but I think I'll be working with SharePoint as well in periods.)

    Dell Latitude D820

    I've already been given a new computer. Last night I installed Vista and classic applications like Microsoft Office, and today I've added Visual Studio. Then there was time for usefull applications. The new computer is a Dell Latitude D820. So far I'm happy with it. It has a wide screen, and the battery last at least double the time compared to my current computer.

    I downloaded the last version of FeedReader (3.09). I'm running a previous version on my current job laptop, and was pleasantly supprised that they've made a new reading option. In the last version there's now an option that looks like the setup in Outlook: Folders and feeds on the left, a list of titles in the middle and a single post in the right pane. Yey!

    Paint.net logo

    I also wanted a free image editor. I've been using Paint.NET for half a year. I think it's ok, at least for my use, which is to fix screenshots and making small images. I wouldn't use it for "proper" photo editing, as I think it uses too much CPU with big images. I've noticed that when I edit big pictues, Paint.NET just grabs all the CPU it can have and then some. So I started looking for a different image editor.

    I found Gimp and ImageForge while looking. I've tried Gimp before, and didn't like it at all. So I downloaded ImageForge and installed it. The installation was pretty quirky, kind of what was common in Windows 98. That's not really a good sign. When I opened it up, it couldn't display a gif with transparency properly. I promptly uninstalled it, downloaded Paint.NET 3.07 and installed that instead. I'll take CPU hogging over silly layout any day.

  • Two displays become one - and some applications can't cope...

    I've been using an application called Feedreader to ... well ... read rss feeds for a few months now, and I'm still quite happy with it. Sometimes it seems to have deleted the "read log", so it displays things I've marked as read as unread, but I think that might be due to a problem with my profile.

    What has been annoying me though, is the fact that this application can't cope with my switching from two displays to one. At work I have an external display, which I use as a secondary display. I don't always remember to change my display settings from two to one displays before shutting my laptop down. Most applications will start up in the primary display when there's only one display available. But not Feedreader. This one will start up and display the application window at whatever coordinates it had when I closed it down.

    I complained about this to Bernt, and being the techie that he is, he suggested I find the feedreader.ini file to change the coordinates. Now, finding this ini file wasn't too easy, but in the end I found it at C:\Users\myusername\AppData\Roaming\Feedreader\feedreader.ini. I changed the parameters for left and top from 1320 and 20 to 200 and 200 and startet Feedreader. And there it was, at 200 pixels from the top and from the left edge of my screen. Yey. Nice to know. (Yeah, not rocket science, but I post it to remember it later.)

  • Rock on! Guitar Hero II

    A few days ago Bernt brought home a guitar. A sweet, white, plastic guitar, with 5 colourfull buttons... He's been looking for Guitar Hero II for a few weeks, but hadn't found it before this week.

    So we started playing. We have a slightly different approach and style. I played guitar on and off a few years, and other instruments before and after that. Bernt had guitar lessons in junior high school, but only for a year. I expected to be better than him, but it seems that we're pretty equal. (Unfortunately for Bernt, he's travelling to Seattle this week, leaving the guitaring to my. )

    Actually, the first level was easy, with only 3 different notes. I tried one song from the next level long before I should, and was a bit scared. But after finishing the Easy level, doing one of the Medium songs wasn't that scary any more.

    Great game. My hands are going to hurt so much...

  • More from Japan

    We returned from Japan last night. Even though our vacation there has been wonderfull, it was quite nice to come back home to our own bed.

    We arrived in Tokyo on April 4 and headed straight for our hotel, The B Akasaka. KazueWe met up with Kazue, a friend of Henrik's at the hotel. Kazue has lived in Norway for a few years, and trained Kung-fu with Henrik. She whisked im off to the K1 tournament in Yokohama, so Bernt and I had the night for ourselves. The hotel is quite cool, but the rooms were very small. If there'd been somewhere to unpack our luggage it would have felt less small, but it worked out OK. Our biggest problem was the heat. On the first day, we turned on the air condition to 20 C, and went out to eat. When we came back a few hours later, it was 30 C in this little room! Turned out the heating was still on, but not the cooling system. Fortunately we could open the window, but sleeping in a room with 27C wasn't too fun.

    Tokyo is off course a more modern city than Kyoto. We spent most of our days shopping and just watching people and buildings. As the weather is a bit warmer in Japan than Norway, the girls were wearing spring clothes. Seems that trench coats, shorts and knee-highs are very hot. At first it was quite surprising and fresh, but after a week it seemed that japanese girls are just going for variations over a few styles. Still, I did get some inspiration for a summer wardrobe.

    AkihabaraDuring our stay in Tokyo, we spent most time in Shibuya and Roppongi. The Center Gai crossing outside Shibuya Station was very busy. It's busy with cars and busy with people, mostly just one of these two. But one day we saw a rather adventurous guy who decided that jay-walking isn't all that dangerous. So when all the other pedestrians stopped walking, he just walked out into the street. By the time he'd got 15 meters from the pavement, the lights turned green for the cars. There are about 4 lines each way, and he was caught between all the cars. He survived, but I guess he might think twice before walking on red again. The Center Gai crossing also gave us a heavy feeling of Blade Runner.

    We also checked out classy Ginza and electric Akihabara. GinzaIn Ginza we found a department store with big signs saying "Scandinavian Fair" on the outside. Off course we had to check it out. At the top floor there were stalls with designs from the different Nordic countries. There were mostly design items from Denmark and Sweden, but we did find some from Finland, Iceland and the Faroe Islands. But where were the Norwegian stuff? In the end we found some Ekornes Stressless chairs in a corner. Bernt says they are very popular, but they are also insanely ugly. I was very depressed for Norwegian design after having found thos chairs.

    Maid cafe posterAt Akihabara there were lots of electronics and gadgets. I'd read about Maid Cafés before I left home, and wanted to go to one. Turnes out there were quite a lot of them in Akihabara. We went to one from the @Home World branch. It was rather weird, but quite innocent. There are probably Maid Cafes that are more fetishy. Bernt and Henrik felt quite uncomfortable, while Kazue and I were not so put off by it. The ice cream was good, and it was an experience. We couldn't take photos inside the café, so I took a photo of Cosplayerstheir audition poster. Later we found a trio of cos players out on the street. One of these wears the uniform that the @Home maids wore. Not quite sure if the others in the photo are wearing uniforms, which is a bit disturbing. Having a man wear a pink maid uniform, blonde wig and ears is plain weird, having a Japanese guy wearing a Nazi uniform, denim skirt and purple hair is weird weird. And very Japanese.

    At the beach in OdaibaOn the last day, Bernt and I went over to Odaiba, which is an artificial island in Tokyo bay. It's a recreational area, with quite a few museums, a few shopping malls, a hotel and a beach. So we spent almost an hour just walking along the beach. It was tranquil and strange. There's also a scaled down version of the Statue of Liberty. We went to two museums there, the Maritime Museum and the National Museum of Emerging Science and Innovation. The Maritime Museum was good. Bernt posingThe best part was the models and pictures of old ships, like the ones Clavell writes about. Unfortunately there were very few signs in English, but we got a pair of audio devices with tapes with descriptions of the items. The most amazing thing was how they'd built it. Some of the pieces in the exhibition were too large to fit through the doors of the museum building, so they'd put them in the right spots first and built the museum around them afterwards.

    AsimoThe National Museum of Emerging Science and Innovation (Miraikan) was brilliant. We only had an hour in there, which wasn't enough at all. We started with the exhibitions called "Innovation and the Future" and "The Earth Environment and Frontiers" and tried making nano figures. Then there was a session with Asimo, Honda's Humanoid Robot. It was great fun watching the little robot run and dance. After Asimo, we went to see the "Life Science" and "The Earth Environment and Frontiers" exchibitions. There was a model of a space ship capsule there, which you could enter. All in all it was a great museum, and I wish we'd had more time there.

    But we needed to hurry back to the main land, as we'd agreed to meet up with Henrik and Kazue at Harajuku. And Harajuku was a feast for the eyes. Most of the people there looked like all the other teenagers we'd seen so far, but there were some who showed what Harajuku was all about. Gothic Lolita seemed to be the biggest trend, but there were all sorts of ecentric styles to be seen.

    Clothing to be bought in Harajuku Harajuku girls Shop sign

    posted 09-04-2007 07:47 by kaisa | (Comments Off)
    Filed Under:
More Posts Next page »
SkinName:iroha_Blog2
Powered by Community Server, by Telligent Systems