Archive for the 'MSP' Category

SQL Server Reporting Services 2008 Tutorial in 5 Minutes or "How to send my boss a report from a view quickly"

Some facts:

  • SQL Server Reporting Services were great in the past. SSRS 2008 are better.
  • MSDN is great. MSDN has lots of details. Sometimes it’s too much if you are under pressure.
  • Google usually gets me the information I want faster. Especially when I need to get something done quickly.

All in all this post is for those of you that need to learn how to use SQL Server Reporting Services fast or need to solve the above mentioned problem fast, without knowing too much about the details. I read a lot of and like these introductory posts and so now I’m writing another one, here goes.

I assume you have SQL Server Reporting Services already setup (by your grand one-and-only unmissable sys-admins or by yourself, but in the latter case you probably are not the target audience for this) and you have access to the all required tools. Talking about tools, there are three you should know of:

- RSConfigTool - (Start menu > SQL Server 2008 > Configuration > Reporting Services Configuration): What do I need it for: Troubleshooting, Finding Urls, Configuration Report Server. Having problems trying to connect. See Additional Tip #1.

- Report Manager - (http://<yourserver>/reports): What do I need it for: Managing your reports (you won’t actually see anything on a clean install yet)

- Business Intelligence Studio - (Start menu > SQL Server 2008 > SQL Server Business Intelligence Development Studio): What do I need it for: Creating and editing your reports

and of course you will need SQL Server Management Studio for managing the data the report is based upon.

(side note: This tutorial is based on the 2008 version, can’t say how many differences there are between this and the older versions.)

1. Create your views

There are ways to aggregate your data in the report itself, but it’s easier and cleaner to use SQL views to provide the data for the report and use Reporting Services only for the report. So go to SSMS and create your view.

2. Create a new BIDS (Business Intelligence Development Studio) solution based on the “Report Server Project” Template. Add a new report by clicking on the Report node in the Solution Explorer. Next we need to connect to a data source. Give it a name, click edit and connect to your database.

datasource

3. Click next and the Query Designer appears. Here you enter the T-SQL statement for your data. Ideally it’s just a “SELECT * FROM yourView” (or select each column distinctly). You can test it using ‘Run Query’. You can also choose to use data from a stored procedure if you like, just select the appropriate option.

reportdesigner1

4. Design your report. You can add elements to the report surface, by right clicking on the center surface and select them from the insert menu. The most important are Header, Footer and Table. In the Header and Footer you can add Textboxes with text or by right-clicking on them and choosing expressoin you can choose some variable input. For example page number, report name etc. In the table you can drag columns from the “Report Data” (on the left showing the data source you just added). When you are finished, you might have something like this. Click preview to get a glimpse at what your boss might get.

reportdesigner2

reportpreview

5. Now let’s deploy it to the report server. First we must set the report server url. Right-click on the solution in the Solution Explorer and click on Properties. You will see the following dialog. Change the TargetReportFolder value to something you wish and provide the TargetServerURL as http://yourserver/reportserver (not just /report!). Press save. Now right-click on the solution again and select Deploy.

 reportproperties

6. When it finishes open the url http://yourserver/report (not /reportserver!). You will see something like this. Go ahead and click on Test.Reports (or whatever you specified as TargetReportFolder) and then click on your test report. You will be greeted with the web version of your report.

webreport

7. Now your Boss will not want to go the web page to get that report, so let’s look at sending it to him per email automatically. First we need to change the security settings for connecting to the data source. In the report page, click on Properties > Data Sources. Change the “Connect using” to “Credentials stored securely in the report server” and specify an account that has access to the data. Also check “Use as Windows credentials…”.

security

8. Now you can go to Subscriptions. Click on email. Don’t have email as an option? See Additional Tip #2. Enter the recipient information as you wish and select a schedule for the sending. If you press save and encounter an error that ‘SQL Server Agent is not running’ either figure it out yourself what the problem could be or read Additional Tip #3 :). Once you have finished, lean back and let SSRS make your boss happy and in turn make you happy.

So we have seen the absolute basics of report creation. A quick and dirty introduction. This should cover your first encounters with SSRS. Hope it helps someone!

Stop reading here unless you are Troubleshooting…

Additional Tip #1:

I try connecting with SSMS (Management Studio) and it won’t connect. Maybe you renamed the server? Open RSConfigTool, go to Database > Change Database > Choose an existing report server database. Just choose the existing one, and let it run through it’s config. That should repair everything and you should be able to connect using SSMS again.

Additional Tip #2:

You don’t have email in the options for delivery in the subscriptions dialog? Probably it’s not configured. Thankfully that is very easy. You start the RSConfigTool. Connect and go to the Email tab. There you just specify a sender address and the SMTP server you would like to use. Click apply and voila. The server will automatically restart and the now the email option appears.

Additional Tip #3:

Saving the subscription results in an error message saying SQL Server Agent is not running. This is a DB or sysadmin issue, but just fire up SQL Server Configuration Manager (in the Start Menu under SQL Server 2008 > Configuration) then click on SQL Server Services, right-click on the SQL Server Agent > Properties. Go to the service tab, change Start Mode to Automatic and press OK. On the next reboot it will start automatically, but you still need to start it once for now. Right-click on the ‘SQL Server Agent’ and press Start.

The Hattrick begins or The Imagine Cup 2008 Worldwide Finals

It’s been quiet for a while due to my participation in the Imagine Cup (again). Not only have I participated in each Imagine Cup since the start:

    - 2008: BioMatch - www.biomatch.at (I’ll report some more on that of course later…)
    - 2007: Kalie - Decision making system to support students during studying.
    - 2006: MyCaps - e-Sports Framework with real-life movement integration for a healthier life
    - 2005: Gecco - Global Emergency Clinic Coordination - Fast automatic help for people requiring constant medical monitoring to break their boundaries.
    - 2004: NoName - This was the worst year by far because we had not realized there was a theme, but we still took part but did not get very far.
    - 2003: SAMANTA - System for Astute Management of Time-aware Archictectures - The beginning of it all and we had an intelligent organisation system for trade fares. (2nd place locals)

but it is also my third time at the WORLD FINALS (2005: Yokohama, Japan; 2006: Delhi/Agra, India; 2008: Paris, France). I have heard that there is a polish short film team, that I met the years before (but not this time) that have also been here three times. So I wonder if I have to participate again next year to make the record official (on the otherhand I think there may actually be some guys in the IT challenge that been here more often…).

Anyway if you are interested in why I take on this challenge every year take a look at an interview I gave to the Danish Academic Relations Manager Martin Esmann over on his blog: http://blogs.msdn.com/mesmann/archive/2008/07/04/imagine-cup-2008-torsdag-dag-1.aspx

That’s all for now, pictures will follow this evening. We have to rehearse the presentation once more. Just under 3 hours to go until round 1. Wish us luck!

Academic on Tour: Community Launch 2008

I’m quite busy at the moment with the Academic Community Launch, so I’ll leave the talking to Christian, who has posted some information about why I’ve seen most of Austria’s big cities within the last week.

Info and Pictures of the ACL 2008

Microsoft Student Partner EMEA Summit 2007

What is a Microsoft Student Partner? What do they do? Why do they do it? What do they get out of it? And how do I become one?

Some of you may know I’m an MSP fIMG_1807or the universities in Vienna. I’ll be blogging about some increased MSP activity that’s coming up for Austria soon, but this post is going in a different direction. I want to use this post about the TechEd EMEA summit for MSPs to also talk a bit about what we are. I’ll start by answering the questions above in reverse order.

How…

IMG_1809can I participate? The Microsoft Student Partner program has been implemented in 65 countries and a further 35 are starting soon. That means there is a good chance that you can participate in your local program. Usually the person to ask about it is your Academic Relations Manager at Microsoft. Try finding someone from your local academic team - anyone really - and just ask for the right person. They’ll be more than happy to help usually and will help you make your first step in the right direction. and once you’ve done that you have your foot in the door.

The program itself is implemented differently in different countries, some countries interview you like an employee and other’s will just take a look at your community work and award you an MSP for doing that.

Who…

is a good MSP? Well as usual “it depends”. But there are things that MSPs have in common all over the world. It’s their passion for:

1. Technology

IMG_1811You don’t have to be the world’s best coder, you don’t have to speak in 0s and 1s, you don’t even have to study computer science. You need to have that special something that makes you want to look behind the technology. It makes you the guy or girl everyone asks for tech information or you simply have the will to continuously keep up-to-date on everything that’s new in the industry.

2. Communities

On of the goals of the program is to reach out into the community and spread IMG_1823the word. Share your passion with others. Think about it like passing on the Olympic torch, it’s not the fire that matters, it’s the feeling you pass on that makes it something special. If you love sharing and telling people about interesting things, then use your passion and brush up your skills by engaging in community activities such as user groups, student workshops…

3. To think that one step further than the rest

You are committing to activities and tasks and seeing no paycheck in return. But you wouldn’t even think of asking for one, because your return on your investment is so much more in the long term and you know that.

What…

do we do? And again “it depends”. Usually some kind of community work is involved. A lot of MSPs run user groups, do presentations and workshops for their peers, participate or mentor for the Microsoft Imagine Cup… The limit is basically your imagination. You can’t do anything wrong. It’s a great chance to test out your skills, form your personality and basically do a lot of self marketing.

Depending on where you are, your integration into your local Microsoft ecosystem may be different. You could have a two level hierarchy where MSPs are self-organized through Senior MSPs, but usually the hierarchy comes together at the ADE - the academic developer evangelist or academic relations manager (again depending on your location). He is your primary link to Microsoft, he’ll help you where he can. But with time you’ll build IMG_1824up your own network of contacts within the mother ship.

You need to be studying to be a MSP. So once you have graduated, you are finished with the MSP program. After that a lot of MSPs start at Microsoft and most of them continue in the Microsoft community and use the network they’ve built. Currently an alumni program is being developed that will help the MSP process to fade-over into a long-running link between former MSPs and Microsoft.

Why…

…do we do it? The question doesn’t arise when MSPs meet. But it is certainly often asked when you tell outsiders about the program and possibly even try to recruit them. “What’s in it for me?” If you’ve already told them about the program, the possibilities and experiences and they still ask that question. Then - in my opinion - they aren’t the right people for the program anyway.

Take the Tech-Ed as an example. The program makes it possible for me to visit these otherwise (for students) quite unaffordable events and of course you could interpret that as a monetary ROI for my efforts (and each year I think I need to do more next year just to balance my carma out *g*). But it goes much further than that.

IMG_1799You are part of one of the most successful high-tech companies worldwide. The network of contacts in your local subsidiary grows rapidly and can be used for all kinds of opportunities in the future. Do you want to work for Microsoft in your country? Do you think it could help that you know half of the developer and platform team there already? Sure, it would.

The program has been going for some years now and has gained a tremendous reputation within the product groups at Microsoft. They are eager to work with MSPs in all kinds of areas - they know you are the next generation of users and who better to ask than you. Early product development feedback and they actually listen to you!

Maybe you’d like to work for one of the groups in Redmond. How about an internship at Microsoft? Well you’re surely better off applying as an MSP than anyone else. You already have your foot in the company, your recommendation letters from your local subsidiary and a great reputation (otherwise you wouldn’t be an MSP). If you were recruiting - where would you look for new people first? Strangers, or the people who are committed to your technology.

IMG_1847Ok, suppose you’re not heading towards a career at Microsoft, suppose you stop using Microsoft technology the day you leave the program. The by far largest benefit from my point of view is the network of MSPs from all around the world that you can build upon. The industry is all about who you know. Whether you decide to work somewhere else or to work on your own, you can turn friends you make as a student partner into business partners later on. Even while still at university/college you can use your contacts for foreign semesters, international collaboration or just simply for visiting someone in a foreign city (MSPs are everywhere…).

The EMEA summit 2007

Each year a number of MSPs are invited to Tech-Ed to get up-to-date onIMG_1888 what’s new in the Microsoft world. As part of the Tech-Ed there is the MSP summit where we get to hear about what’s new in the program, get really close to those involved in the worldwide program and to Tech-Ed speakers and it’s followed by a networking event. This year we went bowling.

During the first part of the summit Rob Miles - yes, THE Rob Miles. Gosh I’d like to be like him :) that joke never wears off - came by to talk a bit about how he became an MVP. A lot of MSPs become MVPs (and some even already are). Next up was Karen Young who is the Group Regional Manager for EMEA and APAC for the MVP program. (Just my point from above, when do you get to meet people like this other than as an MSP?). She was followed by Holly Peterson who designs recruitment programs for the development centers in Europe and Israel for Microsoft. Now you can’t get any closer to an internship or job than that, can you? By the way, it’s a common mistake that the only development jobs are in Redmond. There are a number of development centers in Europe as well, such as in Ireland.

IMG_1800

A number of top notch Tech-Ed speakers then joined us for a Q&A panel and they all bravely answered our questions.

IMG_1822IMG_1821IMG_1828

But then it was time to head over to the Bowling center. Some MSPs like to do IMG_1866things around Tech-Ed as kind of a thank-you. If you haven’t noticed yet, I like to blog about it. My colleague from Austria Christian and Will Perry an MSP from England (and former intern in Redmond) are recording interviews for Channel 8. They were running around chasing the top speakers here at Tech-Ed to interview them on all kinds of topics. Of course they couldn’t resist the opportunity at the bowling event to grab whoever was standing around and ask questions.

IMG_1877One question you may have asked yourself about the MSP program is: What is the gender ratio? Well, sadly, it’s similar to the industry we operate in. But nevertheless there are a number of great female student partners (we are very proud to have on in the Austria team - a quick shout-out to Corina who will be attending the IT Pro version of Tech-Ed next week and is missing out on lot’s of MSP fun). You might call it a homage to the Channel 9 series “Women in IT” but Christian and Will managed to get three of our wonderful ladies for an interview. From left to right: Diana Tataran (Rumania), Susana Vilaca (Portugal), Christian Liensberger and Kateryna Drobotko from Ukraine.

IMG_1911IMG_1892

(A little bit of cross-marketing: check-out these beautiful young women over at Channel 8 - if their interview is not online yet, check out the other content and come back later. - I must put some of the things I learned in those marketing classes to good use.)

They also interviewed Holly but the taping turned more into an interesting equal dialog between Holly and Eric with him talking about his internship and Holly talking about the process of becoming an intern.

Karen joined Christian, me and some others for a last bowling game. You can guess who won by looking at the pictures.

IMG_1914IMG_1912

Summary

The MSP program is a great opportunity for students to become connected to Microsoft. Both partners thrive from that relationship and the experiences you make as an MSP are amazing. If you’re interested in becoming one, contact your local Microsoft Academic team, if you’re interested in knowing more about it, post a comment or ask your local MSP if you have one.

Go MSPs go! We rock! Some more photos here.

Good night.

Technorati Tags: , , , , , ,

Tech-Ed Day 2

I’m really exited about Microsoft Sync Framework. The introductory session this morning, gave a good overview and talked a bit about where they were PS_CO_IMG_1767heading. There’s an update on the versions that are available. Visual Studio 2008 will sync with Sync RTM, but that doesn’t include all the providers. If I understood right it will ship with the runtime for Vista, XP and three providers. The FileSync, ADO.net and SSE (Simple Sharing Extensions) Provider. They are  working on a CTP for the mobile runtime and further providers.

PS_CO_IMG_1775“Why software sucks” was the title of the lunch session. David Platt was born  to present and had the audience rofl’ing. But the message beneath it all was that when we build software we are actually building it without the real user in mind. A lot of examples of software that was engineered to be used by engineers without thinking what the user actually want. Read more about what’s wrong with our software at his blog.

In the afternoon the most exiting session was “Software Licensing and Protecting Service”. Thomas Lindemann is the Head of Marketing for the product and the presentation was tailored for a business audience. But it was interesting to see that Microsoft has licensing services available and it’s a topic I’m going to check out at the Ask the Experts booth. Personally if the services are designed with “we only earn something if you earn something” in mind, making them usable for shareware developers then this is a great new product (it was released in the US about a month ago, and V2 is planned for summer next year).

The rest of the afternoon was spent on our Tech-Ed Microsoft Student Partner meeting, which I’ll blog about later, so I didn’t get a chance to ask some in-depth questions about Sync and SLP at the Ask-the-experts booth, but I’ll do that tomorrow and keep you posted.

Microsoft Sync Framework

As stated earlier one of the announcements in this year’s TechEd Europe keynote was the release of Microsoft Sync Framework. It’s

a comprehensive synchronization platform that enables collaboration and offline scenarios for applications, services and devices

(from “Using the Microsoft Sync Framework File Sync Services” - PDF available on MSDN)

Sounds great, but let’s have a look at in in detail. The framework itself provides a set of interfaces and methods for you to write your own implementations of replication providers. But the real strength lies in the providers that are available from Microsoft.

The first is the FileSync Provider. It allows a number of scenarios to sync changes between two file systems. It has a set of conflict handling, filtering mechanisms, preview state (what data would be synchronized) and extensive error handling. Scenarios such as offline folders, syncing USB drivers or simple two-way backups become very easy with this provider.

The second provider is probably the one you are likely to use most in a enterprise context. There is a cost when using this so-called ADO.net provider, which is that you must modify your database to incorporate versioning, client change auditing and so-called tombstone tables (deleted rows are stored here). The good news is I read somewhere (sorry for the missing source) that there are scripts or tools that will do that for you automatically. Once that’s done you can run a local and server copy of the database and run synchronization between them at very low cost of implementation.

I’m looking forward to taking a deeper look at what’s possible under the hood. Especially what changes between CTP1 and the announced release.

Dowlnoad SDK, Download Introduction to Sync Framework

Technorati Tags:

Tech-Ed Day 1

Ok, how do I sum up Day 1. After the keynote there were only a two session slots to fill. I visited “What’s Next for the .NET Framework and Distributed Applications”, which was a nice round up of things to come in the BizTalk area. The most interesting keyword here was Biztalk Services (see http://labs.biztalk.net/). I had the chance to dip into a bit of BizTalk back in 2000 as part of a Compaq Early Adopter program but haven’t gone any deeper or refreshed my knowledge since then - basically because I haven’t had to. But BizTalk Services sparked my interest again. There’s a good blog post here and I’ll just quote a bit.

BizTalk Services are a first step to implementing what Microsoft calls an Internet Service Bus (ISB) in order to support SaaS (Software as a Service) and S+S (Software and Services) models.   The fabric of the ISB is built on Windows Communication Foundation (WCF).   WCF, itself, is a platform-level messaging framework, and part of the .NET Framework.   It is not a product, and is not really a service bus, but it is a (very rich and flexible) foundation on which service buses can be built.   ISB is a service bus built on that foundation.   Interestingly, the main functionality for the ISB provided by the BizTalk Services SDK is packaged in an assembly called System.ServiceBus.dll, which makes it sound like a future extension to the.NET framework libraries.

The second session was about DinnerNow.net. A nice demo showing off all the current Microsoft technologies. Check it out here.

I’ll leave with you some visual impressions…

IMG_1725 IMG_1715IMG_1714

Technorati Tags:

TechEd 2007 EMEA - Keynote

 

The industrial smell of aerosol spray tastefully underlined with hints of drumIMG_1759 and bass beats mixed together by Spain’s hottest upcoming DJ. What a way to start a TechEd Keynote. The auditorium is packed, the wireless lan rendered useless as a result and everyone is eagerly awaiting the beginning of what is surely to be a great conference, if not the greatest conference of the year? Yes, this is Alex Duggleby, your Microsoft Student Partner live from Barcelona (more or less) keeping you up-to-date about devtopia. Enough of my cumbersome attempts of becoming a crackerjack reporter.

The first part of the keynote was held by Microsoft’s Corporate VP of the Developer Division Soma Somasegar. I personally have a hard time calculating the return on my investment when spending time at keynotes. They all seem to follow a similar schema. First there is general talk about products, the usual IMG_1735number bashing and how great we are. If this part is done well, then its bearable and you head on to part 2, which in Microsoft term’s always follows corporate guidelines (as I have heard). You must include a -make it look improvised- dialog part between the main presenter and someone standing next to him. And then the obligatory video. I must say the video had no relevant content at all, but was very amusing to watch. Others didn’t think that at all, like my ex-colleagues Axel Heer and Andrej Salnik who are attending as well.

Once you have sat through these two parts, one of two things can happen. They either announce something really new and great or they don’t. The latter is always a disappointment, but Somasegar chose an interesting alternative route. He introduced two great things, talked about them for about 20 seconds and then continued with marketing material for Visual Studio 2008 (which by the way was announced to be available in November 2008, but the business launch will be in February next year). I personally have seen all the new features (mind you I haven’t gotten round to using them all yet) and I don’t really like the “I’ll show you lot’s of features and Ill be really quick” kind of presentation, but ok I was going to write this post during the keynote because there wasn’t anything too interesting left to listen to.

A little exception was the Visual Studio IDE usage for a Warcraft plug-in which was entertaining. But to my surprise I looked at what was really behind theIMG_1745 Microsoft Sync Framework that was mentioned and described as “Offline capability for your apps”. I thought it might be a new version of the Offline Application Block that some of you might now, but it goes far further than that. So far even that I’ll make it a seperate post. The second announcement they made was the availability of “Software + Services Blueprints”. Check it out here.

To sum up. It was a typical Microsoft keynote. The news was downplayed a bit and it probably wasn’t worth sitting in there for 1,5 hours, so if you missed it, download the slides or read my next blog post. 


Subscribe / Search

Imagine Cup 2009 - Egypt
msplogo_small.jpg
mcprgb.png

 

July 2008
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
28293031  

Blog Stats

  • 10,824 hits